Author |
Message
|
jimmycallaghan |
Posted: Mon Oct 02, 2006 9:22 am Post subject: NoClassDefFoundError and MQSESSIONServer.getMQSESSION |
|
|
Newbie
Joined: 02 Oct 2006 Posts: 2
|
I've got an application on JBoss that listens to some MQSeries queues locally, lifts them off and puts them onto matching JBoss queues. These JBoss queues are then monitored by some message driven beans that process the messages. All was once well, however I'm upgrading the JBoss server from 4.0.3 to 4.0.4, and Java5, and in doing so I've managed to loose a jar or two that seem to be required. I'm getting the following in my stack trace when I deploy my application...
... lots more before here ...
18:07:28,464 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null
Caused by: java.lang.NoClassDefFoundError
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:70)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:492)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:168)
... lots more after here ...
If I had the source code I could find out exactly which line is causing the error and which class it's looking for. Does anyone know which jar I'm missing? The MQSeries server has remained unchanged and I can see that it's running when I try a few of our simple tests. |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Oct 02, 2006 8:23 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Looks like you have lost some of the MQ jars on the classpath.
Make sure all the jars mentioned in the "Using Java" manual are on the classpath and are physically there as well...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
jimmycallaghan |
Posted: Wed Oct 04, 2006 12:24 am Post subject: |
|
|
Newbie
Joined: 02 Oct 2006 Posts: 2
|
I think I have everything... I have the following in the classpath...
CL3Export.jar
CL3Nonexport.jar
com.ibm.mq.jar
com.ibm.mq.jms.Nojndi.jar
com.ibm.mq.soap.jar
com.ibm.mqetclient.jar
com.ibm.mqjms.jar
commonservices.jar
connector.jar
dhbcore.jar
fscontext.jar
jms.jar
jndi.jar
jta.jar
ldap.jar
providerutil.jar
rmm.jar
wsdl4j.jar
What am I missing? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Oct 04, 2006 3:24 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You should have all you need... Could it be some problem with the project or the server? _________________ MQ & Broker admin |
|
Back to top |
|
 |
TopOne |
Posted: Thu Oct 05, 2006 6:41 pm Post subject: eye |
|
|
 Newbie
Joined: 02 Oct 2006 Posts: 4 Location: Chile
|
Note: WebSphere MQ < 5.1 not soported multi-threading conections clients
look features for server version. |
|
Back to top |
|
 |
|