Install multiple JBoss ports on Linux that need to be modified

Source: Internet
Author: User

if more than one deployment is deployed on a single machineJBossserver, you need to modify the relevant ports to avoid port conflicts. Currently confirm that the configuration needs to be modified as follows
First,VI $JBOSS _home/server/default/conf/JBoss-service.xml
1. WebService Port
  <mbean code= "org.JBoss. Web. WebService "
     name= "JBoss: Service=webservice ">
     <attribute name= "Port" >8083</attribute>

2. Jndi Port:
  <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 Port:
  <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>

Second,VI $JBOSS _home/server/default/deploy/jbossweb-tomcat55.sar/server.xml
1. HTTP port:
  <connector port= "8080" address= "${JBoss. bind.address} "/>
  <connector port= "8009" address= "${JBoss. bind.address} "/>

Third,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>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.