Here is some more information
If I have a single EJB that throws an exception, jboss server does not hang.
However if I have first EJB calling a second EJB and if some exception is thrown, the server hangs for 190 seconds.
It enters the catch block of second bean and returns the control to the caller bean only after waiting for 190 seconds.
Please advise what can be wrong in my setup.
Thanks in advance.