We are using Jboss as middle tier in our application and MS Sql server as database and accessing the Sql server through JDBC driver.
Our application modules are designed in the following pattern.
Servlet -> bean -> DB
Now problem is, we have some reports which is running for more than an hour and we couldn't identify those long running queries(transaction) from Jboss perspective.Is there any way by which i can identify SPID of such long running query or stop the query execution from JBoss