-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------
> > How did you get fail over to work? I have Apache running on a Linux box
> > and two JDKs running on an NT box. The load balancing works just fine,
> > but when I kill one of the JDKs it doesn't fail-over.
> >
> > Jon
> >
> this failover feature works on the apache side : mod_jserv notices that
> one of the jvm is out, and redirects all the requests to other jvms. at
> the same time apache polls the dead jvm until it comes alive back. I
> never wrote that apache was able to restart a new jvm on another
> computer. you could use inetd for that on unix boxes.
>
> jean-luc
It isn't even doing that. I have two JVMs running on the NT machine.
If I kill JVM 1 then I just get internal server 500 error messages on
the web browser and the apache log says it couldn't connect to the
ip:port of JVM 1. No mention of it even trying JVM 2. I looked at the
source code some, but wasn't familiar enough to find the part of the
code where it receives the connection failure and goes on to the next
JVM. If I can find that I'll throw in some debug code and see what the
deal is.
Jonathan Tew
--
--------------------------------------------------------------
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]