Forgot to mention, I'm using JBoss 3.2.6 on Linux JDK 1.4.2_07. Looking at JRMPInvokerProxyHA.invoke(), it looks like the invocation must throw one of the following exceptions in order for fail-over to happen: java.net.ConnectException, java.net.UnknownHostException, java.rmi.ConnectException, java.rmi.ConnectIOException, java.rmi.NoSuchObjectException, java.rmi.UnmarshalException, java.rmi.UnknownHostException or GenericClusteringException (with completionStatus == GenericClusteringException.COMPLETED_NO). It doesn't look my EJB can throw any of these exceptions directly, so my question then would be, what can I do in my EJB to make the container or one of the interceptors throw one of these exceptions? Do I need to write my own interceptor? Should I modify JRMPInvokerProxyHA.invoke() to catch EJBException and failover when this happens?
Andy Nguyen View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872078#3872078 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872078 ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/info/Sentarus/hamr30 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
