FAQ-集群停失败,rmi端口冲突

栏目:eas cloud知识作者:金蝶来源:金蝶云社区发布:2024-09-16浏览:1

FAQ-集群停失败,rmi端口冲突

适用版本所有版本问题描述停止集群、删除群集报错
报错日志:删除集群报错日志:com.kingdee.eas.tools.admin.domain.DomainException: removeCluster failed!cause by java.lang.Exception: Connection refused ............Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: bos at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.connectClusterControl(RPCLoadbalanceMonitorProviderImpl.java:361) ... 14 moreCaused by: javax.naming.NameNotFoundException: bos.
停止集群报错:
错误原因:异常信息解决方案:请将如下错误信息提单反馈 [com.kingdee.eas.tools.admin.domain.DomainException: Stop cluster loadbalance failed!cause by java.lang.Exception: Connection refused ..........Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: bos at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:317) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:248) at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.connectClusterControl(RPCLoadbalanceMonitorProviderImpl.java:361) ... 16 more





[2019-05-22 09:19:00,674 ERROR]Monitor EAS Server ConnectionPool&ThreadPool failed.
java.lang.Exception: Connection refused

at
com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.connectClusterControl(RPCLoadbalanceMonitorProviderImpl.java:478)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.testServerConnect(RPCLoadbalanceMonitorProviderImpl.java:436)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.confirmStandbyCC(RPCLoadbalanceMonitorProviderImpl.java:301)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.isCCRunning(RPCLoadbalanceMonitorProviderImpl.java:873)
at com.kingdee.eas.tools.admin.domain.impl.DefaultAdminDomain$MonitorEASServerThread.run(DefaultAdminDomain.java:1255)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: bos
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.connectClusterControl(RPCLoadbalanceMonitorProviderImpl.java:474)
... 5 more
Caused by: javax.naming.NameNotFoundException: bos
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:116)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1929)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1896)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:286)
... 7 more
[2019-05-22 09:19:01,925 ERROR]Registry listener to cc error
java.lang.Exception: Connection refused

at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.connectClusterControl(RPCLoadbalanceMonitorProviderImpl.java:478)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.testServerConnect(RPCLoadbalanceMonitorProviderImpl.java:436)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.confirmStandbyCC(RPCLoadbalanceMonitorProviderImpl.java:301)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.addNotificationListener(RPCLoadbalanceMonitorProviderImpl.java:751)
at com.kingdee.eas.tools.admin.domain.impl.DefaultAdminDomain$AddLBManageListenerThread.run(DefaultAdminDomain.java:1560)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.NameNotFoundException: bos
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:369)
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
at com.kingdee.eas.tools.admin.eas.provider.RPCLoadbalanceMonitorProviderImpl.connectClusterControl(RPCLoadbalanceMonitorProviderImpl.java:474)
... 5 more
Caused by: javax.naming.NameNotFoundException: bos
at com.sun.jndi.rmi.registry.RegistryContext.lookup(RegistryContext.java:116)
at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:203)
at javax.naming.InitialContext.lookup(InitialContext.java:411)
at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1929)
at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1896)
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:286)

原因分析:
查看此文件,$EAS_HOME\eas\server\cluster\jmxconnector.properties中的http.port和rmi.port端口,发现rmi端口被easservices的进程所占用,因此导致了群集无法停止及删除。
解决方法:
停止easservices进程,并将该服务设置为手动启动,避免下次占用端口。或者在配置文件$EAS_HOME\eas\server\cluster\jmxconnector.properties和jmxconnector_standby.properties 将rmi端口分别修改为其他不常用的端口。(例如将jmxconnector.properties中的rmi.port修改为12010,将jmxconnector_standby.properties中的rmi.port修改为12012)
关键字
群集停止失败 端口占用。

FAQ-集群停失败,rmi端口冲突

适用版本所有版本问题描述停止集群、删除群集报错报错日志:删除集群报错日志:com.kingdee.eas.tools.admin.domain.DomainException: rem...
点击下载文档
确认删除?
回到顶部
客服QQ
  • 客服QQ点击这里给我发消息