Ok,

My mistake. I mixed the examples in the source file the wrong way.
But now it gives me the same error as when I try to configure it without
load balancer:

[Fri Jan 27 08:24:52 2006] [1532:3412] [debug] jk_uri_worker_map.c (475):
Found a wildchar match wlb -> /*.jsp
[Fri Jan 27 08:24:52 2006] [1532:3412] [debug] mod_jk.c (1839): Into handler
jakarta-servlet worker=wlb r->proxyreq=0
[Fri Jan 27 08:24:52 2006] [1532:3412] [debug] jk_worker.c (111): found a
worker wlb
[Fri Jan 27 08:24:52 2006] [1532:3412] [debug] jk_worker.c (301):
Maintaining worker wlb
[Fri Jan 27 08:24:52 2006] [1532:3412] [debug] mod_jk.c (531): Service
protocol=HTTP/1.1 method=POST host=(null) addrr=10.1.227.76
name=ntbrawebdv11.braine.ucb port=9080 auth=(null) user=(null)
laddr=10.1.4.244 raddr=10.1.227.76
[Fri Jan 27 08:24:52 2006] [1532:3412] [error] mod_jk.c (1932): Could not
init service for worker=wlb
[Fri Jan 27 08:26:31 2006] [1532:3828] [debug] mod_jk.c (1761): Shmem
cleanup
[Fri Jan 27 08:26:31 2006] [1532:3828] [debug] mod_jk.c (1761): Shmem
cleanup
[Fri Jan 27 08:26:31 2006] [0264:3124] [debug] mod_jk.c (1761): Shmem
cleanup

I'd really like more details in the logs why it can not initialize the
worker.
But I guess debug is all I'm going to get.

I checked the system event logs as well, but no luck either (syntax errors
in the workers.properties are logged over there though).

I assume my tomcat config is ok since it works with the older jk2 connector.
The AprLifecycleListener is only needed in case of automatic configuration,
but maybe this is a specific issue to win 2003?

Luc

> 
> Carpentier Luc (Uniway) wrote:
> > 
> > I even found contradictory information.
> > In the docs it states that the workers should not be defined in the
> > workers.list when you are using load balancing, but in the 
> examples I found
> > on the internet, they were defined in the workers.list (and 
> yes I tried it
> > but it just gives another error message).
> > 
> 
> Then always trust the official documentation :)
> Anyone can write whatever he likes, but that doesn't mean its true.
> 
> > 
> > Could not find a worker for worker name=tomcat1.
> >
> 
> OK :)
> 
> 
> > workers.tomcat_home=d:/java/apache-tomcat-5.5.15
> > 
> > workers.java_home=C:/Program Files/Java/jdk1.5.0_06
> > 
> > ps=/
> >
> 
> You don't need the above directives.
> 
> 
> > # define special the workers load balancer and jkstatus worker
> > worker.list=wlb,jkstatus
> > 
> 
> This means that you have 2 workers from which you can mount
> context.
> 
> > # A list of all the workers that are load balanced.
> > worker.wlb.balance_workers=tomcat1
> >
> 
> OK, so you have added at least one member to loadbalancer.
> 
> 
> > # Send servlet for context .do to worker named worker1      
> > JkMount /*.do tomcat1       
> >
> 
> Use:
> JkMount /*.do wlb
> 
> You map the url to loadbalancer worker, and then the loadbalancer
> will decide to which node route the request depending on the
> algorithm selected (In you case by request).
> 
> 
> Regards.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


--------------------------------------------------------- 
Legal Notice: This electronic mail and its attachments are intended solely
for the person(s) to whom they are addressed and contain information which
is confidential or otherwise protected from disclosure, except for the
purpose for which they are intended. Dissemination, distribution, or
reproduction by anyone other than the intended recipients is prohibited and
may be illegal. If you are not an intended recipient, please immediately
inform the sender and return the electronic mail and its attachments and
destroy any copies which may be in your possession. UCB screens electronic
mails for viruses but does not warrant that this electronic mail is free of
any viruses. UCB accepts no liability for any damage caused by any virus
transmitted by this electronic mail. 
---------------------------------------------------------

Reply via email to