Description
See https://issues.apache.org/jira/browse/GERONIMO-4608.
A potential JDK problem causes frequent remote EJB call failures on Windows platform. The exception thrown looks like:
Caused by: javax.ejb.EJBException: Unknown Container Exception: java.rmi.RemoteException: Cannot read the response from the server (OEJP/3.0) : null; nested exception is:
java.io.EOFException
at org.apache.openejb.client.EJBObjectHandler._invoke(EJBObjectHandler.java:179)
at org.apache.openejb.client.EJBInvocationHandler.invoke(EJBInvocationHandler.java:117)
at org.apache.openejb.client.proxy.Jdk13InvocationHandler.invoke(Jdk13InvocationHandler.java:52)
at $Proxy21.getSnapshotDuration(Unknown Source)
at org.apache.geronimo.monitoring.console.MRCConnector.getSnapshotDuration(MRCConnector.java:167)
at org.apache.jsp.WEB_002dINF.view.monitoringViewServer_jsp._jspService(monitoringViewServer_jsp.java:168)
... 73 more
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2690)
at java.io.ObjectInputStream.readByte(ObjectInputStream.java:890)
at org.apache.openejb.client.EJBResponse.readExternal(EJBResponse.java:98)
at org.apache.openejb.client.Client.processRequest(Client.java:172)
at org.apache.openejb.client.Client.request(Client.java:43)
at org.apache.openejb.client.EJBInvocationHandler.request(EJBInvocationHandler.java:129)
at org.apache.openejb.client.EJBObjectHandler.businessMethod(EJBObjectHandler.java:210)
at org.apache.openejb.client.EJBObjectHandler._invoke(EJBObjectHandler.java:152)