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

[email protected] Mon, 22 Aug 2011 10:56:14 +0200
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <OF59A0CF39.B09443E7-ONC12578F4.00305581-C12578F4.00309164@bull.net>
This is a multipart message in MIME format.
--=_alternative 003083FFC12578F4_=
Content-Type: text/plain; charset="US-ASCII"

Hi Celinio,

You're right, newjc tool can be used to generate a cluster on a single 
machine. 
See the documentation here.

Regards;




De :    Celinio Fernandes <[email protected]>
A :     "[email protected]" <[email protected]>
Date :  08/07/2011 19:27
Objet : [jonas] Re: RE: Re: Running 2 (or more) instances of Jonas in the 
same Linux server



Thanks.
I will try to check that deployme tool soon.
Someone told me that the newjc command could also be used in that case.
newjc also creates a cluster of Jonas instances that can run in the same 
machine, right ?
Thanks for helping.

By the way, if anyone is interested, here are the files that i needed to 
modify (for Jonas 5.2.1) :
carol.properties
jetty6.xml
tomcat6-server.xml
tomcat7-server.xml
uddi.properties 
jonas.properties
a3servers.xml
joramAdmin.xml

From: "[email protected]" <[email protected]>
To: [email protected]
Sent: Thursday, August 4, 2011 10:06 AM
Subject: [jonas] RE: Re: Running 2 (or more) instances of Jonas in the 
same Linux server

You should take a look to the deployme tool hosted in the JASMINe project 
(administration framework for JOnAS cluster); 

-- 

---------------------------------------------------------------- 
Benoit Pelletier 
http://jonas.ow2.org 
Bull, Architect of an Open World TM 
http://www.bull.com 




De :        Celinio Fernandes <[email protected]> 
A :        "[email protected]" <[email protected]> 
Date :        08/02/2011 23:06 
Objet :        [jonas] Re: Running 2 (or more) instances of Jonas in the 
same Linux server 



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. 





--=_alternative 003083FFC12578F4_=
Content-Type: text/html; charset="US-ASCII"

<font size=3>Hi Celinio,</font>
<br>
<br><font size=3>You're right, newjc tool can be used to generate a cluster
on a single machine. </font>
<br><font size=3>See the documentation </font><a href="http://jonas.ow2.org/JONAS_5_2_0/doc/doc-en/html/command_guide.html#commands.newjc"><font size=3 color=blue>here</font></a><font size=3>.</font>
<br>
<br><font size=3>Regards;<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">De : &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">Celinio Fernandes &lt;[email protected]&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">A : &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;[email protected]&quot;
&lt;[email protected]&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date : &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">08/07/2011 19:27</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Objet : &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[jonas] Re:
RE: Re: Running 2 (or more) instances of Jonas in the same Linux server</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=3>Thanks.</font>
<br><font size=3>I will try to check that deployme tool soon.</font>
<br><font size=3>Someone told me that the newjc command could also be used
in that case.</font>
<br><font size=3>newjc also creates a cluster of Jonas instances that can
run in the same machine, right ?</font>
<br><font size=3>Thanks for helping.</font>
<br>
<br><font size=3>By the way, if anyone is interested, here are the files
that i needed to modify (for Jonas 5.2.1) :</font>
<br><font size=3><b><i>carol.properties</i></b></font>
<br><font size=3>jetty6.xml<br>
tomcat6-server.xml<br>
tomcat7-server.xml<br>
uddi.properties <br>
jonas.properties</font>
<br><font size=3>a3servers.xml<br>
joramAdmin.xml</font>
<br>
<br>
<hr><font size=2 face="Arial"><b>From:</b> &quot;[email protected]&quot;
&lt;[email protected]&gt;<b><br>
To:</b> [email protected]<b><br>
Sent:</b> Thursday, August 4, 2011 10:06 AM<b><br>
Subject:</b> [jonas] RE: Re: Running 2 (or more) instances of Jonas in
the same Linux server</font><font size=3><br>
</font>
<br><font size=2 face="sans-serif">You should take a look to the </font><a href=http://wiki.jasmine.ow2.org/xwiki/bin/view/Main/Deploy#deployme target=_blank><font size=2 color=blue face="sans-serif"><u>deployme
tool </u></font></a><font size=2 face="sans-serif">hosted in the </font><a href=http://jasmine.ow2.org/ target=_blank><font size=2 color=blue face="sans-serif"><u>JASMINe
</u></font></a><font size=2 face="sans-serif">project (administration framework
for JOnAS cluster);</font><font size=3> <br>
<br>
-- <br>
<br>
---------------------------------------------------------------- <br>
Benoit Pelletier </font><font size=3 color=blue><u><br>
</u></font><a href=http://jonas.ow2.org/ target=_blank><font size=3 color=blue><u>http://jonas.ow2.org</u></font></a><font size=3>
<br>
Bull, Architect of an Open World TM </font><font size=3 color=blue><u><br>
</u></font><a href=http://www.bull.com/ target=_blank><font size=3 color=blue><u>http://www.bull.com</u></font></a><font size=3>
<br>
<br>
<br>
<br>
</font><font size=1 color=#5f5f5f face="sans-serif"><br>
De : &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">Celinio
Fernandes &lt;[email protected]&gt;</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
A : &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">&quot;[email protected]&quot;
&lt;[email protected]&gt;</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Date : &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">08/02/2011
23:06</font><font size=3> </font><font size=1 color=#5f5f5f face="sans-serif"><br>
Objet : &nbsp; &nbsp; &nbsp; &nbsp;</font><font size=1 face="sans-serif">[jonas]
Re: Running 2 (or more) instances of Jonas in the same Linux server</font><font size=3>
<br>
</font>
<hr noshade><font size=3><br>
<br>
<br>
I think i got it. <br>
I created a new instance again and modified the ports whenever i got conflicts.
<br>
It seems to work well. <br>
In any case, if you still can make a script to make it easier ... :) <br>
<br>
If anyone is interested, I can detail the files that have to be changed
in order to run that second instance. <br>
<br>
</font>
<hr><font size=2 face="Arial"><b>From:</b> Celinio Fernandes &lt;[email protected]&gt;<b><br>
To:</b> &quot;[email protected]&quot; &lt;[email protected]&gt;<b><br>
Sent:</b> Tuesday, August 2, 2011 10:03 PM<b><br>
Subject:</b> [jonas] Running 2 (or more) instances of Jonas in the same
Linux server</font><font size=3><br>
<br>
Hi,<br>
I am running an instance of Jonas (JONAS_BASE, using the newjb command)
&nbsp;on a Linux (Redhat) server.<br>
<br>
I would like to run a second instance of Jonas on the same server.<br>
Of course I need to change the configuration because I am going to face
numerous port conflicts otherwise (jmx, http, rmi, etc).<br>
<br>
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<br>
instance of Jonas ? And eventually a third ... etc ?<br>
<br>
I have already asked the question in this forum but i am still stuck :
</font><font size=3 color=blue><u><br>
</u></font><a href="http://www.developpez.net/forums/d1101461/java/serveurs-conteneurs-java-ee/jonas/faire-tourner-plusieurs-instances-jonas-simultanement-meme-machine/" target=_blank><font size=3 color=blue><u>http://www.developpez.net/forums/d1101461/java/serveurs-conteneurs-java-ee/jonas/faire-tourner-plusieurs-instances-jonas-simultanement-meme-machine/</u></font></a><font size=3><br>
<br>
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.<br>
<br>
Thanks for helping. <br>
<br>
</font>
<br><font size=3><br>
</font>
<br>
--=_alternative 003083FFC12578F4_=--