|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
WebSphere configuration for JMS |
« View previous topic :: View next topic » |
Author |
Message
|
Shraddha |
Posted: Tue Jun 11, 2002 1:08 am Post subject: WebSphere configuration for JMS |
|
|
Newbie
Joined: 10 Jun 2002 Posts: 2
|
Hi!
I am using IBM WebSphere V4.0 AES and MQSeries V5.2 for running sample JMS programs. I followed the instructions given in the appropriate docs, and was successful in executing the verification tests. However, when i try to execute the sample program, present in the sample1 directory, provided by MQSeries, i get the following exception :-
com.ibm.ejs.container.UncheckedException: ; nested exception is:
java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQXAQueueConnection
java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQXAQueueConnection
Does anyone have an idea abt where i am going wrong? Any kind of help will be highly appreciated.
Thanks,
Shraddha. |
|
Back to top |
|
 |
abiram8 |
Posted: Tue Jun 11, 2002 5:07 am Post subject: |
|
|
 Master
Joined: 27 Mar 2002 Posts: 207 Location: India
|
Hi,
Please include the All the Jar Files & also Check the Class Path
Can you list me the Jar file you included |
|
Back to top |
|
 |
shankerbabu |
Posted: Tue Jun 11, 2002 6:43 am Post subject: Check the classpath |
|
|
Novice
Joined: 21 Apr 2002 Posts: 12
|
Hi,
Check in your claspath whether you have given com.ibm.mqjms.jar which comes along with the MQSeries support pack 88.
shanker |
|
Back to top |
|
 |
Shraddha |
Posted: Tue Jun 11, 2002 8:55 pm Post subject: WebSphere configuration for JMS |
|
|
Newbie
Joined: 10 Jun 2002 Posts: 2
|
Hi!
I have the following in my classpath :-
%MQ_JAVA_INSTALL_PATH%\lib;
%MQ_JAVA_INSTALL_PATH%\lib\com.ibm.mq.jar;
%MQ_JAVA_INSTALL_PATH%\lib\com.ibm.mqjms.jar;
%MQ_JAVA_INSTALL_PATH%\lib\jms.jar;
%MQ_JAVA_INSTALL_PATH%\lib\fscontext.jar;
%MQ_JAVA_INSTALL_PATH%\lib\providerutil.jar;
%MQ_JAVA_INSTALL_PATH%\lib\connector.jar;
%MQ_JAVA_INSTALL_PATH%\samples\base;
%MQ_JAVA_INSTALL_PATH%\lib\jndi.jar;
%MQ_JAVA_INSTALL_PATH%\lib\jta.jar;
%MQ_JAVA_INSTALL_PATH%\lib\ldap.jar;
%WAS_HOME%\lib\ns.jar;
%WAS_HOME%\installedApps\Deployed_jmsSample1.ear\jmsSample1.jar
I followed all the steps listed in the document :-
http://www-3.ibm.com/software/webservers/appserv/whitepapers/was_mqseries.pdf
It seems that WebSphere has not been properly configured for JMS. On the server side, i get the following exception :-
[02.06.11 17:24:42:254 GMT+05:30] 35f7270d SystemOut U request to put message 'hello'
[02.06.11 17:24:42:264 GMT+05:30] 35f7270d ExceptionUtil X CNTR0020E: Non-application exception occurred while processing met
hod putMessage on bean BeanId(jmsSample1#jmsSample1.jar#jmsSample1, null): java.lang.NoClassDefFoundError: com/ibm/mq/jms/MQX
AQueueConnection
at com.ibm.mq.jms.MQXAQueueConnectionFactory.createXAQueueConnection(MQXAQueueConnectionFactory.java:53)
at com.ibm.ejs.jms.mq.JMSWrapXAQueueConnectionFactory.createQueueConnection(JMSWrapXAQueueConnectionFactory.java:112)
at sample1.Sample1EJB.putMessage(Sample1EJB.java:43)
at sample1.EJSRemoteStatelessSample1.putMessage(EJSRemoteStatelessSample1.java:60)
at sample1._EJSRemoteStatelessSample1_Tie._invoke(_EJSRemoteStatelessSample1_Tie.java:119)
at com.ibm.CORBA.iiop.ExtendedServerDelegate.dispatch(ExtendedServerDelegate.java:506)
at com.ibm.CORBA.iiop.ORB.process(ORB.java:2294)
at com.ibm.CORBA.iiop.OrbWorker.run(OrbWorker.java:185)
at com.ibm.ejs.oa.pool.ThreadPool$PooledWorker.run(ThreadPool.java:95)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)
Cant locate what exactly could be the problem... Any kind of help/info in this regard or pointers to some useful docs will be very useful.
TIA,
Shraddha. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|