I am using JBoss AS 7.1.1 in my project. I am getting ejb deadlock issue in my application deployment in the following scenario.
When a runtime hibernate exception occurs in the sever(which is an ejb service) which is uncaught in server and propogated to the client.And in client the runtime exception causes ClassNotFounfException.
Th possible solutions for this issue are:
Catch all runtime exceptions in ejb service layer and throw a custom exception to the client which would not create ClassNotFoundExcpetion.
Put the jar which has the class mentioned in the class not found exception in clients classpath.
Use the option mentioned in the JIRA issue AS7-5592.