471,316 Members | 1,217 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,316 software developers and data experts.

Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/server/MQSESSION

Can anybody help me on this? I am getting the below error but have not
got a clue why. The file in my classpath eing used has the class that
it says is not defined. Any ideas? I am running java version 1.4.0 and
WMQ Series version 5.3 with CSD04.

Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONS erver.java:67)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:241 )
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManaged ConnectionJ11.java:
148)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._ createManagedConnec
tion(MQBindingsManagedConnectionFactoryJ11.java:13 6)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.c reateManagedConnect
ion(MQBindingsManagedConnectionFactoryJ11.java:154 )
at com.ibm.mq.StoredManagedConnection.<init>(StoredMa nagedConnection.jav
a:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConne ction(MQSimpleConne
ctionManager.java:150)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager (MQQueueManager.jav
a:649)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager .java:598)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.ja va:375)

Thanks to anybody who can help.
Andy
Jul 17 '05 #1
1 8913
an**************@uk.ibm.com (Andy Howells) wrote in message news:<bd**************************@posting.google. com>...
Can anybody help me on this? I am getting the below error but have not
got a clue why. The file in my classpath eing used has the class that
it says is not defined. Any ideas? I am running java version 1.4.0 and
WMQ Series version 5.3 with CSD04.

Exception in thread "main" java.lang.NoClassDefFoundError:
com/ibm/mq/server/MQSESSION
at com.ibm.mq.MQSESSIONServer.getMQSESSION(MQSESSIONS erver.java:67)
at com.ibm.mq.MQSESSION.getSession(MQSESSION.java:241 )
at com.ibm.mq.MQManagedConnectionJ11.<init>(MQManaged ConnectionJ11.java:
148)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11._ createManagedConnec
tion(MQBindingsManagedConnectionFactoryJ11.java:13 6)
at com.ibm.mq.MQBindingsManagedConnectionFactoryJ11.c reateManagedConnect
ion(MQBindingsManagedConnectionFactoryJ11.java:154 )
at com.ibm.mq.StoredManagedConnection.<init>(StoredMa nagedConnection.jav
a:80)
at com.ibm.mq.MQSimpleConnectionManager.allocateConne ction(MQSimpleConne
ctionManager.java:150)
at com.ibm.mq.MQQueueManager.obtainBaseMQQueueManager (MQQueueManager.jav
a:649)
at com.ibm.mq.MQQueueManager.construct(MQQueueManager .java:598)
at com.ibm.mq.MQQueueManager.<init>(MQQueueManager.ja va:375)

Thanks to anybody who can help.
Andy

Classpath for packaged classes can have intricate issues. I recommend
you to read J2SE standard doc /tooldocs/solaris/classpath.html,
especially the last part of the doc.
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by news | last post: by
oll3i
4 posts views Thread by oll3i | last post: by
9 posts views Thread by tiyaramunna | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.