[
https://issues.apache.org/jira/browse/OPENEJB-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Blevins closed OPENEJB-1058.
----------------------------------
Resolution: Fixed
Assignee: David Blevins
Altered the patch slightly. Put the BufferedInputStream usage in the
SocketConnectionFactory rather than the Client class as that's how it's done in
3.1.x which also BufferedInputStreams in conjunction with the
SocketConnectionFactory. Small change.
$ svn ci
Sending
server/openejb-client/src/main/java/org/apache/openejb/client/SocketConnectionFactory.java
Transmitting file data .
Committed revision 802090.
http://svn.apache.org/viewvc?view=rev&revision=802090
Thanks, Jack!
> Remote EJB call frequently fails unexpectedly on Windows platform
> -----------------------------------------------------------------
>
> Key: OPENEJB-1058
> URL: https://issues.apache.org/jira/browse/OPENEJB-1058
> Project: OpenEJB
> Issue Type: Bug
> Components: general
> Affects Versions: 3.0.1
> Environment: Windowns platform
> Reporter: Jack Cai
> Assignee: David Blevins
> Priority: Critical
> Attachments: OPENEJB-1058_301.patch
>
>
> 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:
> {quote}
> 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)
> {quote}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.