The soap service does not do any socket handling at all.

The rpcrouter servlet which is part of the Apache-Soap product does all the
socket handling.
It uses the soap.xml file for config information, but I have not been able
to find
a way to decrease the socket timeouts or force it to close once the request
has been serviced.

Vasu





William Brogden <[EMAIL PROTECTED]> on 09/27/2001 01:13:53 PM

Please respond to [EMAIL PROTECTED]



To:   [EMAIL PROTECTED]
cc:
Subject:  Re: Soap server socket timeout




[EMAIL PROTECTED] wrote:
>
> I am running a soap service on a Tomcat server (using the rpcrpouter
> servlet).
> After servicing a client request, Tomcat keeps the socket open for 3 - 4
> mins
> before closing it. As a result the machine is running out of sockets when
> the
> volume is high.
>
> Is there a way I can specify a shorter socket timeout for Tomcat / Soap .
>
> Thanks
> Vasu

 Seems to me that if you close the response output stream, the socket
should also be closed.

--
WBB - [EMAIL PROTECTED]
Java Cert mock exams http://www.lanw.com/java/javacert/
Author of Java Developer's Guide to Servlets and JSP
ISBN 0-7821-2809-2






Reply via email to