同一台电脑运行多个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>。

   具体应用中,需做测试。



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值