tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Cannot find workers
Date Thu, 19 Feb 2009 15:32:05 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

Wow, that's a confusing workers.properties file. You load-balance one
worker and still use it separately... and then never define the second
of the two load-balances workers? The load-balancer isn't even enabled.

- -chris

On 2/19/2009 9:31 AM, Martin Gainty wrote:
> Goddag Wesley 
> 
> here is my list from %TOMCAT_HOME%/conf/workers.properties
> 
> # Add 'inprocess' if you want JNI connector 
> worker.list=ajp12, ajp13
> 
> #------ DEFAULT ajp13 WORKER DEFINITION ------------------------------
> #---------------------------------------------------------------------
> 
> # Defining a worker named ajp13 and of type ajp13
> # Note that the name and the type do not have to match.
> #
> worker.ajp13.port=8009
> worker.ajp13.host=localhost
> worker.ajp13.type=ajp13
> #  ----> Low lbfactor means less work done by the worker.
> worker.ajp13.lbfactor=1
> 
> # The loadbalancer (type lb) workers perform wighted round-robin
> # load balancing with sticky sessions.
> # Note:
> #  ----> If a worker dies, the load balancer will check its state
> #        once in a while. Until then all work is redirected to peer
> #        workers.
> worker.loadbalancer.type=lb
> worker.loadbalancer.balanced_workers=ajp12, ajp13
> 
> Bedankt,
> Martin 
> ______________________________________________ 
> Disclaimer and confidentiality note 
> Everything in this e-mail and any attachments relates to the official business of Sender.
This transmission is of a confidential nature and Sender does not endorse distribution to
any party other than intended recipient. Sender does not necessarily endorse content contained
within this transmission. 
> 
> 
> 
> 
>> Date: Thu, 19 Feb 2009 14:37:44 +0100
>> From: wesley.schwengle@is.online.nl
>> To: users@tomcat.apache.org
>> Subject: Cannot find workers
>>
>>
>> Hello to all,
>>
>> I have a small issue with Apache (2.2.8) and mod_jk (1.2.27).
>>
>> I moved some jkmount statements from my mod_jk.conf to the virtualhost section
>> in Apache and it doesn't work as expected. The full log can be seen here:
>>
>> http://pb.opperschaap.net/117
>>
>> The problem is this error:
>>
>> Could not find worker with name 'w_coinmi' in uri map post processing.
>>
>> mod_jk.conf:
>>
>> JkWorkersFile /home/wesleys/etc/workers.properties
>> JkLogFile /var/log/apache2/mod_jk.log
>> JkLogLevel debug
>>
>> workers.properties:
>>
>> workers.list=w_coinmi, w_testme
>>
>> ##
>> worker.w_coinmi.port=9009
>> worker.w_coinmi.host=localhost
>> worker.w_coinmi.type=ajp13
>>
>> ##
>> worker.w_testme.port=9010
>> worker.w_testme.host=localhost
>> worker.w_testme.type=ajp13
>>
>> vhost config:
>> <VirtualHost chanadm-devel>
>>      ServerName name.example.com
>>      ServerAlias alias.example.com
>>      DocumentRoot /home/wesleys
>>      ServerAdmin toor@example.com
>>      ErrorLog /var/log/apache2/coinmi_error_log
>>      CustomLog /var/log/apache2/coinmi_access_log common
>>
>>      # this used to be in mod_jk.conf
>>      Alias /coinmi /home/wesleys/tomcat/coinmi/tomcat/coinmi/webapps
>>      JkMount /coinmi/*  w_coinmi
>>
>> </VirtualHost>
>>
>> Does anyone know what I'm doing wrong?
>>
>> Cheers,
>> Wesley
>>
>> PS. I'm subscribed to the list, but haven't received a confirmation, please
>> reply direct to me (and CC the list for the archives :)).
>>
>> -- 
>> Online Broadband BV, http://www.online.nl, http://www.euronet.nl
>> Wesley Schwengle, System Administrator, IT Operations (Development/Integration)
>> Muiderstraat 1, PO BOX 10241, 1001 EE Amsterdam, T: +31 20 5355555, F: +31 20 5355749
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
> 
> _________________________________________________________________
> Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie.
> http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmde3UACgkQ9CaO5/Lv0PBQwwCeOTfGImjcN8nretzK7bc3YCDa
yLwAnRWeNBFOOGBnX0aGpJ0R4DtXM4Dp
=ik8y
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message