加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

(转载)Jboss端口修改配置

发布时间:2020-12-17 02:09:54 所属栏目:安全 来源:网络整理
导读:【适用范围】EOS5.0及以上版本 for JBoss【问题描述和定位】如果一台机器运行两个EOS for JBoss实例时,因为都使用了相同的端口,当启动了一个实例后,再启动另外一个实例时,就会报端口已被占用的异常。【解决方案和步骤】通过修改JBoss和EOS的端口配置可以

【适用范围】EOS5.0及以上版本 for JBoss【问题描述和定位】如果一台机器运行两个EOS for JBoss实例时,因为都使用了相同的端口,当启动了一个实例后,再启动另外一个实例时,就会报端口已被占用的异常。【解决方案和步骤】通过修改JBoss和EOS的端口配置可以解决端口占用的问题。1、修改jboss-3.2.5/server/default/conf/jboss-service.xml中的1098,1099,4444,4445,8083端口。端口配置在配置文件中位置如下:...<mbean code="org.jboss.web.WebService" name="jboss:service=WebService"><attribute name="Port">8083</attribute>...<mbean code="org.jboss.naming.NamingService" name="jboss:service=Naming">...<attribute name="Port">1099</attribute>...<attribute name="RmiPort">1098</attribute>...<mbean code="org.jboss.invocation.jrmp.server.JRMPInvoker" name="jboss:service=invoker,type=jrmp"><attribute name="RMIObjectPort">4444</attribute>...<mbean code="org.jboss.invocation.pooled.server.PooledInvoker" name="jboss:service=invoker,type=pooled">...<attribute name="ServerBindPort">4445</attribute>...2、jboss-3.2.5/server/default/conf/jboss-minimal.xml中的1099端口,注意要改成跟jboss-service.xml中的1099一样的。端口配置在配置文件中位置如下:...<mbean code="org.jboss.naming.NamingService" name="jboss:service=Naming">...<attribute name="Port">1099</attribute></mbean>...3、jboss-3.2.5/server/default/deploy/jbossweb-tomcat50.sar/server.xml中8080,8081端口。端口配置在配置文件中位置如下:...<Service name="jboss.web" className="org.jboss.web.tomcat.tc5.StandardService"><!-- A HTTP/1.1 Connector on port 8080 --><Connector port="8080" address="${jboss.bind.address}" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="GBK"/>...<Connector URIEncoding="GBK" enableLookups="true" keystoreFile="keystore" port="8081" redirectPort="8443" scheme="https" secure="true" sslProtocol="TLS"/>...3、jboss-3.2.5/server/default/deploy/jms/uil2-service.xml中的8093端口。端口配置在配置文件中位置如下:...<attribute name="ServerBindPort">8093</attribute>...4、eosserver/config/eosconfig.xml中的1099,30614端口,注意1099端口要改成跟jboss-service.xml中的1099端口一样的。端口配置在配置文件中位置如下:...<group name="DBConnect"><configValue key="dbType">sqlserver2000</configValue><configValue key="context-initial-factory">org.jnp.interfaces.NamingContextFactory</configValue><configValue key="dbprovider">jnp://localhost:1099</configValue>...<module name="cluster"><group name="config"><configValue key="nodeList">127.0.0.1</configValue><configValue key="remoteCallerPort">30614</configValue></group></module>...【备注】1、在同一台机器上做JBoss的负载均衡时,修改配置文件不能参照此文档。2、当JBoss的1099端口改变时,eosconfig.xml里配置的1099端口也要跟着改变。3、如果通过EOS管理控制台(eosmgr)的“构件包信息配置”给构件包配置数据源,注意里面的1099端口也要做相应的修改。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读