aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 46
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: 10059
    
163

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: 46
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Transaction timeout in JBOSS-4.2.3.GA