Tarek Hammoud [
https://community.jboss.org/people/thammoud] created the discussion
"Re: Calls against multiple servers from a single client"
To view the discussion, visit:
https://community.jboss.org/message/759595#759595
--------------------------------------------------------------
Hi Wolf,
Deploy the same applcation at different servers with different credentials and need to
decide which one is called?
That is one of the use cases.
That will not be true, it is possible to have multithread clients
with AS7, but as I mentionend it is completly different in implmentation and use.
This why I opened this ticket. While the framework clearly allows for multiple targets and
there is nothing to inhibit a multithreaded client, I am pointing out a race condition in
the implementation with respect to static in EJBContext. Again, looking at the
EJBInvocationHandler, you can clearly see that it is indirectly manipulating a static
member by calling the requireCurrent(). Two threads in the EJBInvocationHandler doInvoke
code can end up pointing to the wrong SELECTOR.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/759595#759595]
Start a new discussion in JBoss AS 7 Development at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]