You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Raffaele Viola <ra...@gmail.com> on 2007/07/19 10:31:50 UTC
bad workers.properties configuration
Hi all,
I'm using Apache 2.2.3 and Tomcat 5.5.17 and I want to connect Apache with
Tomcat using mod_jk-1.2.21.
I write this workers.properties
worker.list=default
worker.default.port=8009
worker.default.host=localhost
worker.default.type=ajp13
worker.default.lbfactor=1
But when I try to start Apache in the error_log I read: bad
workers.properties configuration.
What's wrong??
Thanks
Raffo
Re: bad workers.properties configuration
Posted by Rainer Jung <ra...@kippdata.de>.
What are your Jk directives for Apache?
What exactly gets written to the error log *and* to the mod_jk log?
Does localhost resolve to an ip address on your system?
Which platform are you using?
Regards,
Rainer
Raffaele Viola schrieb:
> Hi all,
>
> I'm using Apache 2.2.3 and Tomcat 5.5.17 and I want to connect Apache with
> Tomcat using mod_jk-1.2.21.
>
> I write this workers.properties
>
> worker.list=default
> worker.default.port=8009
> worker.default.host=localhost
> worker.default.type=ajp13
> worker.default.lbfactor=1
>
> But when I try to start Apache in the error_log I read: bad
> workers.properties configuration.
>
> What's wrong??
>
> Thanks
> Raffo
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: bad workers.properties configuration
Posted by Rainer Jung <ra...@kippdata.de>.
Titi Wangsa schrieb:
> ommit lbfactor ?
You don't need it without a load balancer (and even then the default
value of 1 is OK for most uses), but it doesn't harm either.
Regards,
Rainer
>
> On 7/20/07, Joe Riopel <go...@gmail.com> wrote:
>> On 7/19/07, Raffaele Viola <ra...@gmail.com> wrote:
>> > I write this workers.properties
>> >
>> > worker.list=default
>> > worker.default.port=8009
>> > worker.default.host=localhost
>> > worker.default.type=ajp13
>> > worker.default.lbfactor=1
>>
>> Is that all you have in the worker.properties file ?
>>
>> My worker.properties file has this at the top of it:
>>
>> worker.tomcat_home = /usr/local/tomcat
>> worker.java_home = /usr/local/java
>> ps = /
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: bad workers.properties configuration
Posted by "Dantas, Thiago" <th...@hp.com>.
Dears,
Im looking to get the following quote as below, could you please reply it to me asap:
Item1 - TOMCAT V5.0
Subscription 3years - 24x7
Item2 - APACHE V2.0
Subscription 3years - 24x7
Payment Conditions: NET 45days
Regards
________________________________
Thiago Dantas
Procurement
Global Procurement
55 11 4197-4592
thiago.dantas@hp.com
http://www.hp.com.br
________________________________
Esta mensagem (incluindo qualquer anexo) e os arquivos nela contidos é confidencial e legalmente protegida, somente podendo ser usada pelo indivíduo ou entidade a quem foi endereçada. Caso você a tenha recebido por engano, deverá devolvê-la ao remetente e, posteriormente, apagá-la, pois, a disseminação, encaminhamento, uso, impressão ou cópia do conteúdo desta mensagem são expressamente proibidos.
This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly rohibited.
-----Original Message-----
From: Titi Wangsa [mailto:blacksnow666@gmail.com]
Sent: Friday, July 20, 2007 11:56 AM
To: Tomcat Users List
Subject: Re: bad workers.properties configuration
ommit lbfactor ?
On 7/20/07, Joe Riopel <go...@gmail.com> wrote:
> On 7/19/07, Raffaele Viola <ra...@gmail.com> wrote:
> > I write this workers.properties
> >
> > worker.list=default
> > worker.default.port=8009
> > worker.default.host=localhost
> > worker.default.type=ajp13
> > worker.default.lbfactor=1
>
> Is that all you have in the worker.properties file ?
>
> My worker.properties file has this at the top of it:
>
> worker.tomcat_home = /usr/local/tomcat
> worker.java_home = /usr/local/java
> ps = /
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: bad workers.properties configuration
Posted by Titi Wangsa <bl...@gmail.com>.
ommit lbfactor ?
On 7/20/07, Joe Riopel <go...@gmail.com> wrote:
> On 7/19/07, Raffaele Viola <ra...@gmail.com> wrote:
> > I write this workers.properties
> >
> > worker.list=default
> > worker.default.port=8009
> > worker.default.host=localhost
> > worker.default.type=ajp13
> > worker.default.lbfactor=1
>
> Is that all you have in the worker.properties file ?
>
> My worker.properties file has this at the top of it:
>
> worker.tomcat_home = /usr/local/tomcat
> worker.java_home = /usr/local/java
> ps = /
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: bad workers.properties configuration
Posted by Rainer Jung <ra...@kippdata.de>.
Joe Riopel schrieb:
> On 7/19/07, Raffaele Viola <ra...@gmail.com> wrote:
>> I write this workers.properties
>>
>> worker.list=default
>> worker.default.port=8009
>> worker.default.host=localhost
>> worker.default.type=ajp13
>> worker.default.lbfactor=1
>
> Is that all you have in the worker.properties file ?
>
> My worker.properties file has this at the top of it:
>
> worker.tomcat_home = /usr/local/tomcat
> worker.java_home = /usr/local/java
> ps = /
Those three are useless, unless you are doing something very exotic,
using an embedded Tomcat via JNI.
Regards,
Rainer
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: bad workers.properties configuration
Posted by Joe Riopel <go...@gmail.com>.
On 7/19/07, Raffaele Viola <ra...@gmail.com> wrote:
> I write this workers.properties
>
> worker.list=default
> worker.default.port=8009
> worker.default.host=localhost
> worker.default.type=ajp13
> worker.default.lbfactor=1
Is that all you have in the worker.properties file ?
My worker.properties file has this at the top of it:
worker.tomcat_home = /usr/local/tomcat
worker.java_home = /usr/local/java
ps = /
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org