[JAVA-230] Getting [02:04:16.158] java.lang.NoClassDefFoundError: com/mongodb/util/ThreadUtil Created: 10/Dec/10 Updated: 04/Dec/13 Resolved: 17/Feb/11 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Blocker - P1 |
| Reporter: | Joseph Wang | Assignee: | Antoine Girbal |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
bash-3.2$ uname -a bash-3.2$ ls mongo |
||
| Description |
|
[02:04:16.158] java.lang.NoClassDefFoundError: com/mongodb/util/ThreadUtil |
| Comments |
| Comment by Antoine Girbal [ 17/Feb/11 ] |
|
thanks Joseph. |
| Comment by Joseph Wang [ 17/Feb/11 ] |
|
Please close it for now. We don't have time to test new sw for other people. |
| Comment by Antoine Girbal [ 17/Feb/11 ] |
|
joseph, is this still occuring or can I close ticket? |
| Comment by Joseph Wang [ 10/Dec/10 ] |
|
The problem java.lang.NoClassDefFoundError exception. [02:04:16.158] java.lang.NoClassDefFoundError: com/mongodb/util/ThreadUtil |
| Comment by Joseph Wang [ 10/Dec/10 ] |
|
The problem is mainly on the client side. We need to change the web server socket limit. |
| Comment by Scott Hernandez (Inactive) [ 10/Dec/10 ] |
|
I'm really confused. What is the problem? Can you start with a new issue (that is clean)? |
| Comment by Jeff Behl [ 10/Dec/10 ] |
|
I'm on the sysadmin side of things with Joseph and wanted to add ulimit settings in case there was a question: [lps-mongodb_prod@lpsdb1.la2 ~]$ ulimit -a core file size (blocks, -c) 0 |
| Comment by Joseph Wang [ 10/Dec/10 ] |
|
change max_connection to 200. Apparently, this is not max connection per pool, but per server. Can someone confirm this? bash-3.2$ netstat -an| grep 4110 | wc -l |
| Comment by Joseph Wang [ 10/Dec/10 ] |
|
Sorry, in the resin startup, we do set to 1.6 java. JAVA_HOME=/usr/java/jdk1.6.0_21 |
| Comment by Joseph Wang [ 10/Dec/10 ] |
|
We've wrong java installed. Please wait till we install correct sw. bash-3.2$ java -version Copyright (C) 2006 Free Software Foundation, Inc. |
| Comment by Joseph Wang [ 10/Dec/10 ] |
|
specified max_connection=500, yet see 872. bash-3.2$ netstat -an | grep 4110 | wc -l public void init(String server_list) { String[] servers = server_list.split(","); try { } catch (Exception ex) { log.fatal( "MongoConnnection: problem with adding server list " + server_list, ex); }} if (serverCount > 0) { catch (Exception ex) { log.fatal("MongoConnnection: problem with creating MongoDB instance for server list " + server_list, ex); m = null; }} else { log.fatal("MongoConnnection: empty server list " + server_list); } } |