[jboss-dev-forums] [Design of the JBoss EJB Container] - Re: jndi lookup during restart
bstansberry@jboss.com
do-not-reply at jboss.com
Mon Aug 20 15:54:12 EDT 2007
I went ahead and fixed this for all the Context operations, not just lookup(). If we're going to fix this we might as well really fix it. It was simple enough to encapsulate the error handling in a method and then apply it via a simple try/catch around each remote call. The class javadoc for NoSuchObjectException states that:
anonymous wrote : If a NoSuchObjectException occurs attempting to invoke a method on a remote object, the call may be retransmitted and still preserve RMI's "at most once" call semantics.
Based on this, it's OK to apply this to non-read methods like bind().
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076012#4076012
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076012
More information about the jboss-dev-forums
mailing list