Getting Error: "java.rmi.ConnectException: Connection refused" when Starting the AutoVue Server (Doc ID 753635.1)

Last updated on APRIL 28, 2017

Applies to:

Oracle AutoVue Office - Version 21.0.0 and later
Oracle AutoVue 2D Professional - Version 21.0.0 and later
Oracle AutoVue 3D Professional Advanced - Version 21.0.0 and later
Oracle AutoVue EDA Professional - Version 21.0.0 and later
Oracle AutoVue Electro-Mechanical Professional - Version 21.0.0 and later
Information in this document applies to any platform.

Symptoms

Some of the processes (the '1', '2', '3', '4', ..., 'M' processes in the server console) are failing to start when initializing the AutoVue server. The server log file shows:

java.rmi.ConnectException: Connection refused to host: <HOSTNAME>; nested exception is:
       java.net.ConnectException: Connection refused: connect 
       at sun.rmi.transport.tcp.TCPEndpoint.newSocket(Unknown Source) 
       at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source) 
       at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source) 
       at sun.rmi.server.UnicastRef.newCall(Unknown Source) 
       at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) 
       at java.rmi.Naming.lookup(Unknown Source) 
       at com.cimmetry.jvueserver.JVueServerConsole.getManager(Unknown Source) 
       at com.cimmetry.jvueserver.JVueServerConsole.access$200(Unknown Source) 
       at com.cimmetry.jvueserver.JVueServerConsole$2.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect 
       at java.net.PlainSocketImpl.socketConnect(Native Method) 
       at java.net.PlainSocketImpl.doConnect(Unknown Source) 
       at java.net.PlainSocketImpl.connectToAddress(Unknown Source) 
       at java.net.PlainSocketImpl.connect(Unknown Source) 
       at java.net.SocksSocketImpl.connect(Unknown Source) 
       at java.net.Socket.connect(Unknown Source) 
       at java.net.Socket.connect(Unknown Source) 
       at java.net.Socket.<init>(Unknown Source) 
       at java.net.Socket.<init>(Unknown Source) 
       at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown Source) 
       at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown Source) 
       at com.cimmetry.jvueserver.VueRMISocketFactory.createSocket(Unknown Source) 
       ... 9 more

Where <HOSTNAME> is the name of the server machine.

This exception is listed multiple times in the log file, and the stack traces always contain the line:

at com.cimmetry.jvueserver.VueRMISocketFactory.createSocket(Unknown Source)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms