Java – error in jrmp connection establishment

I'm tracking exceptions:

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:293)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)

I read some forums in this regard, but I didn't find out the root cause of this exception Is this due to one of the following reasons?

>Out of memory. > The RMI call failed due to the increase in the number of requests to the server, resulting in one of the requests waiting and the request processing timeout. > Incompatible JRE version or anything related to JRE version. > Any network related issues. > Firewall related

Solution

Not on the client It may be on the server if it causes, for example, allocation thread failure

No The error occurred during the connection establishment phase, long before calling the server - side method implementation

No,

Yes

can't. This can cause a connection timeout or, in some cases, a connection rejection instead of a read timeout

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>