I've deployed my seam application on web sphere and i often get this error javax.ejb.ConcurrentAccessException: TXMETHODREADY: wrong transaction. It's occur when i click quickly on some link or if i have more rendered atribute in the same page that check the same variable?
First off all you had better use global queue enabled for richfaces (in case you use it), to avoid lots of parallel AJAX requests from page.
In your seam component methods where you access SFSB methods, all methods must be marked synchronized, to avoid concurrent access to SFSB, that is prohibited.
I've made your suggestion and it's works better now, but sometimes i still get the exception. How can i catch it?
I don't think it would be right to catch that exception, you have to just avoid such situations to happen.
You have to avoid concurrent access to same instance of SFSB methods.
I know you are right but i dont't know to avoid it!
I already follow your suggestion.
Does the exception still happen in the method that you marked synchronized?
I've made a workaround cathing the exception with pages.xml (you just seen another post about it).