This content has been marked as final.
Show 3 replies
-
1. Re: Start up 2 JBoss in same machine
kalimero Jan 8, 2007 7:22 AM (in response to lamas)This ports are used in JBoss 4.0.5 GA (all we are using)
defaultdeploy/naming.sar/META-INF/jboss-service.xml <attribute name="Port">***NamingService.Port***</attribute> deploy/naming.sar/META-INF/jboss-service.xml <attribute name="RmiPort">***NamingService.RmiPort***</attribute>
tomcatdeploy/jbossweb-tomcat55.sar/server.xml: <Connector port="***StandardService.port***" address="${jboss.bind.address}" deploy/jbossweb-tomcat55.sar/server.xml: enableLookups="false" redirectPort="***StandardService.redirectPort***" acceptCount="100" if using AJP13 correct 8009 and 8443: <!-- <Connector port="8009" address="${jboss.bind.address}" emptySessionPath="true" enableLookups="false" redirectPort="8443" protocol="AJP/1.3"/> -->
Classloading, Naming, etc...deploy/dynclassloader-service.xml: <attribute name="Port">***dynclassloader.Port***</attribute> deploy/invokers-service.xml: <attribute name="RMIObjectPort">***JRMPInvoker.RMIObjectPort***</attribute> deploy/invokers-service.xml: <attribute name="ServerBindPort">***PooledInvoker.ServerBindPort***</attribute>
Hibernateif using ejb3 (hibernate) deploy/ejb3.deployer/META-INF/jboss-service.xml: <attribute name="InvokerLocator">socket://${jboss.bind.address}:***ejb3deployer.port***</attribute>
Default ports***NamingService.Port*** - 1099 ***NamingService.RmiPort*** - 1098 ***StandardService.port*** - 8080 ***StandardService.redirectPort*** - 8443 ***dynclassloader.Port*** - 8083 ***JRMPInvoker.RMIObjectPort*** - 4444 ***PooledInvoker.ServerBindPort*** - 4445 ***ejb3deployer.port*** - 8873
lg
Wolfgang -
2. Re: Start up 2 JBoss in same machine
peterj Jan 8, 2007 10:34 AM (in response to lamas)Look at the ./docs/examples/binding-manager/sample-bindings.xml file. It simplifies setting ports for 2 servers.
The other option for running two servers is to bind each to its own IP address. Of course, you need to either be able to assign multiple IP addresses to a NIC, or have multiple NICs. Then each server can use the same ports, just different addresses. -
3. Re: Start up 2 JBoss in same machine
lamas Jan 9, 2007 1:45 AM (in response to lamas)Thanks very much!!! it works perfectly~~