Posted: Tue Apr 08, 2003 8:02 am Post subject: [Solved] Logon time out value
Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
If I use a java program to Logon to workflow, if I don't get the response after a while(three minutes right now) then my program errors out saying timed out (FMC0014E ).
I want to know if this value is a server side setting or if I can specify this value in my program.
Thanks
-------
Venny
Last edited by vennela on Tue Apr 08, 2003 8:36 am; edited 1 time in total
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
Venny:
Have a look at Service::setTimeout. Here's the java doc
setTimeout
public void setTimeout(int timeout)
throws FmcExceptionSets the time
the client will wait for a server to answer. The time is to be specified in milliseconds. The default is taken from the APITimeOut value in the configuration; if not specified there, the default is 180000 milliseconds.
Throws:
FmcException - thrown if an API error or a communication error occurred
This may be what you want _________________ John McDonald
RETIRED
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum