My environment is: Windows XP, Eclipse 3.4.1 and JBOSS 5.0.1
I am connecting to another web service using a Java Bean through JBoss which will take some time to complete, possibly 8 hours. The Java Bean calls the other service which is in IIS, then may have to wait up to 8 hours. This is a problem for the Java Bean since it times out after 5minutes.
Is there an option I can use within the Java Bean or in a JBOSS config which will extend the timeout?
Joined: Sep 22, 2011
I did find option in file: deploy/transaction-jboss-beans.xml
<?xml version="1.0" encoding="UTF-8"?>
I think you need to come up with an alternate design. You really should not have a call waiting for 8 hours for something to finish. You should rig up an eventing or callback mechanism instead. Even a poling mechanism would be better than waiting for 8 hours.
Thanks for the suggestion. If you can, please send links to examples of your suggestions? I would be glad to explore these options. Right now, this small shop wants this design out the door Tuesday and the computers involved are dedicated. My questions is still out there...