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 Java / JMS » java.lang.NoClassDefFoundError ... at com.ibm.mq.MQSESSIONS

Post new topic  Reply to topic
 java.lang.NoClassDefFoundError ... at com.ibm.mq.MQSESSIONS « View previous topic :: View next topic » 
Author Message
smalavia
PostPosted: Tue Jul 18, 2006 6:44 pm    Post subject: java.lang.NoClassDefFoundError ... at com.ibm.mq.MQSESSIONS Reply with quote

Novice

Joined: 16 Jul 2006
Posts: 12

hey peopie....

am a newbie to MQ/JMS. can anyone help me out on the following error. i could not figure out what libs am i missing? many thanks in advance.





Caused by: java.lang.NoClassDefFoundError
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONServer.java:67)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:455)
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManagedConnectionJ11.java:155)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:153)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.createManagedConnection(MQBindingsManagedConnectionFactoryJ11.java:189)
at com.ibm.mq.StoredManagedConnection.<init>(StoredManagedConnection.java:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConnection(MQSimpleConnectionManager.java:171)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager(MQQueueManager.java:737)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager.java:671)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.java:452)
at com.ibm.mq.MQSPIQueueManager.<init>(MQSPIQueueManager.java:52)
at com.ibm.mq.jms.MQConnection.createQM(MQConnection.java:1659)
at com.ibm.mq.jms.MQConnection.createQMNonXA(MQConnection.java:1129)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:170)
at com.ibm.mq.jms.MQQueueConnection.<init>(MQQueueConnection.java:80)
at com.ibm.mq.jms.MQQueueConnectionFactory.createQueueConnection(MQQueueConnectionFactory.java:145)
at com.tibco.plugin.share.jms.impl.SharedConnection.createQueueConnection(SharedConnection.java:144)
at com.tibco.plugin.share.jms.impl.SharedConnection.createConnection(SharedConnection.java:260)
at com.tibco.plugin.share.jms.impl.JMSPluginImplementation.getConnectionKey(JMSPluginImplementation.java:194)
at com.tibco.plugin.share.jms.impl.JMSSender.init(JMSSender.java:77)
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Tue Jul 18, 2006 8:58 pm    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi smalavia,

What jar's have u imported....You should have the following jar's in the java project....if you run from command line,it'll work as the jar's are already in the classpath.

    com.ibm.mqjms.jar
    providerutil.jar


I might have missed one...the fscontext.jar, but i think you have imported that already.

Regards.
Back to top
View user's profile Send private message Send e-mail
mvic
PostPosted: Wed Jul 19, 2006 2:00 am    Post subject: Re: java.lang.NoClassDefFoundError ... at com.ibm.mq.MQSESSI Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

smalavia wrote:
Caused by: java.lang.NoClassDefFoundError

The list of environment variables and jar files required are in the first few pages of the Using Java manual.

Online at http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzaw.doc/csqzaw1417.htm
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » java.lang.NoClassDefFoundError ... at com.ibm.mq.MQSESSIONS
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.