I have an instance statefull session bean (SFSB running on my server and i want multiple stateless beans to call methods on this instance.
The problem is with the "only one thread in a SFSB instance at a time" concept.
Is there a way to configure JBoss to serialize the access instead of throwing an
Can i find out somehow that a thread is already running in the instance ?
Is there a way to set the isolation level for a SFSB ?
Any answer in the above questions would be greatly apriciated :)
There is no standard for stateful session bean isolation. You can create a custom client interceptor that synchronizes access on the client side of the proxy, or customize the server side stateful session instance interceptor to block the calls instead of throwing the exception. Create a feature request for this here as well: