File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss/WildFly and the fly likes How to increase transaction timeout in Jboss Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How to increase transaction timeout in Jboss" Watch "How to increase transaction timeout in Jboss" New topic
Author

How to increase transaction timeout in Jboss

Harish Tiruvile
Ranch Hand

Joined: Dec 01, 2005
Posts: 99
While debugging JMS application I am getting below exception. Exception is telling transaction has got timed out.
I am using Eclipse,and Jboss EAP AS 6.
Can anyone of you please let me know how to increase this transaction time.

If i run the application it works fine. I will get below exception only during debug mode.


Giving up is the easiest thing in the world to do..but holding it together when everything seems like falling apart is true strength!!
with regards, Harish.T
Ranganathan Kaliyur Mannar
Bartender

Joined: Oct 16, 2003
Posts: 1084
    
  10

Hi Harish,
We have a JBoss forum where I think you will get better replies. Am moving this thread to that forum.


Ranga.
SCJP 1.4, OCMJEA/SCEA 5.0.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10142
    
165

The global transaction timeout is controlled in the jboss-service.xml of JBOSS_HOME/server/conf which by default is 5 minutes (search for the string 300 in that file). However, if you want to control it at individual component level, then it depends on the component(s) in that flow. But since you say, you want this to be applicable only when you are debugging, I guess the jboss-service.xml file is what you are looking for.

[My Blog] [JavaRanch Journal]
 
GeeCON Prague 2014
 
subject: How to increase transaction timeout in Jboss