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 » Trying to use JMSAdmin for the first time

Post new topic  Reply to topic
 Trying to use JMSAdmin for the first time « View previous topic :: View next topic » 
Author Message
4everfsu
PostPosted: Tue Jul 27, 2010 6:23 am    Post subject: Trying to use JMSAdmin for the first time Reply with quote

Apprentice

Joined: 17 Jan 2008
Posts: 34

Get the following when invoking it. We are running MQ 6.0.2.0
on Aix 5.3.

usr/mqm/java/bin$ ./JMSAdmin

The java class is not found: com/ibm/mq/jms/admin/JMSAdmin

We they ran setjmsenv

./setjmsenv

MQ_JAVA_INSTALL_PATH is /usr/mqm/java

MQ_JAVA_DATA_PATH is /var/mqm

MQ_JAVA_LIB_PATH is /usr/mqm/java/lib

CLASSPATH is

:/usr/mqm/java/lib/com.ibm.mq.jar:/usr/mqm/java/lib/com.ibm.mqjms.jar:/usr/mqm/samp/java/base:/usr/mqm/samp/java/jms

And tried invoking ./JMSAdmin and got the same failure as below.

What is interesting is it looks like setjmsenv should hit some /opt/mqm libraries, but we have no /opt/mqm directories at all.

Is there something we need to reinstall?
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Tue Jul 27, 2010 6:49 am    Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 365
Location: Columbus, OH

You need to add a few more JMS related jars to your CLASSPATH.

You are going to need:

connector.jar
fscontext.jar
jms.jar
jta.jar
jndi.jar
providerutil.jar
rmm.jar

These should all be in the same directory as your com.ibm.mq.jar and com.ibm.mqjms.jar files.
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 » Trying to use JMSAdmin for the first time
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.