jboss服务器修改端口说明

来源:互联网 发布:list map去重复数据 编辑:程序博客网 时间:2024/05/20 06:31

今天学习了jboss服务器,使用环境是多个终端访问同一个主机,需要主机上为每个用户配置jboss端口,否则有冲突。

 

需要配置的端口如下:

 

一、vi $JBOSS_HOME/server/default/conf/jboss-service.xml
1、WebService端口

  <mbeancode="org.jboss.web.WebService"
     name="jboss:service=WebService">
     <attributename="Port">8083</attribute>

2、JNDI端口:
   <mbeancode="org.jboss.naming.NamingService"
     name="jboss:service=Naming"
     xmbean-dd="resource:xmdesc/NamingService-xmbean.xml">
<attributename="Port">1099</attribute>

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

3、RMI端口:
   <mbeancode="org.jboss.invocation.jrmp.server.JRMPInvoker"
     name="jboss:service=invoker,type=jrmp">
     <attributename="RMIObjectPort">4444</attribute>
  </mbean>
   <mbeancode="org.jboss.invocation.pooled.server.PooledInvoker"
     name="jboss:service=invoker,type=pooled">
<attributename="ServerBindPort">4445</attribute>
  </mbean>

二、vi$JBOSS_HOME/server/default/deploy/jboss-web.deployer/server.xml
1、HTTP端口:
   <Connectorport="8080" address="${jboss.bind.address}"/>
   <Connectorport="8009" address="${jboss.bind.address}"/>

三、vi $JBOSS_HOME/server/default/deploy/jms/uil2-service.xml
JMS:
    <mbeancode="org.jboss.mq.il.uil2.UILServerILService">
         <attributename="ServerBindPort">8093</attribute>
原创粉丝点击