RE: [JBoss-user] Two copies of Jboss2.4.1/tomcat3.2.3 on the same machine
I think you will also need to do similar for jboss/tmp and depending on your setup (most likely) do something with jboss/db cheers dim On Thu, 13 Sep 2001, Bruyn, Bill wrote: > Hi Tony, > > This is about how I did it for 2.3.3/3.2.3, I think. Enjoy... > > 1. Create subdirectories for each instance at jboss/conf jboss/deploy, > jboss/log, and tomcat > 2. Change the following configuration entries at conf/INSTANCE > > > -- > jboss.conf > line 6 from >to > > > > -- > jboss.jcml (where jboss_dist=/usr/java/JBoss-2.2.2_Tomcat-3.2.2/jboss) > line 72 from name="URL">jdbc:idb:../conf/default/instantdb.properties >toname="URL">jdbc:idb:../conf/INSTANCE/instantdb.properties > > line 120 from name="DefaultDomain:service=EmbeddedTomcat" /> > tocode="org.jboss.tomcat.EmbeddedTomcatServiceSX" > name="DefaultDomain:service=EmbeddedTomcat"> > name="ConfigFile">TOMCAT_DIST/INSTANCE/conf/server.xml > > > line 144 from Default > toname="DeployerName">INSTANCE > > line 151 from ../deploy > toname="URLs">../deploy/INSTANCE > > > > -- > log4j.properties > line 8 from log4j.appender.Default.File=../log/server.log > to log4j.appender.Default.File=../log/INSTANCE/server.log > > > 3. Change the following at TOMCAT_DIST/INSTANCE > > > -- > server.xml > line 69-70 from verbosityLevel = "INFORMATION" > /> >to path="../../tomcat/INSTANCE/logs/tomcat.log" > verbosityLevel = "INFORMATION"/> > > line 73 from path="logs/servlet.log" > to path="../../tomcat/INSTANCE/logs/servlet.log" > > line 77 from path="logs/jasper.log" > to path="../../tomcat/INSTANCE/logs/jasper.log" > > line 102 from showDebugInfo="true" > > to debug="0" workDir="work" > showDebugInfo="true" > > > 4. Resolve interface conflicts (where new ports are available, obviously) > > > > jnp.properties > line 2 from jnp.port=1099 >to jnp.port=2099 > > jndi.properties > line 2 from #java.naming.provider.url=localhost >to java.naming.provider.url=jnp://localhost:2099 > > jboss.jcml > line 17 from 1099 > to 2099 > > line 12 from 8083 > to 9083 > > line 62 from 1476 >to 2476 > > line 93 from name="URL">jdbc:HypersonicSQL:hsql://localhost:1476 >to name="URL">jdbc:HypersonicSQL:hsql://localhost:2476 > > line 211 from ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476 > to > ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:2476 > > line 305 from 8082 > to 9082 > > jboss.properties > line 5 from #java.rmi.server.codebase=http://localhost:8080/ > to #java.rmi.server.codebase=http://localhost:9080/ > > server.xml > line 235 from > to > > line 200 from value="8080"/> > to value="9080"/> > > standardjboss.xml > line 25 from > to 5444 > > line 65 from >to 5444 > > line 108 from > to 5444 > > line 138 from > to 5444 > > line 167 from > to 5444 > > line 205 from > to 5444 > > line 240 from > to 5444 > > line 280 from > to 5444 > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Thursday, September 13, 2001 5:02 AM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Two copies of Jboss2.4.1/tomcat3.2.3 on the same > machine > > > Hi, > > I'm trying two run two instances of Jboss2.4.1/tomcat3.2.2 on the same > machine, can anyone define the configuration files that need to be updated. > > Cheers > > TC >
RE: [JBoss-user] Two copies of Jboss2.4.1/tomcat3.2.3 on the same machine
Hi Tony, This is about how I did it for 2.3.3/3.2.3, I think. Enjoy... 1. Create subdirectories for each instance at jboss/conf jboss/deploy, jboss/log, and tomcat 2. Change the following configuration entries at conf/INSTANCE -- jboss.conf line 6 from to -- jboss.jcml (where jboss_dist=/usr/java/JBoss-2.2.2_Tomcat-3.2.2/jboss) line 72 from jdbc:idb:../conf/default/instantdb.properties to jdbc:idb:../conf/INSTANCE/instantdb.properties line 120 from to TOMCAT_DIST/INSTANCE/conf/server.xml line 144 from Default to INSTANCE line 151 from ../deploy to ../deploy/INSTANCE -- log4j.properties line 8 from log4j.appender.Default.File=../log/server.log to log4j.appender.Default.File=../log/INSTANCE/server.log 3. Change the following at TOMCAT_DIST/INSTANCE -- server.xml line 69-70 from verbosityLevel = "INFORMATION" /> to path="../../tomcat/INSTANCE/logs/tomcat.log" verbosityLevel = "INFORMATION"/> line 73 from path="logs/servlet.log" to path="../../tomcat/INSTANCE/logs/servlet.log" line 77 from path="logs/jasper.log" to path="../../tomcat/INSTANCE/logs/jasper.log" line 102 from to 4. Resolve interface conflicts (where new ports are available, obviously) jnp.properties line 2 from jnp.port=1099 to jnp.port=2099 jndi.properties line 2 from #java.naming.provider.url=localhost to java.naming.provider.url=jnp://localhost:2099 jboss.jcml line 17 from 1099 to 2099 line 12 from 8083 to 9083 line 62 from 1476 to 2476 line 93 from jdbc:HypersonicSQL:hsql://localhost:1476 to jdbc:HypersonicSQL:hsql://localhost:2476 line 211 from ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476 to ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:2476 line 305 from 8082 to 9082 jboss.properties line 5 from #java.rmi.server.codebase=http://localhost:8080/ to #java.rmi.server.codebase=http://localhost:9080/ server.xml line 235 from to line 200 from value="8080"/> to value="9080"/> standardjboss.xml line 25 from to 5444 line 65 from to 5444 line 108 from to 5444 line 138 from to 5444 line 167 from to 5444 line 205 from to 5444 line 240 from to 5444 line 280 from to 5444 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 13, 2001 5:02 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Two copies of Jboss2.4.1/tomcat3.2.3 on the same machine Hi, I'm trying two run two instances of Jboss2.4.1/tomcat3.2.2 on the same machine, can anyone define the configuration files that need to be updated. Cheers TC > Tony Cadogan > Technology > Tel: 020 7574 8120 > Fax: 020 7574 8141 > Mobile: > E Mail: [EMAIL PROTECTED] > > Halifax Group Treasury & Wholesale Banking > 33 Old Broad Street > London > EC2N 1HZ > > Halifax Group Treasury & Wholesale Banking is a division of Halifax plc. > Registered in England No. 2367076. Registered Office: Trinity Road, > Halifax, West Yorkshire HX1 2RG > > > > -- Halifax Group Treasury & Wholesale Banking is a division of Halifax plc. Registered in England No. 2367076. Registered Office: Trinity Road, Halifax, West Yorkshire HX1 2RG. == ___ JBoss-user mailing list [EMAIL PROT
Re: [JBoss-user] Two copies of Jboss2.4.1/tomcat3.2.3 on the same machine
Hi, I think you can. However it may require changing of one the JBoss/TC installation ports. In this installation change the port which Tomcat listens to something other than the default port or to a port not been listened by the other TC installation. Then do the same for the JNDI from 1099 to another port not been used by another process. Then of course you have to make neccessary changes to let the JBoss installation to know which port TC is running on and so on. Allan. --- [EMAIL PROTECTED] wrote: > Hi, > > I'm trying two run two instances of > Jboss2.4.1/tomcat3.2.2 on the same > machine, can anyone define the configuration files > that need to be updated. > > Cheers > > TC > > > Tony Cadogan > > Technology > > Tel: 020 7574 8120 > > Fax: 020 7574 8141 > > Mobile: > > E Mail: [EMAIL PROTECTED] > > > > Halifax Group Treasury & Wholesale Banking > > 33 Old Broad Street > > London > > EC2N 1HZ > > > > Halifax Group Treasury & Wholesale Banking is a > division of Halifax plc. > > Registered in England No. 2367076. Registered > Office: Trinity Road, > > Halifax, West Yorkshire HX1 2RG > > > > > > > > > > -- > Halifax Group Treasury & Wholesale Banking is a > division of Halifax plc. Registered in England No. > 2367076. Registered Office: Trinity Road, Halifax, > West Yorkshire HX1 2RG. > > == > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user __ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user