JBoss Community

Re: Calls against multiple servers from a single client

created by Radek Rodak in JBoss AS 7 Development - View the full discussion

Terek is right

 

Try Simple example.

 

One Stand alone Client starting 2 Threads. Each Thread calls an EJB on different JBoss 7x Server. Once Static EJBClientContext.setSelector is called seconde times, it brakes one of both Threads...

no EJBRecever avaible exception... 25 is the result. I don't see any sinfull solution as long as global static  EJBClientContext.setSelector  is needed!!!

Reply to this message by going to Community

Start a new discussion in JBoss AS 7 Development at Community