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 » Multi-environment and shared-classes

Post new topic  Reply to topic
 Multi-environment and shared-classes « View previous topic :: View next topic » 
Author Message
felfel
PostPosted: Fri May 11, 2007 10:52 am    Post subject: Multi-environment and shared-classes Reply with quote

Apprentice

Joined: 02 Nov 2004
Posts: 26

Hi all ,

My customer have 2 brokers on the same machine ( Dev & Integration).
He has deployed an entire java application ( more than 100 Mo of jars !) in the shared-classes.
Ok , I know it's not a good idea to design a message flow.
Now he has a problem of versionning the java application.
He wants to manage different versions for each broker.
As the shared-classes folder is common for all brokers , how can we handle this problem ?

Any idea is welcome, thanks.
_________________
"Mens sana in corpore sano"
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Fri May 11, 2007 10:53 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can't.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
felfel
PostPosted: Fri May 11, 2007 11:00 am    Post subject: Reply with quote

Apprentice

Joined: 02 Nov 2004
Posts: 26

And if I ask him to create the brokers with different users ( wmqi1 , wmqi2).
For each user , I set a different classpath.
Could it work ?
_________________
"Mens sana in corpore sano"
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Fri May 11, 2007 11:11 am    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

shared-classes is shared by both brokers.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Fri May 11, 2007 11:28 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

Changing the CLASSPATH is going to change the classloader used to load the application jars.

Creating your own LIL directory, different for each broker, is going to change the class loader used to load the application jars.

Putting the application in a PAR file, and deploying it to different brokers, is going to change the classloader used to load the application jars.

You see?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Fri May 11, 2007 12:23 pm    Post subject: Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

JavaCompute node classloading:

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac37125_.htm
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Multi-environment and shared-classes
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.