读书人

同一台电脑运行多个JBoss时端口号修改

发布时间: 2014-05-28 16:19:02 作者: rapoo

同一台电脑运行多个JBoss时端口号修改问题

当在同一台机器上运行两个JBOSS实例的时候,则需要修改在以下端口号:

1. default\conf\jboss-service.xml中的1098,1099,4444,4445,8083:

??? ===> line : 191 --<attribute name="RmiPort">1098</attribute>
????????????????????? <attribute name="RmiPort">59200</attribute>
?
??? ===> line : 185 --<attribute name="Port">1099</attribute>? 和

?????????????????????? 应用程序中的配置文件“applicationContext.xml”文件中
????????????????????? <attribute name="Port">59300</attribute>?? “jnp://localhost:”号保持一致(jnidiTemplate)。

??? ===> line : 306 --<attribute name="RMIObjectPort">4444</attribute>
????????????????????? <attribute name="RMIObjectPort">57214</attribute>

??? ===> line : 330 --<attribute name="ServerBindPort">4445</attribute>
????????????????????? <attribute name="ServerBindPort">57219</attribute>

??? ===> line : 164 --<attribute name="Port">8083</attribute>
????????????????????? <attribute name="Port">52144</attribute>

2. default\deploy\jbossweb-tomcat50.sar\server.xml中8080 ; 访问端口:

???? ===>? line :12--- 8080== 59100;
???? ===>? line :28--- 8443== 8453;

3. default\deploy\jms\uil2-service.xml中的8093端口,端口号<60000:

??? ===>line 22-- <attribute name="ServerBindPort">8093</attribute>
????????????????? ? ? ? ?? <attribute name="ServerBindPort">52154</attribute>。

?? 具体应用中,需做测试。

读书人网 >操作系统

热点推荐