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 » WebSphere configuration for JMS

Post new topic  Reply to topic
 WebSphere configuration for JMS « View previous topic :: View next topic » 
Author Message
Shraddha
PostPosted: Tue Jun 11, 2002 1:08 am    Post subject: WebSphere configuration for JMS Reply with quote

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
View user's profile Send private message Send e-mail
abiram8
PostPosted: Tue Jun 11, 2002 5:07 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shankerbabu
PostPosted: Tue Jun 11, 2002 6:43 am    Post subject: Check the classpath Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Shraddha
PostPosted: Tue Jun 11, 2002 8:55 pm    Post subject: WebSphere configuration for JMS Reply with quote

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

MQSeries.net Forum Index » IBM MQ Java / JMS » WebSphere configuration for JMS
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.