My App runs on EJB 1.1 on Jboss 2.4 and uses Sybase. Lately we are seeing an issue where there are indefinite locks on a particular table and that caused the succeeding queries to wait on the locks to get released and therefore whole app fails. The DB admin claims that the app is not releasing any locks and we have not made any changes to the code that deals with that particular table. My question is are there any common issues with Jboss 2.4 that needs to be checked or any specific areas to look for?
The query i run is just a simple select/update statements with read_committed transaction isolation. I get the connection from jboss pool and execute the select or update and then close connection,statement and resultset.
Why is the problem occurring randomly?
I am sorry I am unable to provide any code.