JBOSS端口修改

在一臺機器上部署了多個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>
<script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/buttonLite.js#style=-1&uuid=&pophcol=3&lang=zh"></script> <script type=text/javascript charset=utf-8 src="http://static.bshare.cn/b/bshareC0.js"></script>
閱讀(515) | 評論(0) | 轉發(0) |
0

上一篇:pureftpd安裝配置

下一篇:python,a new begining

給主人留下些什麼吧!~~
評論熱議
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章