----------------------------------------------------------------
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!!!
----------------------------------------------------------------
[EMAIL PROTECTED] wrote:
>
> Hi,all!
>
> I have one question.Now I use ApacheJServ 1.1b2 with Apache Web Server1.3.9 on
>Solaris 2.6. And I use the load-balancing of JServ.
>
> But it does not work immediately.The log is "Virual host not found or not running."
>
> The following is jserv.conf:
>
> ..
> ApJServMount /servlet balance://set1/zone
> .
> .
>
> I dont' know the Apache how to find the zone "zone",because in this case,it does not
> use jserv.properties,so it can't find the zone "zone".
>
>
Wait a minute, Apache can live without knowing details on your zone
"zone", as it is no more responsible for starting a JVM (except if you
keep the manual mode "off" which is still a possible choice). But JServ
has to know these "details", so you need to have jserv.properties given
as parameter to your servlet engine.
You maybe did not tell Apache what set1 is ?
ApJServMount /servlet balance://set1/zone
# tell Apache what set1 is (2 JServs, named H1 & H2)
ApJServBalance set1 H1
ApJservBalance set1 H2
#tell Apache Hosts's URL
ApJServHost H1 ajpv12://locahost:10001 // <<default weight = 1
ApJServHost H2 ajpv12://locahost:10002 4 // <<weight=4
# routing sessionid infos
ApJServRoute end_of_cookie_H1 H1
ApJServRoute end_of_cookie_H2 H2
and was the JServ H1 or H2 started ?
I'll put on my home site my configuration files and scripts
see load-balancing at work : http://jnix.penguinpowered.com
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]