Re: Load-balancing on NT

2001-01-12 Thread Cristian Feier


You're welcome ... :-))
Cristian
Brindusa Fritsch wrote:
Thank
you Cristian. I got it working.BTW,
I have a romanian colleague who's name is Lucian Feier, I asked him, you're
not related :-)Multumesc
de raspuns.Brindusa

-Original
Message-
From: Cristian Feier [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11,
2001 12:44 PM
To: Java Apache Users
Subject: Re: Load-balancing
on NT

Hello Brandusa,
I have spent a lot of time configuring load-balancing on Solaris and
finally it worked, and I think there is no big difference on NT.
Your log file tell you that Jserv is not running. When you use load-balancing
you have to start Jserv manually. So do it first, verify that it
started using netstat -a and then start Apache. I think that you
have to modify the last three lines of configuration file like this:
ApJServRoute JS1 JServ1
ApJServRoute JS2 JServ2
ApJServRoute JS3 JServ3
Best Regards,
Cristian




FW: Load-balancing on NT

2001-01-11 Thread Brindusa Fritsch


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


Hi,

Forgot to mention: I have updated both Apache and JServ to the latest
version (which are Apache 1.3.14, JServ 1.1.2-2)
since I had the same problems with Apache 1.3.11 and JServ 1.1.2-1 .

Brindusa


  -Original Message-
 From: Brindusa Fritsch  
 Sent: Thursday, January 11, 2001 10:17 AM
 To:   '[EMAIL PROTECTED]'
 Subject:  Load-balancing on NT
 
 Hi,
 
 My name is Brindusa Fritsch.
 I am trying to do JServ load balancing on NT without success.
 The only question I have is whether it has been ever tested successfully
 on NT.
 (I know the shared memory and watchdog are not available on this
 platform).
 
 I have the following in jserv.conf and one properties file for each Jserv.
 I am starting Apache and the 3 JServ's manually
 (does the order matter?; I tried both, no success).
 
 ApJServMount /ofxmsgsim balance://hostset1/ofxmsgsim
 
 ApJServBalance hostset1 JServ1
 ApJServBalance hostset1 JServ2
 ApJServBalance hostset1 JServ3
 
 ApJServHost JServ1 ajpv12://192.168.97.209:8007
 ApJServHost JServ2 ajpv12://192.168.97.209:8008
 ApJServHost JServ3 ajpv12://192.168.97.209:8009
 
 ApJServRoute JS1 JServ1
 ApJServRoute JS1 JServ2
 ApJServRoute JS1 JServ3
 
 
 and get the following errors in mod_serv.log
 
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
 192.168.97.209:8007
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "ajpv12"
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
 192.168.97.209:8008
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "ajpv12"
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
 192.168.97.209:8009
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "ajpv12"
 [11/01/2001 15:09:49:187] (ERROR) balance: virtual host not found or not
 running
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "balance"
 
 
 Thanks
 Brindusa


--
--
Please read the FAQ! http://java.apache.org/faq/
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search Archives: 
http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/
Problems?:   [EMAIL PROTECTED]




RE: Load-balancing on NT

2001-01-11 Thread Brindusa Fritsch


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 fixed my problem by specifying 'localhost' instead of the IP address
like this:

 ApJServHost JServ1 ajpv12://localhost:8007
 ApJServHost JServ2 ajpv12://localhost:8008
 ApJServHost JServ3 ajpv12://localhost:8009

It's good that everthing works now, but I am still wondering why it didn't
work before.
Brindusa
-Original Message-
From: Brindusa Fritsch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 10:46 AM
To: '[EMAIL PROTECTED]'
Subject: FW: Load-balancing on NT



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


Hi,

Forgot to mention: I have updated both Apache and JServ to the latest
version (which are Apache 1.3.14, JServ 1.1.2-2)
since I had the same problems with Apache 1.3.11 and JServ 1.1.2-1 .

Brindusa


  -Original Message-
 From: Brindusa Fritsch  
 Sent: Thursday, January 11, 2001 10:17 AM
 To:   '[EMAIL PROTECTED]'
 Subject:  Load-balancing on NT
 
 Hi,
 
 My name is Brindusa Fritsch.
 I am trying to do JServ load balancing on NT without success.
 The only question I have is whether it has been ever tested successfully
 on NT.
 (I know the shared memory and watchdog are not available on this
 platform).
 
 I have the following in jserv.conf and one properties file for each Jserv.
 I am starting Apache and the 3 JServ's manually
 (does the order matter?; I tried both, no success).
 
 ApJServMount /ofxmsgsim balance://hostset1/ofxmsgsim
 
 ApJServBalance hostset1 JServ1
 ApJServBalance hostset1 JServ2
 ApJServBalance hostset1 JServ3
 
 ApJServHost JServ1 ajpv12://192.168.97.209:8007
 ApJServHost JServ2 ajpv12://192.168.97.209:8008
 ApJServHost JServ3 ajpv12://192.168.97.209:8009
 
 ApJServRoute JS1 JServ1
 ApJServRoute JS1 JServ2
 ApJServRoute JS1 JServ3
 
 
 and get the following errors in mod_serv.log
 
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
 192.168.97.209:8007
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "ajpv12"
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
 192.168.97.209:8008
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "ajpv12"
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
 192.168.97.209:8009
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "ajpv12"
 [11/01/2001 15:09:49:187] (ERROR) balance: virtual host not found or not
 running
 [11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
 protocol "balance"
 
 
 Thanks
 Brindusa


--
--
Please read the FAQ! http://java.apache.org/faq/
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search Archives: 
http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/
Problems?:   [EMAIL PROTECTED]


--
--
Please read the FAQ! http://java.apache.org/faq/
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search Archives: 
http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/
Problems?:   [EMAIL PROTECTED]




Re: Load-balancing on NT

2001-01-11 Thread Cristian Feier


Hello Brandusa,
I have spent a lot of time configuring load-balancing on Solaris and
finally it worked, and I think there is no big difference on NT.
Your log file tell you that Jserv is not running. When you use load-balancing
you have to start Jserv manually. So do it first, verify that it
started using netstat -a and then start Apache. I think that you
have to modify the last three lines of configuration file like this:
ApJServRoute JS1 JServ1
ApJServRoute JS2 JServ2
ApJServRoute JS3 JServ3
Best Regards,
Cristian
Brindusa Fritsch 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 fixed my problem by specifying 'localhost' instead of the IP
address
like this:
> ApJServHost JServ1 ajpv12://localhost:8007
> ApJServHost JServ2 ajpv12://localhost:8008
> ApJServHost JServ3 ajpv12://localhost:8009
It's good that everthing works now, but I am still wondering why it
didn't
work before.
Brindusa
-Original Message-
From: Brindusa Fritsch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 11, 2001 10:46 AM
To: '[EMAIL PROTECTED]'
Subject: FW: Load-balancing on NT

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

Hi,
Forgot to mention: I have updated both Apache and JServ to the latest
version (which are Apache 1.3.14, JServ 1.1.2-2)
since I had the same problems with Apache 1.3.11 and JServ 1.1.2-1
.
Brindusa
> -Original Message-
> From: Brindusa Fritsch
> Sent: Thursday, January 11, 2001 10:17 AM
> To: '[EMAIL PROTECTED]'
> Subject: Load-balancing on NT
>
> Hi,
>
> My name is Brindusa Fritsch.
> I am trying to do JServ load balancing on NT without success.
> The only question I have is whether it has been ever tested successfully
> on NT.
> (I know the shared memory and watchdog are not available on this
> platform).
>
> I have the following in jserv.conf and one properties file for each
Jserv.
> I am starting Apache and the 3 JServ's manually
> (does the order matter?; I tried both, no success).
>
> ApJServMount /ofxmsgsim balance://hostset1/ofxmsgsim
>
> ApJServBalance hostset1 JServ1
> ApJServBalance hostset1 JServ2
> ApJServBalance hostset1 JServ3
>
> ApJServHost JServ1 ajpv12://192.168.97.209:8007
> ApJServHost JServ2 ajpv12://192.168.97.209:8008
> ApJServHost JServ3 ajpv12://192.168.97.209:8009
>
> ApJServRoute JS1 JServ1
> ApJServRoute JS1 JServ2
> ApJServRoute JS1 JServ3
>
>
> and get the following errors in mod_serv.log
>
> [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
> 192.168.97.209:8007
> [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
> [11/01/2001 15:09:49:187] (ERROR) an error returned handling request
via
> protocol "ajpv12"
> [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
> 192.168.97.209:8008
> [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
> [11/01/2001 15:09:49:187] (ERROR) an error returned handling request
via
> protocol "ajpv12"
> [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
> 192.168.97.209:8009
> [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
> [11/01/2001 15:09:49:187] (ERROR) an error returned handling request
via
> protocol "ajpv12"
> [11/01/2001 15:09:49:187] (ERROR) balance: virtual host not found
or not
> running
> [11/01/2001 15:09:49:187] (ERROR) an error returned handling request
via
> protocol "balance"
>
>
> Thanks
> Brindusa
--
--
Please read the FAQ! http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:
[EMAIL PROTECTED]
--
--
Please read the FAQ! http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?:
[EMAIL PROTECTED]



RE: Load-balancing on NT

2001-01-11 Thread Brindusa Fritsch



Thank 
you Cristian. I got it working.
BTW, I 
have a romanian colleague who's name is Lucian Feier, I asked him, you're not 
related :-)
Multumesc de raspuns.
Brindusa

  -Original Message-From: Cristian Feier 
  [mailto:[EMAIL PROTECTED]]Sent: Thursday, January 11, 2001 12:44 
  PMTo: Java Apache UsersSubject: Re: Load-balancing on 
  NTHello Brandusa, 
  I have spent a lot of time configuring load-balancing on Solaris and 
  finally it worked, and I think there is no big difference on NT. Your log 
  file tell you that Jserv is not running. When you use load-balancing you have 
  to start Jserv manually. So do it first, verify that it started using 
  netstat -a and then start Apache. I think that you have to modify the 
  last three lines of configuration file like this: 
  ApJServRoute JS1 JServ1 ApJServRoute JS2 JServ2 ApJServRoute JS3 
  JServ3 
  Best Regards, Cristian 
  Brindusa Fritsch 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 fixed my problem by specifying 'localhost' instead of the IP 
address like this: 
 ApJServHost JServ1 ajpv12://localhost:8007  ApJServHost 
JServ2 ajpv12://localhost:8008  ApJServHost JServ3 
ajpv12://localhost:8009 
It's good that everthing works now, but I am still wondering why it 
didn't work before. Brindusa -Original Message- 
From: Brindusa Fritsch [mailto:[EMAIL PROTECTED]] Sent: 
Thursday, January 11, 2001 10:46 AM To: 
'[EMAIL PROTECTED]' Subject: FW: Load-balancing on 
NT 
 
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!!! 
 
Hi, 
Forgot to mention: I have updated both Apache and JServ to the latest 
version (which are Apache 1.3.14, JServ 1.1.2-2) since I had the 
same problems with Apache 1.3.11 and JServ 1.1.2-1 . 
Brindusa 
 -Original Message-  
From: Brindusa Fritsch 
 Sent: Thursday, January 11, 2001 10:17 AM  To: 
'[EMAIL PROTECTED]'  
Subject: Load-balancing on NT  
 Hi,   My name is Brindusa Fritsch.  I am 
trying to do JServ load balancing on NT without success.  The only 
question I have is whether it has been ever tested successfully  on 
NT.  (I know the shared memory and watchdog are not available on 
this  platform).   I have the following in 
jserv.conf and one properties file for each Jserv.  I am starting 
Apache and the 3 JServ's manually  (does the order matter?; I tried 
both, no success).   ApJServMount /ofxmsgsim 
balance://hostset1/ofxmsgsim   ApJServBalance hostset1 
JServ1  ApJServBalance hostset1 JServ2  ApJServBalance 
hostset1 JServ3   ApJServHost JServ1 
ajpv12://192.168.97.209:8007  ApJServHost JServ2 
ajpv12://192.168.97.209:8008  ApJServHost JServ3 
ajpv12://192.168.97.209:8009   ApJServRoute JS1 JServ1 
 ApJServRoute JS1 JServ2  ApJServRoute JS1 JServ3  
  and get the following errors in mod_serv.log  
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to 
host  192.168.97.209:8007  [11/01/2001 15:09:49:187] 
(EMERGENCY) ajp12: connection fail  [11/01/2001 15:09:49:187] 
(ERROR) an error returned handling request via  protocol "ajpv12" 
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to 
host  192.168.97.209:8008  [11/01/2001 15:09:49:187] 
(EMERGENCY) ajp12: connection fail  [11/01/2001 15:09:49:187] 
(ERROR) an error returned handling request via  protocol "ajpv12" 
 [11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to 
host  192.168.97.209:8009  [11/01/2001 15:09:49:187] 
(EMERGENCY) ajp12: connection fail  [11/01/2001 15:09:49:187] 
(ERROR) an error returned handling request via  protocol "ajpv12" 
 [11/01/2001 15:09:49:187] (ERROR) balance: virtual host not found 
or not  running  [11/01/2001 15:09:49:187] (ERROR) an error 
returned handling request via  protocol "balance"   
 Thanks  Brindusa 
-- -- 
Please read the FAQ! http://java.apache.org/faq/ 
To subscribe: 
[EMAIL PROTECTED] To 
unsubscribe: 
[EMAIL PROTECTED] Search Archives: http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/ 
Problems?: 
[EMAIL PROTECTED] 
-- -- 
Please 

Load-balancing on NT

2001-01-11 Thread Brindusa Fritsch


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


Hi,

My name is Brindusa Fritsch.
I am trying to do JServ load balancing on NT without success.
The only question I have is whether it has been ever tested successfully on
NT.
(I know the shared memory and watchdog are not available on this platform).

I have the following in jserv.conf and one properties file for each Jserv. I
am starting Apache and the 3 JServ's manually
(does the order matter?; I tried both, no success).

ApJServMount /ofxmsgsim balance://hostset1/ofxmsgsim

ApJServBalance hostset1 JServ1
ApJServBalance hostset1 JServ2
ApJServBalance hostset1 JServ3

ApJServHost JServ1 ajpv12://192.168.97.209:8007
ApJServHost JServ2 ajpv12://192.168.97.209:8008
ApJServHost JServ3 ajpv12://192.168.97.209:8009

ApJServRoute JS1 JServ1
ApJServRoute JS1 JServ2
ApJServRoute JS1 JServ3


and get the following errors in mod_serv.log

[11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
192.168.97.209:8007
[11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
[11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
protocol "ajpv12"
[11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
192.168.97.209:8008
[11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
[11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
protocol "ajpv12"
[11/01/2001 15:09:49:187] (EMERGENCY) ajp12: can not connect to host
192.168.97.209:8009
[11/01/2001 15:09:49:187] (EMERGENCY) ajp12: connection fail
[11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
protocol "ajpv12"
[11/01/2001 15:09:49:187] (ERROR) balance: virtual host not found or not
running
[11/01/2001 15:09:49:187] (ERROR) an error returned handling request via
protocol "balance"


Thanks
Brindusa


--
--
Please read the FAQ! http://java.apache.org/faq/
To subscribe:[EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Search Archives: 
http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/
Problems?:   [EMAIL PROTECTED]