One Reason for "RMIConnection Disconnected"
Lately I was reminded of a case I solved last Summer: In this case one customer was facing the problem of an error message stating "RMIConnection Disconnected".
Problem
While monitoring the log files of OC4J we found that the called business method of the Session Bean took too long to respond to thecall from the client.
Solution
There are at least two ways to solve the problem:- make the business method to respond quicker (highly recommended)
- change the timeout value (with the property rmi.client.connection.timeout=<value_in_seconds>)