Re: Running 2 (or more) instances of Jonas in the same Linux server

Celinio Fernandes <[email protected]> Tue, 2 Aug 2011 14:06:06 -0700 (PDT)
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
I think i got it.
I created a new instance again and modified the ports whenever i got conflicts.
It seems to work well.
In any case, if you still can make a script to make it easier ... :)

If anyone is interested, I can detail the files that have to be changed in order to run that second instance.



________________________________
From: Celinio Fernandes <[email protected]>
To: "[email protected]" <[email protected]>
Sent: Tuesday, August 2, 2011 10:03 PM
Subject: [jonas] Running 2 (or more) instances of Jonas in the same Linux server


Hi,
I am running an instance of Jonas (JONAS_BASE, using the newjb command)  on a Linux (Redhat) server.

I would like to run a second instance of Jonas on the same server.
Of course I need to change the configuration because I am going to face numerous port conflicts otherwise (jmx, http, rmi, etc).

Is there a tutorial / a document / a page that lists all the modifications needed in the various configuration files in order to run a second
instance of Jonas ? And eventually a third ... etc ?

I have already asked the question in this forum but i am still stuck : 
http://www.developpez.net/forums/d1101461/java/serveurs-conteneurs-java-ee/jonas/faire-tourner-plusieurs-instances-jonas-simultanement-meme-machine/

It would be neat if you guys could provide a script that would modify all the
 configuration files whenever we want to add another instance of Jonas.

Thanks for helping.