[jboss-dev-forums] [Design of EJB 3.0] - Re: IsLocalInterceptor not detecting local container
bstansberry@jboss.com
do-not-reply at jboss.com
Wed Mar 7 22:58:10 EST 2007
Never mind about the bit I didn't understand -- it was why this test doesn't always fail. It's because after the failover FirstAvailable picks a new target for the call to the nested bean. Sometimes it picks the local server and we get a failure; sometimes it picks a remote server and we don't get a failure.
Remoting isn't really "detecting" the bean is locally available; it just recognizes that the targeted Invoker is in VM and skips the over-the-wire transport stuff. Recognizing that the bean is available locally is really the task of IsLocalInterceptor. I'm starting to feel pretty certain Option A in my previous post is the way to go.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026099#4026099
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026099
More information about the jboss-dev-forums
mailing list