- 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
您可能关注的文档
最近下载
- 新人教版九年级下册化学全册课件.pptx VIP
- 圆周运动(二)圆周运动中的动力学问题.pdf VIP
- 普通党员2025年度组织生活会对照检查材料(五个对照).docx VIP
- 2025年春新课程能力培养七年级英语下册人教版答案.pdf VIP
- 2026年政府工作报告PPT课件.pptx VIP
- 普通党员2025年度组织生活会对照检查材料(五个对照).doc VIP
- (初中道法)2024年河南省中考《道德与法治》真题(解析版).pdf
- GB 311.1-2012 绝缘配合 第1部分:定义、原则和规则.docx VIP
- 慢加急性肝衰竭诊治指南(2025 年版).pptx VIP
- DB13(J)_T 8326-2019 村镇易地搬迁安置房屋质量标准.docx
原创力文档

文档评论(0)