Author |
Message
|
pdrabik |
Posted: Thu Oct 19, 2006 5:41 am Post subject: Some javaCompute problem |
|
|
Apprentice
Joined: 29 Sep 2006 Posts: 31 Location: poland
|
Hi there, developing my java i occurred :
BIP4500E: Failed to deploy Java code resource 'excelDo.jar'. The Java stack trace is: 'com.ibm.broker.javacompute.MbRuntimeJavaComputeNode.createJavaComputeNode(Native Method) com.ibm.broker.javacompute.MbRuntimeJavaComputeNode.updateNodeClass(MbRuntimeJavaComputeNode.java:205) com.ibm.broker.javacompute.MbRuntimeJavaComputeNode.javaResourceUpdated(MbRuntimeJavaComputeNode.java:234) com.ibm.broker.classloading.JavaResourceClassLoader.javaResourceUpdated(JavaResourceClassLoader.java:201) com.ibm.broker.javacompute.MbJarFileManager.createJar(MbJarFileManager.java:104)'
what might it be?
all jars are built in class-path, build-path.. displayed under project navigator ... still this error during deployment....
can u give me any hints.. expanded hints  _________________ ---
cc: poltreak@o2.pl |
|
Back to top |
|
 |
PieterV |
Posted: Fri Oct 20, 2006 12:04 am Post subject: |
|
|
Disciple
Joined: 04 Jan 2006 Posts: 164 Location: Belgium
|
what exactly are you trying to do?
deploy a project including a jar file?
perhaps you can place your jar file in the 'shared-classes' folder on your broker system. |
|
Back to top |
|
 |
brin_seb |
Posted: Tue Nov 28, 2006 2:08 am Post subject: Exactly same problem |
|
|
Novice
Joined: 10 Jun 2003 Posts: 24 Location: Luxembourg
|
What do you do to solve this ? |
|
Back to top |
|
 |
emiranda |
Posted: Wed Mar 07, 2007 3:33 am Post subject: |
|
|
 Disciple
Joined: 21 Nov 2002 Posts: 196 Location: Dublin, Ireland
|
|
Back to top |
|
 |
flequi |
Posted: Thu Jul 05, 2007 9:13 am Post subject: I have the same problem, but I cant' solve in this way |
|
|
Newbie
Joined: 05 Jul 2007 Posts: 8 Location: Spain
|
Your solution it's to put the external jar into the
"Program Files\IBM\MQSI\6.0\jre\lib\ext" Folder. I've did that, but it doesn't work.
I have MessageBroker 6.0.1 Toolkit, I have a project with a message flow that has a javacompute node. In this javacompute class named Ftp (in a javaProject named similar than this, with the "Java" prefix) I have another functions that makes a ftp conection with the
commons-net-1.4.1.jar and a
// Code
import org.apache.commons.net.ftp.*
But my bar has a Ftp.jar with my javacompute class, but it doesn't have the commons-net-1.4.1.jar.
And i get "BIP4500E: Failed to deploy Java code resource..."
Can you helpme??
Thanks
flequi.dph@gmail.com |
|
Back to top |
|
 |
flequi |
Posted: Fri Jul 13, 2007 5:03 am Post subject: Re: I have the same problem, but I cant' solve in this way |
|
|
Newbie
Joined: 05 Jul 2007 Posts: 8 Location: Spain
|
Hi, I had solved the problem putting the .jar in this folders and restarting the window's session.
C:\Archivos de programa\IBM\MQSI\6.0\jre\lib\ext
C:\......\workspace\.metadata\.plugins\org.apache.commons.net\
C:\Archivos de programa\IBM\Eclipse SDK30\eclipse\jre\lib\ext
C:\Archivos de programa\IBM\MBToolkit\6.0\eclipse\jre\lib\ext
C:\Archivos de programa\IBM\MBToolkit\6.0\ibtoolkit\eclipse\ plugins\org.apache.commons.net\
I don't know where it's the correct folder to put it, but putting the .jar in those folders and restarting, the deployment works fine. I think that I needed to restart the system.
Thanks to all. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Jul 13, 2007 5:58 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
It's very much the wrong place to put things.
You can either include jar files in your bar file, or you can put them in shared-classes, or in a folder on the LIL path or on the main classpath.
Where you put them changes what classloader is used.
You always have to restart the Broker after you add jars anywhere other than in your bar file. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|