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 Installation/Configuration Support » Missing jar files..

Post new topic  Reply to topic
 Missing jar files.. « View previous topic :: View next topic » 
Author Message
mq_abcd
PostPosted: Mon Jul 25, 2005 7:35 am    Post subject: Missing jar files.. Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 69

Hi All,

I had recently upgraded WMQ 5.3 from CSD 5 to CSD 8 on solaris 8 box..
The WAS app.. couldnot load the appropriate JAR files..
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/jms/admin/JMSAdmin
though I haven't modified any of the Env settings..
I had to uninstall CSD8 per the timing constraints.. and it works fine... Again no change in the Environment settings..
I wonder CSD 08 moves the Jar files..to a diff location.. other than /opt/mqm/java/lib..
Or any dependency with WAS /JMS versions?

WAS is at 5.0.1
Din't found much help in the readme too..
Any hints..
Code:
Back to top
View user's profile Send private message
sjensen
PostPosted: Mon Jul 25, 2005 7:43 am    Post subject: Reply with quote

Centurion

Joined: 18 Dec 2003
Posts: 134
Location: London

Hi,

Odd they are in /opt/mqm/java/lib on my Solaris machine and we are on CSD8.

Good luck
Stefan
Back to top
View user's profile Send private message
mq_abcd
PostPosted: Tue Jul 26, 2005 6:59 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 69

Any hints what might be.. other possibilities.. for this behaviour?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 26, 2005 1:07 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Missing the jars on the classpath.

If you are missing them in the file system make sure you did the optional java component installation. It does not come as default.

Enjoy
Back to top
View user's profile Send private message Send e-mail
mq_abcd
PostPosted: Tue Jul 26, 2005 1:41 pm    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 69

Pardon my ignorance...
I used
Code:
pkgadd -d mqm-U497536.img

Are there any other options.. i need to specify to install java component..?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Jul 26, 2005 5:47 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Can a Unix Admin take the relay Please ?
Our Unix Admin group does the installation....so I have no idea how to go about it....

Thanks
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Wed Jul 27, 2005 9:27 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

Hi,

pkgadd is done under the root account. When you ran JMSAdmin, are you sure you were running under mqm and not root.

root would not have a CLASSPATH set correctly. Secondly, did you su from root to mqm? If so, how did you do it?
Code:
su mqm
or
su - mqm

There is a big difference between those 2 commands.

I would suggest that before you run JMSAdmin command, you do the following command: echo $CLASSPATH

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mq_abcd
PostPosted: Thu Jul 28, 2005 5:12 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jun 2004
Posts: 69

Thanks everybody.. for the suggestions.. but it didn't solved my issue ..yet

Let me iterate the procedure I followed..

Environment: WAS 5.1 + MQ 5.3.0.5 + Solaris 5.8

WASADMIN: Stopped all the apps and WAS
MQADMIN(myself): Stopped MQ Queue Managers and verified no MQ process is running..
SYSADMIN: Installed CSD8
MQADMIN(myself): Started MQ Queue Managers and verified MQ healthy..
WASADMIN: Started WAS
Exception:
Code:
 Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/jms/admin/JMSAdmin

NOTE: No change of environment variables by anyone..
WASADMIN Claims he started the app in the regular method he used to do it.. from his login..

SYSADMIN: Rolled Back to CSD 5

Everything works normal.. CLASSPATH variables..are fine in mqm login..
If its the issue with the environment variables.. it shouldn't have loaded the correct variables when we rolled back either..

Any pointers..?
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jul 28, 2005 1:09 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

On Solaris I had trouble with the Oracle Messenging gateway at CSD08.
Stayed on CSD06 because of it.

Otherwise no idea...
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 Installation/Configuration Support » Missing jar files..
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.