Re:
https://jira.jboss.org/jira/browse/JBAS-5703
I've attached a patch containing fix for this. Few notes:
1. I've tested this with a 3 node cluster (node1,node2 and node3) and two ejbs (ejbA
and ejbB where ejbA calls ejbB via HAJNDI). Deployment wise, ejbA is deployed in node1 and
ejbB is deployed in node3. I was able to make a call successfully via ejbA in node1 and
was able to check via logs that once response from node3 was received, the lookup
returned. Now, my question is, how to create a unit test around this? Not easy...
2. I noted this as a todo in the patch: ResponseFilter/RspFilter API: If
needMoreResponses() took response and sender as well, class implementations could be
Immutable and same instance could be passed to all lookups. As it is right now, they
can't and new instances need to be generated for every lookup.
3. Could response filtering done in ClusterPartition.processResponseList() be moved here?
Any NoHandlerForRPC would be caught here immediately and could potentially avoid double
processing. Thoughts?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223109#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...