Distributed Java Applications Fail with 'java.rmi.ConnectIOException: error during JRMP connection establishment' (Doc ID 1380657.1)

Last updated on JULY 01, 2017

Applies to:

Java Platform, Standard Edition - Version 1.4.2 to 7 [Release 1.4 to 7]
Information in this document applies to any platform.

Symptoms

When an application uses Java RMI for access to distributed objects, it may intermittently throw this exception during a call to Context.lookup() or a related method:

java.rmi.ConnectIOException: error during JRMP connection establishment; nested exception is:
java.net.SocketTimeoutException: Read timed out
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:274)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
at sun.rmi.server.UnicastRef.newCall(UnicastRef.java:313)
at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
at java.rmi.Naming.lookup(Naming.java:84)
.....

 

Changes

 

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