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 » Loading diff versions of jar from 2 brokers in same server

Post new topic  Reply to topic
 Loading diff versions of jar from 2 brokers in same server « View previous topic :: View next topic » 
Author Message
rajeshknigam
PostPosted: Thu Aug 02, 2012 7:53 pm    Post subject: Loading diff versions of jar from 2 brokers in same server Reply with quote

Novice

Joined: 29 Jun 2009
Posts: 12

We are loading a custom build jar files from shared-dir and corresponding property file from common/wsrr dir. Things works fine till we have only one broker instance on the server or we need to load the same jar/property file from all the brokers.

Now we need to have another instance of broker (V7.0.0.4) which needs to be load a sligtly updated version of jar and corrosponding property file.

Option that we could find, it to create the new broker with diffrent workpath and place our jar file and property file there. But this required the broker to be recreated, which we do not want to do.

Please advise if there is a better solution for above problme.
Back to top
View user's profile Send private message Send e-mail
lancelotlinc
PostPosted: Fri Aug 03, 2012 4:50 am    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

You should not be loading jars from the wsrr directory. You should be loading jars via the Execution Group configurable service classloader:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bn43740_.htm

"JavaClassLoader configurable service"

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/an60170_.htm

Have you taken the mandatory WM643 class?

https://www-304.ibm.com/jct03001c/services/learning/ites.wss/us/en?pageType=course_description&courseCode=WM643
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Aug 03, 2012 4:54 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

lancelotlinc wrote:
You should not be loading jars from the wsrr directory.


It really depends on how one is doing this. Certainly one shouldn't copy them into the broker install, nor should one alter the system level CLASSPATH.

lancelotlinc wrote:
You should be loading jars via the Execution Group configurable service classloader:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/bn43740_.htm

"JavaClassLoader configurable service"

http://publib.boulder.ibm.com/infocenter/wmbhelp/v7r0m0/topic/com.ibm.etools.mft.doc/an60170_.htm

Have you taken the mandatory WM643 class?


Yes, use a JavaClassLoader configurable service. It allows you to create separate class loaders for *each* Java Compute node, if you really want.

This means you don't have to have a new EG, or a new Broker to use two levels of some set of Jar files. You just need two JCNS.
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 » Loading diff versions of jar from 2 brokers in same server
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.