-
1. Re: multiple servers?
informsantosh Mar 17, 2005 8:45 AM (in response to slowda)Hi
We are using multiple instances of the Jboss server for each developer.
I will list down the steps, those may not be exact Linux scripts bt I will try to give the detailed steps.
These steps are same for all jboss3.2.x server vesions. I have done for the jboss-3.2.3/5/6 vesrsions.
1) Copy default folder and rename it as dev1.
2. In C:\jboss-3.2.3\server\default\conf\jboss-service.xml, change all the port numbers, prefix 1 to Devloper1(A) and 2 to developer2(B) ,i.e. if port number is 1099, A's will be 11099 and B's will be 21099. Here I only list the changes for A's.
change 8083 to 18083
change 1099 to 11099
change 1098 to 11098/attribute>
change 4444 to 14444
change 4445 to 14445
2. In C:\jboss-3.2.3\server\default\deploy\hsqldb-ds.xml,
change 1701 to 11701
3. In C:\jboss-3.2.3\server\default\deploy\jbossweb-tomcat41.sar\META-INF\jboss-service.xml,
change port 8080 to 18080, 8009 to 18009, and 8443 to 18443
4. In C:\jboss-3.2.3\server\default\deploy\snmp-adaptor.sar\META-INF\jboss-service.xml,
change 1162 to 11162
5. start jboss in C:\jboss-3.2.3\bin
6. start IE and use URL http://localhost:18080/test/Login.jsp for A and http://localhost:28080/test/Login.jsp for B to test the application
Let me know if you still have the problems
Thx
Santosh Korde
my email is informsantosh@linuxmail.org -
2. Re: multiple servers?
didickman Mar 17, 2005 5:05 PM (in response to slowda)Take a look at http://www.jboss.org/wiki/Wiki.jsp?page=Setmultipleinstances