Article - CS59006
"ERROR: java.rmi.ConnectException: Connection refused to host" displayed on Server Status page in the Windchill Directory Server section in Windchill
Modified: 18-Mar-2025
Applies To
- Windchill PDMLink 10.0 to 13.0
- FlexPLM 9.2 to 10.1
Description
- Server Status page shows below in the Windchill Directory Server section:
ERROR: java.rmi.ConnectException: Connection refused to host displayed
- If a Windchill cluster environment, it will be also very slow to display the Server Status page
- Server Status page shows below, note the hostname
ERROR: java.rmi.ConnectException: Connection refused to host ###.###.###.###; nested exception is: java.net.ConnectionException: Connection timed out: connect
- The MethodServer log shows below, note the hostname or IP address and JMX Port
wt.util.jmx.WDSJMXConnector - Error connecting to JMX URL: service:jmx:rmi:///jndi/rmi://<WindchillDS_host_name>:<JMX Port>/org.opends.server.protocols.jmx.client-unknown ERROR [ajp-bio-8012-exec-1] wtcore.jsp.jmx.serverStatus wcadmin - Failed to retrieve results from WindchillDS java.rmi.ConnectException: Connection refused to host: ###.######.###; nested exception is: java.net.ConnectException: A remote host did not respond within the timeout period. at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128) at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source) at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2373) at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:297) at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268) at wt.util.jmx.WDSJMXConnector.getWDSJMXConnector(WDSJMXConnector.java:301) at wt.util.jmx.WDSJMXConnector.getWDSJMXConnector(WDSJMXConnector.java:267) at org.apache.jsp.wtcore.jsp.jmx.serverStatus_jsp._jspService(serverStatus_jsp.java:543)
- Server Status Page shows below error for Slave 1 of dedicated cluster:
ERROR: java.rmi.ConnectException: Connection refused to host ###.###.###.###
- Unable to see Method Server from Slave 1 in Server Status Page
- When Server Status Page is opened for clustered environment, Server Manager log for Slave 1 shows :
wt.manager.jmx.MethodServerMProxy - Error invoking invokeInfoOpInAllLocalMethodServers on com.ptc:wt.processGroup=MethodServers across all server managers at XXX@XXXXX java.rmi.ConnectException: Connection refused to host:<XXXXX>
This is a printer-friendly version of Article 59006 and may be out of date. For the latest version click CS59006