Author |
Message
|
mq_abcd |
Posted: Mon Jul 25, 2005 7:35 am Post subject: Missing jar files.. |
|
|
 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..
|
|
Back to top |
|
 |
sjensen |
Posted: Mon Jul 25, 2005 7:43 am Post subject: |
|
|
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 |
|
 |
mq_abcd |
Posted: Tue Jul 26, 2005 6:59 am Post subject: |
|
|
 Acolyte
Joined: 13 Jun 2004 Posts: 69
|
Any hints what might be.. other possibilities.. for this behaviour? |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jul 26, 2005 1:07 pm Post subject: |
|
|
 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 |
|
 |
mq_abcd |
Posted: Tue Jul 26, 2005 1:41 pm Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Tue Jul 26, 2005 5:47 pm Post subject: |
|
|
 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 |
|
 |
RogerLacroix |
Posted: Wed Jul 27, 2005 9:27 am Post subject: |
|
|
 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?
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 |
|
 |
mq_abcd |
Posted: Thu Jul 28, 2005 5:12 am Post subject: |
|
|
 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 |
|
 |
fjb_saper |
Posted: Thu Jul 28, 2005 1:09 pm Post subject: |
|
|
 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 |
|
 |
|