|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
failed to configure MQ as JMS provider - help! |
« View previous topic :: View next topic » |
Author |
Message
|
andrew.stewart |
Posted: Mon May 12, 2008 4:07 am Post subject: failed to configure MQ as JMS provider - help! |
|
|
Newbie
Joined: 10 Apr 2008 Posts: 6
|
Hi all,
Long time lurker, first time poster Currently having issues trying to setup MQ as a JMS provider on Redhat Enterprise.
Have installed MQ (including the Java rpm) and a QM is up and running. Modified JMSAdmin to add in required classpaths. When JMSAdmin is run, the following error is generated:
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: com.ibm.mq.jms.admin.JMSAdmin
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/opt/mqm/java/bin/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/opt/mqm/java/bin/java.version=1.4.2)
Caused by: java.lang.ClassNotFoundException: javax.jms.JMSSecurityException not found in [file /opt/mqm/java/lib/com.ibm.mqjms.jar, file /opt/mqm/java/lib/com.ibm.mq.pcf.jar, file /opt/mqm/java/lib/mqcontext.jar, file /usr/share/java/libgcj-3.4.6.jar, file ./, core /]
at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.pop_init_ref(_Jv_BytecodeVerifier.type) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
...9 more
Not sure what's going on because I have successfully setup JMS on another RedHat Enterprise machine last week and I did copy across the contents of working JMSAdmin file. The only difference between the two machines is the original working one is running java 1.5.0 whilst this new broken one is running java 1.4.2 - could that be causing any issues or am I looking in the wrong place? All the permissions on the files are the same etc.. they are literally identical
Apologies if I haven't included all the required info, any help is appreciated.
Thanks,
Andrew.
p.s. please note i had to remove the colons from 'file /opt...' due to not being able to post urls/links with less than 1 post  |
|
Back to top |
|
 |
veech23 |
Posted: Wed May 14, 2008 4:14 pm Post subject: |
|
|
Novice
Joined: 25 Apr 2007 Posts: 23 Location: canberra
|
. ./setjmsenv will help in resolve this problem.
veeru |
|
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
|
|
|
|