RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
Oh that's confusing to me. Would it be clearer to say something like
"The workers that are to be loadbalanced/managed by the lb worker must
not appear in the worker.list directive."?

Anyway, very much appreciate your assistance. I will now try it out.

Thanks.

Gary 

-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: January 11, 2005 10:31 AM
To: Tomcat Users List
Subject: Re: Has anyone managed clustering with Tomcat
5.5.4+Apache+mod_jk?

Gary Zhu wrote:
> In the document for workers.properties, there are TWO places 
> emphasizing NOT to put the lb in the worker.list. One is right in the 
> first paragraph of Sub Titled "Load Balancing directives"; and the 
> other one is within the "Description" column for the directive 
> "balance(ed)_workers".
>


No it says:
The workers that are member of load balancer must not appear in the
worker.list directive.

So you don't put the workers that belong to load balancer to worker.list
only the lb worker(s).

Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote:
In the document for workers.properties, there are TWO places emphasizing
NOT to put the lb in the worker.list. One is right in the first
paragraph of Sub Titled "Load Balancing directives"; and the other one
is within the "Description" column for the directive
"balance(ed)_workers". 


No it says:
The workers that are member of load balancer must not appear in the 
worker.list directive.

So you don't put the workers that belong to load balancer to worker.list
only the lb worker(s).
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
In the document for workers.properties, there are TWO places emphasizing
NOT to put the lb in the worker.list. One is right in the first
paragraph of Sub Titled "Load Balancing directives"; and the other one
is within the "Description" column for the directive
"balance(ed)_workers". 

Here is the doc link:
http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html 

Thanks.

Gary

-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: January 11, 2005 10:07 AM
To: Tomcat Users List
Subject: Re: Has anyone managed clustering with Tomcat
5.5.4+Apache+mod_jk?

Gary Zhu wrote:
>  
> Thanks Mladen,
> 
> The document for Tomcat has explicitly emphasized NOT to add the lb 
> worker to the worker.list.

Can you point where this statement exists?
If it does then I'll chage it, because it's wrong.

Here is what documentation says:
worker.list:
A comma separated list of workers names that the JK will use. When
starting up, the web server plugin will instantiate the workers whose
name appears in the worker.list property, these are also the workers to
whom you can map requests.



> Attached is my workers properties file. 
> 

No it is not ;).

Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote:
 
Thanks Mladen, 

The document for Tomcat has explicitly emphasized NOT to add the lb
worker to the worker.list.
Can you point where this statement exists?
If it does then I'll chage it, because it's wrong.
Here is what documentation says:
worker.list:
A comma separated list of workers names that the JK will use. When 
starting up, the web server plugin will instantiate the workers whose 
name appears in the worker.list property, these are also the workers to 
whom you can map requests.


Attached is my workers properties file. 

No it is not ;).
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


RE: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Gary Zhu
 
Thanks Mladen, 

The document for Tomcat has explicitly emphasized NOT to add the lb
worker to the worker.list. Attached is my workers properties file. 

Gary
-Original Message-
From: Mladen Turk [mailto:[EMAIL PROTECTED] 
Sent: January 11, 2005 9:54 AM
To: Tomcat Users List
Subject: Re: Has anyone managed clustering with Tomcat
5.5.4+Apache+mod_jk?

Gary Zhu wrote:
> Hi all,
>  
> Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk

> to do load balancing and session replication? I did everything as 
> documents suggested but with no luck. If so, could you advise?
>

Not if you don't send the workers.properties :).

> I have configured TWO tomcat instances and a lb worker. Whenever I map

> the lb worker to URLs, I got Server Internal error. Then, just change 
> the URL mapping to one of the TWO tomcat backend workers, it works as 
> expected. Thus, it indicated that Apache can talk to Tomcat through 
> mod_jk.
>  

You made some configuration error in workers properties.
Probably not added lb worker to worker.list

Mladen.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: Has anyone managed clustering with Tomcat 5.5.4+Apache+mod_jk?

2005-01-11 Thread Mladen Turk
Gary Zhu wrote:
Hi all, 
 
Has anyone successfully configured Tomcat 5.5.4 with Apache and mod_jk
to do load balancing and session replication? I did everything as
documents suggested but with no luck. If so, could you advise? 

Not if you don't send the workers.properties :).
I have configured TWO tomcat instances and a lb worker. Whenever I map
the lb worker to URLs, I got Server Internal error. Then, just change
the URL mapping to one of the TWO tomcat backend workers, it works as
expected. Thus, it indicated that Apache can talk to Tomcat through
mod_jk. 
 
You made some configuration error in workers properties.
Probably not added lb worker to worker.list
Mladen.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]