[jboss-cvs] JBossAS SVN: r78654 - trunk/cluster/src/main/org/jboss/invocation/jrmp/interfaces.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Wed Sep 17 14:26:51 EDT 2008
Author: scottmarlownovell
Date: 2008-09-17 14:26:51 -0400 (Wed, 17 Sep 2008)
New Revision: 78654
Modified:
trunk/cluster/src/main/org/jboss/invocation/jrmp/interfaces/JRMPInvokerProxyHA.java
Log:
Fix for JBAS-5943 - JRMPInvokerProxyHA should not failover if PooledInvokerProxy.invoke() throws java.rmi.ConnectException with cause of java.io.EOFException.
Modified: trunk/cluster/src/main/org/jboss/invocation/jrmp/interfaces/JRMPInvokerProxyHA.java
===================================================================
--- trunk/cluster/src/main/org/jboss/invocation/jrmp/interfaces/JRMPInvokerProxyHA.java 2008-09-17 17:40:52 UTC (rev 78653)
+++ trunk/cluster/src/main/org/jboss/invocation/jrmp/interfaces/JRMPInvokerProxyHA.java 2008-09-17 18:26:51 UTC (rev 78654)
@@ -280,6 +280,12 @@
catch (java.rmi.ConnectException e)
{
lastException = e;
+ if(e.getCause() != null && e.getCause() instanceof java.io.EOFException)
+ {
+ // don't failover as we may of reached the target
+ invocationHasReachedAServer (invocation);
+ throw e;
+ }
}
catch (java.rmi.ConnectIOException e)
{
More information about the jboss-cvs-commits
mailing list