----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Jeff,

In previous posts w/ subject:
RE: is this a bug? (was ... applet not calling servlet correctly)

basically, i've been seeing some funky servlet connections and my original
posts go into more details on what I was seeing when trying to debug the
prob. not sure if it's the same as what your seeing, but bet it is though
seeing something different. 

--- snip from post (after solving prob) ----

... although I didn't really care for a response, and I just wanted to do a
writeObject() from the applet, I did a readObject() anyways just for the
hell of it (after two weeks of playing w/ this $*&^%) and modified all the
code down the line and it worked (basically I just passed a null back).
Note: I did have setDoInput(false) when trying only output.

so I didn't see any bug in my code, and don't know why I have to do a read
if I do a write, but it ran through fine first time through after I had made
the change. I tried this because a netstat was showing connections as
TIME_WAIT as if the socket were waiting for something after the close.

---- snip -----

The connections that aren't closed are 
remaining as lingering JDK processes.
I do a "ps" and can see they're still
around.

I see them and have heard many reports about them.


-----Original Message-----
From: Jeffrey Shepard [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 14, 2000 3:55 AM
To: Java Apache Users
Subject: JServ/Apache not closing the connection


----------------------------------------------------------------
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!!!
----------------------------------------------------------------


RedHat Linux 6.0
Blackdown JDK 1.2.2RC3
Apache 1.3.12
JServ 1.1

I'm noticing that either JServ or Apache is
holding open the connection to the HTTP client
after all the bytes have been set from a 
newly-loaded servlet.  The servlet flushes 
and closes but either JServ or Apache is 
not following through on the close.

I wrote a utility to count the bytes sent
back and matched them to "Content-Length"
and they are the same.

After the servlet has been loaded and used
the connections are closed just fine.

The connections that aren't closed are 
remaining as lingering JDK processes.
I do a "ps" and can see they're still
around.

Has anyone else seen this problem?

Jeff.



--
--------------------------------------------------------------
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]

Reply via email to