Running JBoss As a multiple instance

Some people are willing to run multiple instance of JBoss in same machine.

While duplicating JBoss you might get Binding Exception or java.net.BindException: Address already in use: JVM_Bind

Here is the tips to run multiple instance or Two jboss in same machine. Change the following ports.

The following examples are suits for jboss version 4.2.3.GA

Note :JBOSS_HOME - Path where the jboss is configured for example c:/jboss-4.2.3.GA


1.JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml

1. change 8080 to 18080

2. change 8443 to 18443

3. change 8009 to 18009
2. JBOSS_HOME/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml

1. change 8080 to 18080
3. JBOSS_HOME/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml


1. change 8080 to 18080

2. change 8443 to 18443
4.JBOSS_HOME/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml

1. change 3873 to 13873 or change 13873 to 23873
5.JBOSS_HOME /server/default/deploy/jms/uil2-service.xml

1. change 18083 to 19093
6.JBOSS_HOME /server/default/conf/jboss-minimal.xml

1. change 11099 to 21099

2. change 11098 to 21098

7. JBOSS_HOME /server/default/conf/jobss-service.xml


1. change 11099 to 21099

2. change 11098 to 21098

3. change 14444 to 24444

4. change 14445 to 24445

5. change 14446 to 24446
8.JBOSS_HOME /server/default/deploy/jbossweb.deployer/server.xml


1. change 9090 to 19090

2. change 8443 to 18443

3. change 9009 to 19009
Some people are willing to run multiple instance of JBoss in same machine.

While duplicating JBoss you might get Binding Exception or java.net.BindException: Address already in use: JVM_Bind

Here is the tips to run multiple instance or Two jboss in same machine. Change the following ports.

The following examples are suits for jboss version 4.2.3.GA

Note
:
JBOSS_HOME - Path where the jboss is configured for example c:/jboss-4.2.3.GA



1.JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml

1. change 8080 to 18080
2. change 8443 to 18443
3. change 8009 to 18009
2. JBOSS_HOME/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml

1. change 8080 to 18080
3. JBOSS_HOME/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml

1. change 8080 to 18080
2. change 8443 to 18443
4.JBOSS_HOME/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml
1. change 3873 to 13873 or change 13873 to 23873
5.JBOSS_HOME /server/default/deploy/jms/uil2-service.xml
1. change 18083 to 19093
6.JBOSS_HOME /server/default/conf/jboss-minimal.xml
1. change 11099 to 21099
2. change 11098 to 21098

7. JBOSS_HOME /server/default/conf/jobss-service.xml

1. change 11099 to 21099
2. change 11098 to 21098
3. change 14444 to 24444
4. change 14445 to 24445
5. change 14446 to 24446
8.JBOSS_HOME /server/default/deploy/jbossweb.deployer/server.xml

1. change 9090 to 19090
2. change 8443 to 18443
3. change 9009 to 19009
- See more at: http://ktpot.com/technicalshare/entry/running-jboss-as-a-multiple#sthash.bjrYNfp1.dpuf
Some people are willing to run multiple instance of JBoss in same machine.

While duplicating JBoss you might get Binding Exception or java.net.BindException: Address already in use: JVM_Bind

Here is the tips to run multiple instance or Two jboss in same machine. Change the following ports.

The following examples are suits for jboss version 4.2.3.GA

Note
:
JBOSS_HOME - Path where the jboss is configured for example c:/jboss-4.2.3.GA



1.JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml

1. change 8080 to 18080
2. change 8443 to 18443
3. change 8009 to 18009
2. JBOSS_HOME/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml

1. change 8080 to 18080
3. JBOSS_HOME/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml

1. change 8080 to 18080
2. change 8443 to 18443
4.JBOSS_HOME/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml
1. change 3873 to 13873 or change 13873 to 23873
5.JBOSS_HOME /server/default/deploy/jms/uil2-service.xml
1. change 18083 to 19093
6.JBOSS_HOME /server/default/conf/jboss-minimal.xml
1. change 11099 to 21099
2. change 11098 to 21098

7. JBOSS_HOME /server/default/conf/jobss-service.xml

1. change 11099 to 21099
2. change 11098 to 21098
3. change 14444 to 24444
4. change 14445 to 24445
5. change 14446 to 24446
8.JBOSS_HOME /server/default/deploy/jbossweb.deployer/server.xml

1. change 9090 to 19090
2. change 8443 to 18443
3. change 9009 to 19009
- See more at: http://ktpot.com/technicalshare/entry/running-jboss-as-a-multiple#sthash.bjrYNfp1.dpuf
Some people are willing to run multiple instance of JBoss in same machine.

While duplicating JBoss you might get Binding Exception or java.net.BindException: Address already in use: JVM_Bind

Here is the tips to run multiple instance or Two jboss in same machine. Change the following ports.

The following examples are suits for jboss version 4.2.3.GA

Note
:
JBOSS_HOME - Path where the jboss is configured for example c:/jboss-4.2.3.GA



1.JBOSS_HOME/server/all/deploy/jboss-web.deployer/server.xml

1. change 8080 to 18080
2. change 8443 to 18443
3. change 8009 to 18009
2. JBOSS_HOME/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml

1. change 8080 to 18080
3. JBOSS_HOME/server/default/deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml

1. change 8080 to 18080
2. change 8443 to 18443
4.JBOSS_HOME/server/all/deploy/ejb3.deployer/META-INF/jboss-service.xml
1. change 3873 to 13873 or change 13873 to 23873
5.JBOSS_HOME /server/default/deploy/jms/uil2-service.xml
1. change 18083 to 19093
6.JBOSS_HOME /server/default/conf/jboss-minimal.xml
1. change 11099 to 21099
2. change 11098 to 21098

7. JBOSS_HOME /server/default/conf/jobss-service.xml

1. change 11099 to 21099
2. change 11098 to 21098
3. change 14444 to 24444
4. change 14445 to 24445
5. change 14446 to 24446
8.JBOSS_HOME /server/default/deploy/jbossweb.deployer/server.xml

1. change 9090 to 19090
2. change 8443 to 18443
3. change 9009 to 19009
- See more at: http://ktpot.com/technicalshare/entry/running-jboss-as-a-multiple#sthash.bjrYNfp1.dpuf

0 comments: