-----------------------------
Please read the FAQ!
<http://java.apache.org/faq/>
-----------------------------

Ludovic Bailly wrote:
> 
> I'm using apache + JServ on Linux (JDK 1.2 pre V2)
> I'm using load balancing so all my JServ are in manual mode
> When I try to load the system using ab with -n 200 and -c 20,
> during the test some JServ doesn't respond and the system is going down.
> 
> No JServ response ...
> 
> If I kill all the JServ process and restart them, I get response.
> Is there a way to test if JServ is working correctly using telnet
> 10.10.10.10 8008
> or something else ?
> 
> What's the problem ?

telnet will only allow you that JServ is running and listening to the
port. That's already interesting to know, but not enough. 
Do you have answers from the httpd which could result from a timeout
between htttpd and jserv ?
If you want to try a servlet on a specific jserv you can try this trick


(assuming you have load balancing on /servlet/ like this :

ApJServMount /servlet balance://set/root

ApJServBalance set p120-1
ApJServBalance set p120-2

ApJServHost p120-1 ajpv11://127.0.0.1:10001
ApJServHost p120-2 ajpv11://127.0.0.1:10002

ApJServRoute PP1 p120-1
ApJServRoute PP2 p120-2

you can add 2 new sets of hosts with only one of the existing hosts
inside.
(jserv can belong to more than one set).

add this after :

ApJServMount /pc1 balance://pc1/root
ApJServMount /pc2 balance://pc2/root
ApJServBalance pc1 p120-1
ApJServBalance pc2 p120-2

so you can try :
http://xxxxxxx/pc1/Hello

hope this will help. without more precision, I can't do better.
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