Posted: Fri Dec 03, 2010 1:03 am Post subject: External Jar Declaration Help
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.
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.
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