Loading ...
Sorry, an error occurred while loading the content.

641RE: [soaplite] Soap server dying

Expand Messages
  • Michael Percy
    Jul 16, 2001
    • 0 Attachment
      This is not as much of a solution as it is an alternative, but if you set
      Timeout => 0 you will never time out. That should work :)

      Mike

      > -----Original Message-----
      > From: Steve McKay [mailto:smckay@...]
      > Sent: Monday, July 16, 2001 8:34 AM
      > To: soaplite@yahoogroups.com
      > Subject: [soaplite] Soap server dying
      >
      >
      > Hello,
      >
      > We have a soap server that has been running successfully for
      > a whlie. I
      > recently added a Timeout value to the HTTP::Daemon becuase a certain
      > task was taking more than the default alloted 180 seconds.
      > Now it seems
      > that if there is inactivity on the server for more than the timeout
      > value, the server will die.
      >
      > Any Ideas?
      >
      > Here is a snip of the server code:
      >
      > my @packages=qw(AppMgt Test);
      >
      > my $daemon = SOAP::Transport::HTTP::Daemon
      > -> new (LocalAddr => '127.0.0.1',
      > LocalPort => 12001,
      > Reuse => 1,
      > Timeout=> 999)
      > ->dispatch_to(@packages);
      >
      > print "SOAP server running on ".$daemon->url."\n";
      > $daemon->handle;
      >
      >
      >
      > Thanks again.
      >
      >
      >
      >
      > ------------------------ Yahoo! Groups Sponsor
      > ---------------------~-->
      > Secure your servers with 128-bit SSL encryption! Grab your copy of
      > VeriSign's FREE Guide "Securing Your Web Site for Business."
      > Get it now!
      > http://www.verisign.com/cgi-bin/go.cgi?a=n094442340008000
      > http://us.click.yahoo.com/6lIgYB/IWxCAA/yigFAA/W6uqlB/TM
      > --------------------------------------------------------------
      > -------~->
      >
      > To unsubscribe from this group, send an email to:
      > soaplite-unsubscribe@yahoogroups.com
      >
      >
      >
      > Your use of Yahoo! Groups is subject to
      > http://docs.yahoo.com/info/terms/
      >
      >
    • Show all 3 messages in this topic