----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Well, my code is not opening or closing any sockets explicitly; this is
strictly
an issue of mod_jserv talking to the servlet engine. This problem comes
up as soon
as I start Apache/ApacheJServ.
I have rooted around in the sources to see if anything obvious pops up
but not so far. Let me ask the question in another way: is anyone using
either Linux or Solaris NOT seeing this behavior? Just starting up
ApacheJServ results in a bunch of TIME_WAIT sockets as the 3 second
interval PING message executes. Do a 'netstat -a' to see this.
Nick Bauman wrote:
>
> Simple idea, but are you _sure_ you're closing your
> sockets every time? I'm not sure I am unless I have a
> finally{} block in my servlet.
>
> try {
> // do stuff
> } catch( java.io.IOException ex ) {
> // do stuff
> System.err.println("ServletName: "+ex);
> } finally {
> // do stuff
> try {
> out.flush();
> out.close();
> } catch(Exception ignore) {}
> }
>
> =====
> # Nick Bauman
> # Technical Programmer
> # http://webhelp.com
> # real people, real answers, real time
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online with Yahoo! Messenger.
> http://messenger.yahoo.com
>
> --
> --------------------------------------------------------------
> Please read the FAQ! <http://java.apache.org/faq/>
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html>
> Problems?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]