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 » WebSphere Message Broker (ACE) Support » Failure to locate Java class com.standardlife.mji.MQGetNode

Post new topic  Reply to topic
 Failure to locate Java class com.standardlife.mji.MQGetNode « View previous topic :: View next topic » 
Author Message
Donald MacFarlane
PostPosted: Tue Aug 24, 2004 1:56 am    Post subject: Failure to locate Java class com.standardlife.mji.MQGetNode Reply with quote

Newbie

Joined: 04 Aug 2004
Posts: 5
Location: Scotland

Hi there,

I am getting the above error on a new java plugin that I have developed. I have it running OK on WMQI v2.1 and WBIMB v5.0 on NT4 Servers but when I move it to AIX I get the error. As far as I can see I have setup all the external jars required and have also tried changing the classpath for the broker, but to no avail.

Can anyone shed any light on how to fix it, or how to get more information about what it is actually trying to locate as the class seems to be fine and working on other boxes.

Cheers Donald
Back to top
View user's profile Send private message Send e-mail
jefflowrey
PostPosted: Tue Aug 24, 2004 5:31 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Well, you should be able to get more information from tracing the broker.

But it seems like the broker is not able to find your node's class - which is likely a jar packaging problem. Can you confirm that your jar file is properly built, with the correct contents and the correct directory structure for the contents?

Also, you did restart the broker after deploying the node jar file, right?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Donald MacFarlane
PostPosted: Tue Aug 24, 2004 7:34 am    Post subject: Jar contents Reply with quote

Newbie

Joined: 04 Aug 2004
Posts: 5
Location: Scotland

Hi Jeff,

Been looking at this for hours now and can't see what I have done wrong.
The output from the trace file is

2004-08-24 15:49:22.427658 1 Error BIP4371S: Failure to locate Ja
va class com.standardlife.mji.MQGetNode$1
The Java class com.standardlife.mji.MQGet
Node$1 could not be found by the Java API framework.
This is an internal error. Contact your I
BM support center.
2004-08-24 15:49:22.438289 1 Error BIP4371S: Failure to locate Java class com.standardlife.mji.MQGetNode$2
The Java class com.standardlife.mji.MQGetNode$2 could not be found by the Java API framework.
This is an internal error. Contact your IBM support center.
2004-08-24 15:49:22.515893 1 Error BIP4371S: Failure to locate Java class com.standardlife.mji.MQGetNode
The Java class com.standardlife.mji.MQGetNode could not be found by the Java API framework.
This is an internal error. Contact your IBM support center.

I have typed in here what is displayed by winzip of my jar file.

MQGetNode$2.class CLASS File 24-08-2004 799 50% 402 com\standardlife\mji\
MQGetNode$1.class CLASS File 24-08-2004 799 50% 401 com\standardlife\mji\
MQGetNode.class CLASS File 24-08-2004 14880 51% 7290 com\standardlife\mji\

I think it is something to do with the classpath as I am using base MQ and Xerces classes.

I have added all the jars I think I need to the mqsiuid users environment and restarted the broker, but makes no difference.

Cheers Donald
Back to top
View user's profile Send private message Send e-mail
kirani
PostPosted: Tue Aug 24, 2004 10:20 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Do you have com.ibm.mq.jar file in your CLASSPATH? Also, check your LIL path. Is this the first Java plug-in you are trying to install on this box?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Tue Aug 24, 2004 10:22 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

How are you transfering the jar file from NT to AIX?

Are you putting the jar file into <wmqi_install_root>/jplugin?

Are you putting any supporting classes into <wmqi_install_root>/classes?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
Donald MacFarlane
PostPosted: Wed Aug 25, 2004 1:48 am    Post subject: Reply with quote

Newbie

Joined: 04 Aug 2004
Posts: 5
Location: Scotland

Thanks for all the help.

Found out my problem and as you were alluding to it was a problem with
dependent jars.

I had found two jars files with the same name and copied over the wrong one.

Cheers Donald


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 » WebSphere Message Broker (ACE) Support » Failure to locate Java class com.standardlife.mji.MQGetNode
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.