状况描述:
ArcGIS Server启动后就,运行几秒钟后自动停止。
同时出现的情况:本机上的Tomcat无法启动,提示各个端口被占用
service_error.log日志
星期四 一月 11 11:51:03 CST 2018:java.lang.RuntimeException: Failed to start JMX Server
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:45)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.startJMXServer(NodeAgent.java:509)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.start(NodeAgent.java:160)
at com.esri.arcgis.discovery.nodeagent.impl.Main.start(Main.java:51)
Caused by: java.lang.IllegalArgumentException: Port value out of range: 65536
at java.net.ServerSocket.<init>(ServerSocket.java:232)
at java.net.ServerSocket.<init>(ServerSocket.java:181)
at com.esri.arcgis.discovery.util.IPUtil.isPortAvailable(IPUtil.java:628)
at com.esri.arcgis.discovery.util.JMXServerController.c(JMXServerController.java:154)
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:36)
... 3 more
com.esri.arcgis.discovery.nodeagent.NodeAgentException: Could not start RMI connector. An instance of NodeAgent may be running or the JMX-RMI port is in use by another process.
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.start(NodeAgent.java:163)
at com.esri.arcgis.discovery.nodeagent.impl.Main.start(Main.java:51)
Caused by: java.lang.RuntimeException: Failed to start JMX Server
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:45)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.startJMXServer(NodeAgent.java:509)
at com.esri.arcgis.discovery.nodeagent.impl.NodeAgent.start(NodeAgent.java:160)
... 1 more
Caused by: java.lang.IllegalArgumentException: Port value out of range: 65536
at java.net.ServerSocket.<init>(ServerSocket.java:232)
at java.net.ServerSocket.<init>(ServerSocket.java:181)
at com.esri.arcgis.discovery.util.IPUtil.isPortAvailable(IPUtil.java:628)
at com.esri.arcgis.discovery.util.JMXServerController.c(JMXServerController.java:154)
at com.esri.arcgis.discovery.util.JMXServerController.start(JMXServerController.java:36)
... 3 more
解决思路:
尝试几乎所有能百度到方法
已经定位到了arcgis server集成的tomcat不能启动导致
导致因素:
用360优化了下系统,包括LSP修复等
最终解决方法:
解决其他的tomcat无法启动时,解决了这个tomcat启动问题后,意外发现arcgis server已经可以运行(其实就是arcgis server集成的tomcat也可以运行了)。
解决方案:1,以管理员身份打开命令提示符
2,输入 netsh winsock reset
3,重启电脑就ok了winsock是Windows网络编程接口,winsock工作在应用层,它提供与底层传输协议无关的高层数据传输编程接口 netsh winsock reset 是把它恢复到默认状态