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 » mb6: custom java nodes. classNotFounds with dependant jars

Post new topic  Reply to topic
 mb6: custom java nodes. classNotFounds with dependant jars « View previous topic :: View next topic » 
Author Message
powerlord
PostPosted: Tue Dec 20, 2005 8:26 am    Post subject: mb6: custom java nodes. classNotFounds with dependant jars Reply with quote

Novice

Joined: 02 Sep 2005
Posts: 19

Hi Guys.

I'm migrating my mb5 custom java nodes to mb6. There is a nodes.jar file containing the main nodes project classes, and 6 or 7 dependancy jars (log4j, dom4j, smtp stuff, etc).

In mb5 I just stuck the nodes.jar in the jplugins directory, and the others classes in the mb /classes directory with all the other classes.

This does not work with mb6 (gives me classNotFounds). I have tried specifying a new lil location (e.g. e:\mystuff) and putting my nodes.jar there. I have tried adding all the dependant jars individually into the CLASSPATH.

No difference, the broker tries to start and then errors with a:

NoClassDefFoundError: javax/mail/Authenticator' was thrown while loading user-defined class 'com.....blabla my class'.

this class is in mailapi.jar. This is in the MQSI/6.0/classes directory, AND specified in the CLASSPATH as are all the others.

the docs shed no light on this, none of it suggesting it is any different from v5.

any ideas what I'm doing wrong ?

stu
Back to top
View user's profile Send private message
wbibrk
PostPosted: Thu Dec 22, 2005 6:44 am    Post subject: Reply with quote

Apprentice

Joined: 09 Jul 2005
Posts: 46

Hi Stu,

WMB v6 works exactly the same way as WBI-MB v5. Your plugin node jar file goes into the jplugin directory and all the dependent jar files should be referenced via the CLASSPATH.

You need to know what other jar files that the Authenticator class refers to. For simplicity sake, use the same CLASSPATH that you have used to compile your plugin source code. Your plugin would'nt have compiled if any of the dependent jar files are abesent.

Hope this helps.
Back to top
View user's profile Send private message Send e-mail
Ian
PostPosted: Wed Dec 28, 2005 2:54 am    Post subject: Reply with quote

Disciple

Joined: 22 Nov 2002
Posts: 152
Location: London, UK

When running WMB v6 GA and using Java plugin nodes you will get a "BIP4512S: java.lang.NoClassDefFoundError:" failure loading Java classes.

This has been fixed under APAR IY77292.

You will need to contact the WMB support team and request this fix.
_________________
Regards, Ian
Back to top
View user's profile Send private message
mymq
PostPosted: Thu May 28, 2009 1:53 am    Post subject: Reply with quote

Centurion

Joined: 01 Mar 2007
Posts: 101
Location: US-Greenwille

powerlord,

Could you please give me the steps/procedures to migrate the custom java node from MB5 to MB6.? That would be a great help to me.

Thankx a lot in advance
_________________
--SRK--
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 » mb6: custom java nodes. classNotFounds with dependant jars
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.