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 » Some javaCompute problem

Post new topic  Reply to topic
 Some javaCompute problem « View previous topic :: View next topic » 
Author Message
pdrabik
PostPosted: Thu Oct 19, 2006 5:41 am    Post subject: Some javaCompute problem Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
PieterV
PostPosted: Fri Oct 20, 2006 12:04 am    Post subject: Reply with quote

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
View user's profile Send private message
brin_seb
PostPosted: Tue Nov 28, 2006 2:08 am    Post subject: Exactly same problem Reply with quote

Novice

Joined: 10 Jun 2003
Posts: 24
Location: Luxembourg

What do you do to solve this ?
Back to top
View user's profile Send private message Visit poster's website
emiranda
PostPosted: Wed Mar 07, 2007 3:33 am    Post subject: Reply with quote

Disciple

Joined: 21 Nov 2002
Posts: 196
Location: Dublin, Ireland

Just wondering if someone still have this problem, as I had it recently. It was fixed by copying the code into the Program Files\IBM\MQSI\6.0\jre\lib\ext directory, as explained before here http://mqseries.net/phpBB2/viewtopic.php?p=114060&highlight=&sid=291ee00d382185ad91f1d058ddfd1107
_________________
Warm Regards,
EM
Back to top
View user's profile Send private message
flequi
PostPosted: Thu Jul 05, 2007 9:13 am    Post subject: I have the same problem, but I cant' solve in this way Reply with quote

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
View user's profile Send private message
flequi
PostPosted: Fri Jul 13, 2007 5:03 am    Post subject: Re: I have the same problem, but I cant' solve in this way Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Fri Jul 13, 2007 5:58 am    Post subject: Reply with quote

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
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 » Some javaCompute problem
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.