tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shoaib M. Chaudhary" <>
Subject Re: mod_jk load balancing problem
Date Thu, 27 Jan 2011 04:08:24 GMT
The problem is following,

When I use mod_jk with the following code for one worker it works fine but
when I try to connect with two tomcat servers that are not on the same
machine on which I have apache. Interestingly when I use one worker as
localhost it works fine again.

There is no error but the page loads again and again. following is my file.




worker.loadbalancer.balanced_workers=tomcat2, tomcat3

Intrestingly when I use worker.loadbalancer.balanced_workers=tomcat2 it
works fine even if I replace tomcat2 with tomcat 3 as well. The page keep
refreshing it self for some time and suddenly it finished refreshing and I
can see the original page as well.

*Muhammad Shoaib*

Software Engineer
National University of Computer and Emerging Sciences
A. K. Brohi Road (Near Police Line) H11/4 Islamabad

Semantic Web Consultant / Knowledge Engineer
Allainet Cooperation Private Limited
I8/3 Islamabad Pakistan

T +92-(51)-111-128-128 Ext 344 | M +92-334-5577712

On Wed, Jan 26, 2011 at 03:18, Michael Ludwig <> wrote:

> Shoaib M. Chaudhary schrieb am 26.01.2011 um 15:48 (+0500):
> > I am trying to use mod_jk with tomcat 5.5.3x. When I use mode_jk with
> > one worker it works fine
> Okay.
> > but when I use loadbalancer with two different tomcats the server
> > doesn't response
> No response at all? Or some error status?
> > but always try to refresh the page.
> It's not clear to me what you're doing nor what's happening.
> What about providing a more precise description of your setup (like
> config) and observations?
> --
> Michael Ludwig
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message