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

Hello everybody,

I'm new to the list, but I swear I've carefully read the FAQ before posting. 
:-)
However, nobody's perfect, and I may have missed something... I hope not,
though !

Here's my problem:

It seems as if the JServ server is looping. Otherwise, everything seems ok,
my servlets run fine and everything, but here is what I get in my jserv.log:

[03/12/1999 15:39:07:739 CET] Reading request data
[03/12/1999 15:39:10:738 CET] Connection from localhost/127.0.0.1
[03/12/1999 15:39:10:739 CET] Initializing servlet request
[03/12/1999 15:39:10:739 CET] Reading request data
[03/12/1999 15:39:13:738 CET] Connection from localhost/127.0.0.1
[03/12/1999 15:39:13:739 CET] Initializing servlet request
[03/12/1999 15:39:13:739 CET] Reading request data
[03/12/1999 15:39:16:738 CET] Connection from localhost/127.0.0.1
[03/12/1999 15:39:16:739 CET] Initializing servlet request
[03/12/1999 15:39:16:739 CET] Reading request data

Etc.

Every 3 seconds or so, there seems to be a "stray" connection, which I can't
explain. It also clutters my network connections, of course. Here is a
sample of my "netstat -a" output (there are approximately 80 concurrent
connections):
localhost.8007       localhost.60413      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60415      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60416      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60418      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60421      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60422      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60424      32768      0 32768      0 TIME_WAIT
localhost.8007       localhost.60430      32768      0 32768      0 TIME_WAIT

Etc.

Anyone sees what is going on ?

I'm using Apache_1.3.9 with Apache-JServ-1.1b3, on a Solaris 2.6 box, and
I,m using JDK 1.2 and JSDK 2.0.

BTW, in trying to see what was going on, I tried to snoop the TCP connections
to port 8007, and so tried to use another ApJServDefaultHost than 
"localhost",
which uses the loopback address (I also changed the "bindaddress" variable
in the jserv.properties file). But whatever I put in ApJServDefaultHost, it
turns out that mod_jserv still tries to connect to 127.0.0.1. Again, any
explanation ?

Thanks for any info/pointer !

Regards,

Bruno

-- 
--   Service Hydrographique et Oceanographique de la Marine --- Service INF
--      13, rue du Chatellier ---  BP 426  --- 29275 Brest Cedex, FRANCE
--       Phone: +33 2 98 22 17 49  ---  Email: [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