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 <ARG TYPE="java.lang.String" VALUE="../../log/">
> to <ARG TYPE="java.lang.String" VALUE="../../log/INSTANCE/">
>
>
> ----------------------------------------------------------------------------
> --
> jboss.jcml (where jboss_dist=/usr/java/JBoss-2.2.2_Tomcat-3.2.2/jboss)
> line 72 from <attribute
> name="URL">jdbc:idb:../conf/default/instantdb.properties</attribute>
> to <attribute
> name="URL">jdbc:idb:../conf/INSTANCE/instantdb.properties</attribute>
>
> line 120 from <mbean code="org.jboss.tomcat.EmbeddedTomcatServiceSX"
> name="DefaultDomain:service=EmbeddedTomcat" />
> to <mbean
> code="org.jboss.tomcat.EmbeddedTomcatServiceSX"
> name="DefaultDomain:service=EmbeddedTomcat">
> <attribute
> name="ConfigFile">TOMCAT_DIST/INSTANCE/conf/server.xml</attribute>
> </mbean>
>
> line 144 from <attribute name="DeployerName">Default</attribute>
> to <attribute
> name="DeployerName">INSTANCE</attribute>
>
> line 151 from <attribute name="URLs">../deploy</attribute>
> to <attribute
> name="URLs">../deploy/INSTANCE</attribute>
>
>
> ----------------------------------------------------------------------------
> --
> 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 <ContextManager debug="0" workDir="work"
> showDebugInfo="true" >
> to <ContextManager home="TOMCAT_DIST/INSTANCE"
> 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 <attribute name="Port">1099</attribute>
> to <attribute name="Port">2099</attribute>
>
> line 12 from <attribute name="Port">8083</attribute>
> to <attribute name="Port">9083</attribute>
>
> line 62 from <attribute name="Port">1476</attribute>
> to <attribute name="Port">2476</attribute>
>
> line 93 from <attribute
> name="URL">jdbc:HypersonicSQL:hsql://localhost:1476</attribute>
> to <attribute
> name="URL">jdbc:HypersonicSQL:hsql://localhost:2476</attribute>
>
> line 211 from ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:1476
> to
> ConnectionURL=jdbc:HypersonicSQL:hsql://localhost:2476
>
> line 305 from <attribute name="Port">8082</attribute>
> to <attribute name="Port">9082</attribute>
>
> 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 <Parameter name="port" value="8007"/>
> to <Parameter name="port" value="9007"/>
>
> line 200 from value="8080"/>
> to value="9080"/>
>
> standardjboss.xml
> line 25 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 65 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 108 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 138 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 167 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 205 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 240 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> line 280 from <RMIObjectPort>4444</RMIObjectPort>
> to <RMIObjectPort>5444</RMIObjectPort>
>
> -----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 PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user