jboss服務器修改端口說明


 

如果一台機器安裝多個jboss服務器,就需要修改服務器的端口號,否則各個服務器之間會有沖突。
目前確認需要修改的配置如下
一、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/jboss-web.deployer/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>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM