`

【备忘】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。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics