users@glassfish.java.net

Re: EJB timeout resulting from ORB 30 minute timeout

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Aug 2009 13:08:01 PDT

So through some additional research the fix seems to be adding the following setting on the client (or server?) side. I'm not even sure this CAN be set (if anyone can verify)?

Either
com.sun.corba.ee.transport.ORBWaitForResponseTimeout=7200000 (for 3 hours)
or
System.setProperty(ORBConstants.WAIT_FOR_RESPONSE_TIMEOUT, "" + (3*60*60*1000)); (for 3 hours)

How would I accomplish this through the Application Client Container (ACC), or where could I set this value?

Something like http://website/earApplication/earApplicationClient?vmarg=com.sun.corba.ee.transport.ORBWaitForResponseTimeout=7200000
or
in the Main-Class setting System.setProperty(ORBConstants.WAIT_FOR_RESPONSE_TIMEOUT, "" + (3*60*60*1000));
doesn't seem to work.
[Message sent by forum member 'enderfake' (enderfake)]

http://forums.java.net/jive/thread.jspa?messageID=360557