一台服务器上运行多个JBOSS会有端口冲突问题,需要改端口的地方不少,大概是这样几个文件需要关注:
%JBOSS_HOME%/server/all/conf/jboss-service.xml
%JBOSS_HOME%/server/all/conf/jacorb.properties
%JBOSS_HOME%/server/all/deploy-hasingleton/jms/uil2-service.xml
%JBOSS_HOME%/server/all/deploy/cluster-service.xml
%JBOSS_HOME%/server/all/deploy/jboss-ws4ee.sar/META-INF/jboss-service.xml
%JBOSS_HOME%/server/all/deploy/snmp-adaptor.sar/META-INF/jboss-service.xml
%JBOSS_HOME%/server/all/deploy/jboss-ws4ee.sar/META-INF/jboss-service.xml
%JBOSS_HOME%/server/all/deploy/jbossweb-tomcat55.sar/server.xml
%JBOSS_HOME%/server/all/deploy-hasingleton/jms/oilservice.xml
Change ServerBindPort from 8090 to 8099
%JBOSS_HOME%/server/all/deploy-hasingleton/jms/oil2-service.xml
Change serverBindPoa from from 8092 to 8199