|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Loading diff versions of jar from 2 brokers in same server |
« View previous topic :: View next topic » |
Author |
Message
|
rajeshknigam |
Posted: Thu Aug 02, 2012 7:53 pm Post subject: Loading diff versions of jar from 2 brokers in same server |
|
|
 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 |
|
 |
lancelotlinc |
Posted: Fri Aug 03, 2012 4:50 am Post subject: |
|
|
 Jedi Knight
Joined: 22 Mar 2010 Posts: 4941 Location: Bloomington, IL USA
|
|
Back to top |
|
 |
mqjeff |
Posted: Fri Aug 03, 2012 4:54 am Post subject: |
|
|
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.
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 |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|