在Linux上安装多个jboss需要修改的端口

如果在一台机器上部署了多个jboss server,需要修改相关端口以避免端口冲突。目前确认需要修改的配置如下
[color=red]一、[/color]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>

[color=red]二、[/color]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}"/>

[color=red]三、[/color]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>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值