修改JBOSS端口.docVIP

  • 2
  • 0
  • 约2.89千字
  • 约 2页
  • 2017-06-08 发布于重庆
  • 举报
修改JBOSS端口

解决两个JBOSS部署在同一台服务器时端口占用问题 当两个JBOSS部署在同一台服务器上时,需要修改下面的端口值 jboss-4.2.2.GA\server\default\deploy\ejb3.deployer\META-INF下打开jboss-service.xml文件 第12行修改3873的端口值 mbean code org.jboss.remoting.transport.Connector name jboss.remoting:type Connector,name DefaultEjb3Connector,handler ejb3 jboss.aop:service AspectDeployer attribute name InvokerLocator socket://$ jboss.bind.address :3873 attribute name Configuration handler jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer下打开server.xml文件 修改80,8009,8443的端口值 第22行修改80端口; 第25行修改8443端口; Connector port 80 address $ jboss.bind.address maxThreads 250 maxHttpHeaderSize 8192 emptySessionPath true protocol HTTP/1.1 enableLookups false redirectPort 8443 acceptCount 100 connectionTimeout 20000 disableUploadTimeout true URIEncoding UTF-8 / 第39行修改8009端口; Connector port 8009 address $ jboss.bind.address protocol AJP/1.3 emptySessionPath true enableLookups false redirectPort 9445 / Engine name jboss.web defaultHost localhost jboss-4.2.2.GA\server\default\conf下打开jboss-service.xml文件,修改8083,1098,1099,4444,4445,4446的端口值 第210行修改8083端口; mbean code org.jboss.web.WebService name jboss:service WebService !-- The Bind address and Port -- attribute name BindAddress $ jboss.bind.address attribute name Port 8083 !-- The address to use for the host portion of the RMI codebase URL -- attribute name Host $ java.rmi.server.hostname !-- Should non-EJB .class files be downloadable -- attribute name DownloadServerClasses true b. 第257行修改1098端口 !-- The port of the RMI naming service, 0 anonymous -- attribute name RmiPort 1098 !-- The RMI service bind address. Empty all addresses -- c. 第251行修改1099的端口值 attribute name Port 1099 d. 第426行修改4444端口值 mbean code org.jboss.invocation.jrmp.server.JRMPInvoker name jboss:service invoker,type jrmp attribute name RMIObjectPort 4444 attribute name ServerAddress $ jboss.bind.address e. 第450行修改4445的端口值 mbean code org.jboss.invocation.pooled.server.PooledInvoker name jboss:service invoker,type pooled attribute name

文档评论(0)

1亿VIP精品文档

相关文档