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

Celinio Fernandes <[email protected]> Sun, 7 Aug 2011 10:27:40 -0700 (PDT)
Newsgroups gmane.comp.java.objectweb.jonas
Message-ID <[email protected]>
--0-928454234-1312738060=:55192
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

Thanks.=0AI will try to check that deployme tool soon.=0A=0ASomeone told me=
 that the newjc command could also be used in that case.=0Anewjc also creat=
es a cluster of Jonas instances that can run in the same machine, right ?=
=0AThanks for helping.=0A=0ABy the way, if anyone is interested, here are t=
he files that i needed to modify (for Jonas 5.2.1) :=0Acarol.properties=0Aj=
etty6.xml=0Atomcat6-server.xml=0Atomcat7-server.xml=0Auddi.properties =0Ajo=
nas.properties=0Aa3servers.xml=0AjoramAdmin.xml=0A=0A=0A___________________=
_____________=0AFrom: "[email protected]" <[email protected]=
t>=0ATo: [email protected]=0ASent: Thursday, August 4, 2011 10:06 AM=0ASubject:=
 [jonas] RE: Re: Running 2 (or more) instances of Jonas in the same Linux s=
erver=0A=0A=0AYou should take a look to the deployme=0Atool hosted in the J=
ASMINe project (administration framework=0Afor JOnAS cluster); =0A=0A--=A0=
=0A=0A---------------------------------------------------------------- =0AB=
enoit Pelletier =0Ahttp://jonas.ow2.org=0ABull, Architect of an Open World =
TM =0Ahttp://www.bull.com=0A =0A=0A=0A=0ADe : =A0 =A0 =A0=0A=A0Celinio Fern=
andes <[email protected]> =0AA : =A0 =A0 =A0=0A=A0"[email protected]"=0A<jonas@o=
w2.org> =0ADate : =A0 =A0 =A0=0A=A008/02/2011 23:06 =0AObjet : =A0 =A0=0A=
=A0 =A0[jonas] Re:=0ARunning 2 (or more) instances of Jonas in the same Lin=
ux server =0A________________________________=0A =0A=0A=0AI think i got it.=
 =0AI created a new instance again and modified the ports=0Awhenever i got =
conflicts. =0AIt seems to work well. =0AIn any case, if you still can make =
a script to make it=0Aeasier ... :) =0A=0AIf anyone is interested, I can de=
tail the files that have=0Ato be changed in order to run that second instan=
ce. =0A=0A________________________________=0AFrom: Celinio Fernandes <cel97=
[email protected]>=0ATo: "[email protected]" <[email protected]>=0ASent: Tuesday, August =
2, 2011 10:03 PM=0ASubject: [jonas] Running 2 (or more) instances of Jonas =
in the same=0ALinux server=0A =0AHi,=0AI am running an instance of Jonas (J=
ONAS_BASE, using the newjb command)=0A=A0on a Linux (Redhat) server.=0A=0AI=
 would like to run a second instance of Jonas on the same server.=0AOf cour=
se I need to change the configuration because I am going to face=0Anumerous=
 port conflicts otherwise (jmx, http, rmi, etc).=0A=0AIs there a tutorial /=
 a document / a page that lists all the modifications=0Aneeded in the vario=
us configuration files in order to run a second=0Ainstance of Jonas ? And e=
ventually a third ... etc ?=0A=0AI have already asked the question in this =
forum but i am still stuck : =0Ahttp://www.developpez.net/forums/d1101461/j=
ava/serveurs-conteneurs-java-ee/jonas/faire-tourner-plusieurs-instances-jon=
as-simultanement-meme-machine/=0A=0AIt would be neat if you guys could prov=
ide a script that would modify all=0Athe configuration files whenever we wa=
nt to add another instance of Jonas.=0A=0AThanks for helping. 
--0-928454234-1312738060=:55192
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable

<html><body><div style=3D"color:#000; background-color:#fff; font-family:ti=
mes new roman, new york, times, serif;font-size:12pt"><div><span>Thanks.</s=
pan></div><div><span>I will try to check that deployme tool soon.<br></span=
></div><div><span>Someone told me that the newjc command could also be used=
 in that case.</span></div><div><span>newjc also creates a cluster of Jonas=
 instances that can run in the same machine, right ?</span></div><div><span=
>Thanks for helping.</span></div><div><br><span></span></div><div><span>By =
the way, if anyone is interested, here are the files that i needed to modif=
y (for Jonas 5.2.1) :</span></div><div><strong><em>carol.properties</em></s=
trong></div><div>jetty6.xml<br>=0Atomcat6-server.xml<br>=0Atomcat7-server.x=
ml<br>=0Auddi.properties <br>=0Ajonas.properties</div><div>a3servers.xml<br=
>=0AjoramAdmin.xml</div><div><br></div><div style=3D"font-family: times new=
 roman, new york, times, serif; font-size: 12pt;"><div style=3D"font-family=
: times new roman, new york, times, serif; font-size: 12pt;"><font face=3D"=
Arial" size=3D"2"><hr size=3D"1"><b><span style=3D"font-weight:bold;">From:=
</span></b> "[email protected]" &lt;[email protected]&gt;<b=
r><b><span style=3D"font-weight: bold;">To:</span></b> [email protected]<br><b>=
<span style=3D"font-weight: bold;">Sent:</span></b> Thursday, August 4, 201=
1 10:06 AM<br><b><span style=3D"font-weight: bold;">Subject:</span></b> [jo=
nas] RE: Re: Running 2 (or more) instances of Jonas in the same Linux serve=
r<br></font><br><div id=3D"yiv1944924092"><font face=3D"sans-serif" size=3D=
"2">You should take a look to the </font><a rel=3D"nofollow" target=3D"_bla=
nk" href=3D"http://wiki.jasmine.ow2.org/xwiki/bin/view/Main/Deploy#deployme=
"><font color=3D"blue" face=3D"sans-serif" size=3D"2">deployme=0Atool </fon=
t></a><font face=3D"sans-serif" size=3D"2">hosted in the </font><a rel=3D"n=
ofollow" target=3D"_blank" href=3D"http://jasmine.ow2.org"><font color=3D"b=
lue" face=3D"sans-serif" size=3D"2">JASMINe=0A</font></a><font face=3D"sans=
-serif" size=3D"2">project (administration framework=0Afor JOnAS cluster);<=
/font>=0A<br>=0A<br><font size=3D"3">--&nbsp;<br>=0A<br>=0A----------------=
------------------------------------------------ <br>=0ABenoit Pelletier </=
font><font color=3D"blue" size=3D"3"><u><br>=0A</u></font><a rel=3D"nofollo=
w" target=3D"_blank" href=3D"http://jonas.ow2.org"><font color=3D"blue" siz=
e=3D"3"><u>http://jonas.ow2.org</u></font></a><font size=3D"3">=0A<br>=0ABu=
ll, Architect of an Open World TM </font><font color=3D"blue" size=3D"3"><u=
><br>=0A</u></font><a rel=3D"nofollow" target=3D"_blank" href=3D"http://www=
.bull.com"><font color=3D"blue" size=3D"3"><u>http://www.bull.com</u></font=
></a><font size=3D"3">=0A<br>=0A</font>=0A<br>=0A<br>=0A<br>=0A<br><font co=
lor=3D"#5f5f5f" face=3D"sans-serif" size=3D"1">De : &nbsp; &nbsp; &nbsp;=0A=
&nbsp;</font><font face=3D"sans-serif" size=3D"1">Celinio Fernandes &lt;cel=
[email protected]&gt;</font>=0A<br><font color=3D"#5f5f5f" face=3D"sans-serif" =
size=3D"1">A : &nbsp; &nbsp; &nbsp;=0A&nbsp;</font><font face=3D"sans-serif=
" size=3D"1">"[email protected]"=0A&lt;[email protected]&gt;</font>=0A<br><font col=
or=3D"#5f5f5f" face=3D"sans-serif" size=3D"1">Date : &nbsp; &nbsp; &nbsp;=
=0A&nbsp;</font><font face=3D"sans-serif" size=3D"1">08/02/2011 23:06</font=
>=0A<br><font color=3D"#5f5f5f" face=3D"sans-serif" size=3D"1">Objet : &nbs=
p; &nbsp;=0A&nbsp; &nbsp;</font><font face=3D"sans-serif" size=3D"1">[jonas=
] Re:=0ARunning 2 (or more) instances of Jonas in the same Linux server</fo=
nt>=0A<br>=0A<hr noshade=3D"noshade">=0A<br>=0A<br>=0A<br><font size=3D"3">=
I think i got it.</font>=0A<br><font size=3D"3">I created a new instance ag=
ain and modified the ports=0Awhenever i got conflicts.</font>=0A<br><font s=
ize=3D"3">It seems to work well.</font>=0A<br><font size=3D"3">In any case,=
 if you still can make a script to make it=0Aeasier ... :)</font>=0A<br>=0A=
<br><font size=3D"3">If anyone is interested, I can detail the files that h=
ave=0Ato be changed in order to run that second instance.</font>=0A<br>=0A<=
br>=0A<hr><font face=3D"Arial" size=3D"2"><b>From:</b> Celinio Fernandes &l=
t;[email protected]&gt;<b><br>=0ATo:</b> "[email protected]" &lt;[email protected]&g=
t;<b><br>=0ASent:</b> Tuesday, August 2, 2011 10:03 PM<b><br>=0ASubject:</b=
> [jonas] Running 2 (or more) instances of Jonas in the same=0ALinux server=
</font><font size=3D"3"><br>=0A</font>=0A<br><font size=3D"3">Hi,<br>=0AI a=
m running an instance of Jonas (JONAS_BASE, using the newjb command)=0A&nbs=
p;on a Linux (Redhat) server.<br>=0A<br>=0AI would like to run a second ins=
tance of Jonas on the same server.<br>=0AOf course I need to change the con=
figuration because I am going to face=0Anumerous port conflicts otherwise (=
jmx, http, rmi, etc).<br>=0A<br>=0AIs there a tutorial / a document / a pag=
e that lists all the modifications=0Aneeded in the various configuration fi=
les in order to run a second<br>=0Ainstance of Jonas ? And eventually a thi=
rd ... etc ?<br>=0A<br>=0AI have already asked the question in this forum b=
ut i am still stuck :=0A<br>=0A</font><a rel=3D"nofollow" target=3D"_blank"=
 href=3D"http://www.developpez.net/forums/d1101461/java/serveurs-conteneurs=
-java-ee/jonas/faire-tourner-plusieurs-instances-jonas-simultanement-meme-m=
achine/"><font size=3D"3">http://www.developpez.net/forums/d1101461/java/se=
rveurs-conteneurs-java-ee/jonas/faire-tourner-plusieurs-instances-jonas-sim=
ultanement-meme-machine/</font></a><font size=3D"3"><br>=0A<br>=0AIt would =
be neat if you guys could provide a script that would modify all=0Athe conf=
iguration files whenever we want to add another instance of Jonas.<br>=0A<b=
r>=0AThanks for helping.</font>=0A<br><font size=3D"3"><br>=0A</font>=0A<br=
></div><br><br></div></div></div></body></html>
--0-928454234-1312738060=:55192--