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

Dans son message du 6/12/1999, Jean-Luc Rochat écrivait:


> Hi, Bruno /salut,

Hi Jean-Luc (bonjour !),


> > 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):
> Is'nt this part of the wrapper "ping" function ?

Oh, ok, so this would be part of the standard behaviour ?



> > localhost.8007       localhost.60430      32768      0 32768      0 TIME_WA
>   IT
> > 
> > Etc.
> 
> The JVM doen't release immediately the sockets.

Yes, this is pretty common among Unix applications. I can perhaps try and dig
into the kernel variables to cut down this 240 seconds timeout.


> > BTW, in trying to see what was going on, I tried to snoop the TCP connectio
>   ns
> > 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 ?
> 
> You are (I believe) experimenting the "ping" watchdog. The wrapper forks
> and executes the JVM, so it assumes it is on the same host.
> Did you restart Apache after modifying the bindaddress ?

Yes, of course.


> If yes, too bad the wrapper doesn't realize JServ is listening on
> another IP addr. If this is the case, fill a bug report
> (bugs.apache.org).

Ok Jean-Luc. I'll do that as soon as I'm sure it's a bug, and not a 
"feature".
:-)


Independantly of my initial problem (which seems in fact not to be a real 
one),
has anyone been able to transfer the JVM and the JServ wrapper to another
workstation than the one running the Apache server ?


Thanks again for your help !

Au revoir,

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