Article - CS195266

Error "java.rmi.RemoteException: Unable to register slave cache" thrown in ServerManager in Windchill

Modified: 18-Dec-2025   


Applies To

  • Windchill PDMLink 10.1 to 10.2
  • Windchill PDMLink 12.0 to 13.1

Description

  • MethodServers on slaves stuck at one point and cannot proceed
  • Errors in ServerManager.log on the slave in question:
ERROR [main] wt.cache.server - caught cache server call exception
java.rmi.RemoteException: Unable to register slave cache; nested exception is: 
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
    java.rmi.ConnectException: Connection refused to host: <hostname>; nested exception is: 
    java.net.ConnectException: Connection timed out: connect
    at wt.cache.RemoteCacheServer.registerSlaveInternal(RemoteCacheServer.java:244)
    at wt.cache.RemoteCacheServer$1.call(RemoteCacheServer.java:176)
    at wt.cache.RemoteCacheServer$1.call(RemoteCacheServer.java:171)
    at wt.cache.RemoteCacheServer.callTimeAndLogRemoteCallableLow(RemoteCacheServer.java:711)
    at wt.cache.RemoteCacheServer.callTimeAndLogRemoteCallable(RemoteCacheServer.java:684)
    at wt.cache.RemoteCacheServer.registerSlave(RemoteCacheServer.java:169)
    at wt.cache.CacheManager.<init>(CacheManager.java:455)
    at wt.cache.MasterCacheMonitor.<init>(MasterCacheMonitor.java:61)
    at wt.cache.MasterCacheMonitor.getInstance(MasterCacheMonitor.java:48)
    at wt.cache.CacheManager.<init>(CacheManager.java:445)
    at wt.manager.jmx.ServerManagerRegistry.<init>(ServerManagerRegistry.java:63)
    at wt.manager.jmx.ServerManagerRegistry.initRegistry(ServerManagerRegistry.java:86)
    at wt.manager.jmx.ServerManager.<init>(ServerManager.java:146)
    at wt.manager.jmx.ServerManager.newServerManager(ServerManager.java:128)
    at wt.manager.jmx.Startup.<init>(Startup.java:47)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at java.lang.Class.newInstance0(Class.java:357)
    at java.lang.Class.newInstance(Class.java:310)
    at wt.manager.ServerManagerMain.run(ServerManagerMain.java:268)
    at wt.manager.ServerManagerMain.main(ServerManagerMain.java:172)
Caused by: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: 
    java.rmi.ConnectException: Connection refused to host: <hostname>; nested exception is: 
    java.net.ConnectException: Connection timed out: connect
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:334)
    at sun.rmi.transport.Transport$1.run(Transport.java:159)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
    at java.lang.Thread.run(Thread.java:662)
    at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:255)
    at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:233)
    at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:142)
    at wt.cache.CacheManager_Stub.registerSlave(Unknown Source)
    at wt.cache.RemoteCacheServer.registerSlaveInternal(RemoteCacheServer.java:198)
    ... 22 more

 
This is a printer-friendly version of Article 195266 and may be out of date. For the latest version click CS195266