Author |
Message
|
George Carey |
Posted: Tue Jun 09, 2009 4:04 pm Post subject: linux x86-64 JMSAdmin link errors |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
Trying to get JMSAdmin to create .bindings file on Dell Redhat Linux x86-64
I get the following error
...NoClassDefFoundError: while resolving class: com.ibm.msg.client.wmq.factories.WMQComponent at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib64/libgcj.so.5.0.0)
...
...
The exact same script runs on another Linux box I installed ... I thought the same way ... what am I missing ... burning time trying to see what I did wrong thought someone might see it off the top !
Why is it not finding this 64 bit library ...
I tried the dltmqlnk ... no difference ... so did crtmqlnk to set back
rgrds _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Jun 09, 2009 7:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Either you are missing something on the classpath or your class loader thinks so. Check your path and claspath variables and echo them from within your script... just to check they are what you think they are...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
George Carey |
Posted: Wed Jun 10, 2009 9:47 am Post subject: jdk1.6 |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
I am told one linux box has jdk 1.6 installed as default jdk
and the one (not working) has jdk1.4.
I am further told jdk1.6 supports 64 bit and 1.4 does not.
Does MQ install with jdk1.6 for x86-64 ...and how to make it default jdk if so.
.
I don't mess with Java envirorment frequently enough to keep this stuff memory resident I can see that !!! _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding")
Last edited by George Carey on Wed Jun 10, 2009 10:48 am; edited 1 time in total |
|
Back to top |
|
 |
George Carey |
Posted: Wed Jun 10, 2009 10:45 am Post subject: jdk 1.6 |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
Adding jdk 1.6 to base linux install cleared up the problem
The JMSAdmin script then ran fine.
Noting the java -version in /opt/mqm/java/jre/java -version
gives J2RE 1.5.0 ... would this have worked ???
I will try ... _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Jun 10, 2009 7:44 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Good catch on the differences on JDK.
I just had one of those surprises today where the installed jdk (1.4) on linux told me <ssl algorythm name here> algorythm not supported... (trying to run mqiptPW)...
It was an old version and I have no idea what kind of java was installed as it seemed to be all over the place. I had the admin install a new version of java (1.6) and everything worked fine.
 _________________ MQ & Broker admin |
|
Back to top |
|
 |
George Carey |
Posted: Sat Jun 13, 2009 7:34 am Post subject: jdk1.5 |
|
|
Knight
Joined: 29 Jan 2007 Posts: 500 Location: DC
|
Quote: |
J2RE 1.5.0 ... would this have worked ??? |
Also used the JDK with installed IBM MQ version for Linux and it worked as well.
rgrds _________________ "Truth is ... grasping the virtually unconditioned",
Bernard F. Lonergan S.J.
(from book titled "Insight" subtitled "A Study of Human Understanding") |
|
Back to top |
|
 |
|