Posted: Tue Jul 18, 2006 6:44 pm Post subject: java.lang.NoClassDefFoundError ... at com.ibm.mq.MQSESSIONS
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)
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.
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