JBoss 的端口设置修改

我今天用的是jboss-4.2.3.GA-jdk 这个版本。

由于我的机器中已经有一个B/S架构的监控软件运行,它自带了jboss。所以跟我的jboss的端口冲突。

 

1.到jboss-4.2.3.GA\server\default\deploy\jboss-web.deployer下,打开server.xml,修改默认的8080端口为8081.

 

2.然后到jboss-4.2.3.GA\server\default\conf\jboss-service.xml 修改相应的同那个监控软件自带的jboss冲突的端口.

 

3.然后到jboss-4.2.3.GA\bin下重新运行run.bat 即可重新启动了.

 

JBOSS默认的各种设置文件中通常定义了以下几个端口:

 

1: The ports found in the default configuration Port Type Service

。1099 TCP org.jboss.naming.NamingService 
。1098 TCP org.jboss.naming.NamingService 
。1162 UDP org.jboss.jmx.adaptor.snmp.trapd.TrapdService 
。4444 TCP org.jboss.invocation.jrmp.server.JRMPInvoker 
。4445 TCP org.jboss.invocation.pooled.server.PooledInvoker 
。8009 TCP org.jboss.web.tomcat.tc4.EmbeddedTomcatService 
。8009 TCP org.jboss.web.tomcat.tc4.EmbeddedTomcatService 
。8083 TCP org.jboss.web.WebService 
。8090 TCP org.jboss.web.OILServerILService 
。8092 TCP org.jboss.mq.il.oil2.OIL2ServerILService 
。8093 TCP org.jboss.mq.il.uil2.UILServerILService 
。0a TCP org.jboss.mq.il.rmi.RMIServerILService 
。0b UDP org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService 
a, This service binds to an anonymous TCP port and does not support configuration of the port or bind interface currently(3.2.2). 
b, This service binds to an anonymous UDP port and does not support configuration of the port or bind interface.(3.2.2).

 

 

2: Additional ports found in the all configuration Port Type Service 
。1100 TCP org.jboss.ha.jndi.HANamingService 
。0a TCP org.jboss.ha.jndi.HANamingService 
。1102 UDP org.jboss.ha.jndi.HANamingService 
。3528 TCP org.jboss.invocation.iiop.IIOPInvoker 
。45566b TCP org.jboss.ha.framework.server.ClusterPartition 
a, Currently anonymous but can be set via the RmiPort attribute 
b, Plus two additional anonymous UDP ports, one can be set using the rcv_port, and the other cannot be seen。


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值