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

Sean Dowd wrote:
> 
> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
> 
> I have my bindaddress set to my ip address (not 127.0.0.1) and
> when I try to send it a stop signal, it takes a NullPointerException.
> This works fine if I use 127.0.0.1 as the bindaddress (which means
> I can only connect from an Apache instance on the same box).
> 
> It looks like the signal method in JServ is always connecting to
> 127.0.0.1 to send signals.  I changed it to open the socket to
> the bindaddress value from the properties file and it appears to
> fix the problem.  Is this a valid fix?
> 
No. (in my opinion).
There is another thread on this list : "How to startup Apache JServ"
where I explain why : mainly because it sucks in a distributed
environment : Apache on one host and 2 JServs on another one. (with or
without load-balancing).
Which properties file are you going to share ?
Bernie did propose another approach. I didn't read it totally yet, but
he usually has good ideas.

Jean-Luc


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