Two Laptop Bag*
The moose likes JBoss/WildFly and the fly likes Transaction timeout in JBOSS-4.2.3.GA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "Transaction timeout in JBOSS-4.2.3.GA" Watch "Transaction timeout in JBOSS-4.2.3.GA" New topic
Author

Transaction timeout in JBOSS-4.2.3.GA

ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 43
we are facing problem with transactions in jboss. The defalut global transaction timeout is set to 300sec in jboss-service.xml.
While executing a query from our application it is taking more than 300sec. Afther that for the same transaction it is opening other session and leading to the problems. Some times it is fetching the results within 5min and sometimes it is exceeding the timeout. As a work around we increased the transaction time out and it is working fine. It is a simple POJO. The query is fine tuned and indexes are created on the tables. Is there any other options to set trancaction time for this particular transaction.

Thanks in advance for your help.



Regards,
Ravi.


Ravikanth Malyala
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9343
    
111

ravikanth reddy wrote: It is a simple POJO. ... Is there any other options to set trancaction time for this particular transaction.



How do you start the transaction for that POJO?


[My Blog] [JavaRanch Journal]
ravikanth reddy
Ranch Hand

Joined: Aug 18, 2009
Posts: 43
Hi Jai,

Thanks a lot for your response.

We are looking up for the Data source, getting connection and executing the statement. While executing the statement sometimes it leads to the transaction timeout. We are connecting to the oracle10.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Transaction timeout in JBOSS-4.2.3.GA
 
Similar Threads
Questions About Transaction Rollback
Connecting to MySql in JBOSS5.1.0.GA
JDBC to DB2 Mainframe - query timeout
Query Time out
Transactions aborted