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 » General IBM MQ Support » linux x86-64 JMSAdmin link errors

Post new topic  Reply to topic
 linux x86-64 JMSAdmin link errors « View previous topic :: View next topic » 
Author Message
George Carey
PostPosted: Tue Jun 09, 2009 4:04 pm    Post subject: linux x86-64 JMSAdmin link errors Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
fjb_saper
PostPosted: Tue Jun 09, 2009 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
George Carey
PostPosted: Wed Jun 10, 2009 9:47 am    Post subject: jdk1.6 Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
George Carey
PostPosted: Wed Jun 10, 2009 10:45 am    Post subject: jdk 1.6 Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
fjb_saper
PostPosted: Wed Jun 10, 2009 7:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
George Carey
PostPosted: Sat Jun 13, 2009 7:34 am    Post subject: jdk1.5 Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » linux x86-64 JMSAdmin link errors
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.