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 » External Jar Declaration Help

Post new topic  Reply to topic
 External Jar Declaration Help « View previous topic :: View next topic » 
Author Message
MQSIGuy
PostPosted: Fri Dec 03, 2010 1:03 am    Post subject: External Jar Declaration Help Reply with quote

Novice

Joined: 26 Oct 2009
Posts: 20

Hi,

I am trying to simply add some external jar files to an existing bar with message broker flow. The flow contains a comp node which calls an external java class. This is on WMBV6 and a Windows machine.

The error I receive is

"java.lang.NoClassDefFoundError: ...."

I understand the obvious conclusions that the call can't find the class however if I take the jars and declare them agains the CLASSPATH it works fine. I have also quadruple checked the ESQL call against the class name and method name etc and I can see no reason why this would not work.

Can anyone offer any insight or other possible reason why it would work with the CLASSPATH but not simply adding the bar files directly into the bar and deploying?

The reason I want to add the jars to the bar and deploy is for very specific reasons to localize the jars to that execution group and thrreads rather than expose to the entire broker on the CLASSPATH.

Any help / direction would be appreciated
Back to top
View user's profile Send private message
MQSIGuy
PostPosted: Fri Dec 03, 2010 1:45 am    Post subject: Reply with quote

Novice

Joined: 26 Oct 2009
Posts: 20

Please disregard this as the issue has been solved... It was a basic mistake, one of the jars was referncing another jar I wasn't aware of initially.. All sorted now.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » External Jar Declaration Help
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.