在Linux上安裝多Jboss個需要修改的連接埠

來源:互聯網
上載者:User

標籤:des   c   code   http   a   linux   

如果在一台機器上部署了多個jboss server,需要修改相關連接埠以避免連接埠衝突。目前確認需要修改的配置如下
一、vi $JBOSS_HOME/server/default/conf/jboss-service.xml
1、WebService連接埠
   <mbean code="org.jboss.web.WebService"
      name="jboss:service=WebService">
      <attribute name="Port">8083</attribute>

2、JNDI連接埠:
   <mbean code="org.jboss.naming.NamingService"
      name="jboss:service=Naming"
      xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
<attribute name="Port">1099</attribute>

<attribute name="Port">1098</attribute>

3、RMI連接埠:
   <mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker"
      name="jboss:service=invoker,type=jrmp">
      <attribute name="RMIObjectPort">4444</attribute>
   </mbean>
   <mbean code="org.jboss.invocation.pooled.server.PooledInvoker"
      name="jboss:service=invoker,type=pooled">
<attribute name="ServerBindPort">4445</attribute>
   </mbean>

二、vi $JBOSS_HOME/server/default/deploy/jbossweb-tomcat55.sar/server.xml
1、HTTP連接埠:
   <Connector port="8080" address="${jboss.bind.address}"/>
   <Connector port="8009" address="${jboss.bind.address}"/>

三、vi $JBOSS_HOME/server/default/deploy/jms/uil2-service.xml
1、JMS:
     <mbean code="org.jboss.mq.il.uil2.UILServerILService">
          <attribute name="ServerBindPort">8093</attribute>

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.