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 » Jar file deployment ??

Post new topic  Reply to topic
 Jar file deployment ?? « View previous topic :: View next topic » 
Author Message
mbprimer
PostPosted: Tue Nov 13, 2007 10:17 am    Post subject: Jar file deployment ?? Reply with quote

Novice

Joined: 25 Mar 2007
Posts: 21

My Environment is MB 5.0 on AIX.

I am calling a java method from my Compute node using
CREATE PROCEDURE myProc()RETURNS INTEGER
LANGUAGE JAVA EXTERNAL NAME "Add.Hello.Test.sum(1,2)";

I created Java project and i created Jar file.
i created Bar file which also packed with Test.Java and Test.class.
When i deployed Bar file i got the error
BIP2943E: The Java Method 'Add.Hello.Test.sum(1,2)' could not be found as its containing class could not be found in the broker classpath
1. Do i need to deploy the jar file in the broker classpath?
2. If so, do i need to bounce broker to pick that newly added jar file.

Thanks
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Nov 13, 2007 10:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

v5 can't deploy JAR files in BAR files.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
mbprimer
PostPosted: Tue Nov 13, 2007 11:01 am    Post subject: v5 can't deploy JAR files in BAR files Reply with quote

Novice

Joined: 25 Mar 2007
Posts: 21

Jeff,

Then do i need to put jar file in broker classpath? And do the regular bar file deployment without jar right?

Thanks
Back to top
View user's profile Send private message
flequi
PostPosted: Wed Nov 14, 2007 1:38 am    Post subject: Put the JARs in the lib/ext directory Reply with quote

Newbie

Joined: 05 Jul 2007
Posts: 8
Location: Spain

Put the JARs in this folder:

C:\Program Files\IBM\MQSI\6.0\jre\lib\ext

Or the folder you select when you install Broker's runtime environment in the server.

Restart the broker and deploy the BAR file without the JARs files.

Bye
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 » Jar file deployment ??
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.