ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ API Support » NoClassDefFoundError and MQSESSIONServer.getMQSESSION

Post new topic  Reply to topic
 NoClassDefFoundError and MQSESSIONServer.getMQSESSION « View previous topic :: View next topic » 
Author Message
jimmycallaghan
PostPosted: Mon Oct 02, 2006 9:22 am    Post subject: NoClassDefFoundError and MQSESSIONServer.getMQSESSION Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Mon Oct 02, 2006 8:23 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jimmycallaghan
PostPosted: Wed Oct 04, 2006 12:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Wed Oct 04, 2006 3:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
TopOne
PostPosted: Thu Oct 05, 2006 6:41 pm    Post subject: eye Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » NoClassDefFoundError and MQSESSIONServer.getMQSESSION
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.