You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tsirkin Evgeny <ts...@gmail.com> on 2009/06/11 14:26:56 UTC

mod_jk does not recognize extension

Hi list!
I have mod_jk 1.2.26 configured and working fine.
However i want to set a special reply_timeout for a special url ,
i am getting strange errors in log and the rule is ignored .
Once i add this line:
 /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
(see the full config below)
I am getting in jk log this:
jk_handler::mod_jk.c (2372): Could not find a worker for worker
name=dataj_mid;reply_timeout=120000
And i am getting error 500 from apache on those urls.
Please help!
Evgeny


My worker.properties :
### template - applyed to all the others
worker.list=dataj,dataj_dev,dataj_mid,test,jkstatus
worker.template.type=ajp13
worker.template.host=localhost
worker.template.port=8009
### THE configuration parameter - timeout
worker.template.reply_timeout=120000


## workers using ajp3
worker.test.reference=worker.template
worker.dataj.reference=worker.template
worker.dataj_dev.reference=worker.template
worker.dataj_mid.reference=worker.template
### this status worker will be mounted only throught ssl and from my machine
worker.jkstatus.type=status
worker.jkstatus.read_only=True

----------------------------------------------------------------
uriworkers.properties:
/dataj_dev=dataj_dev
/dataj_dev/controller/finance/*=dataj_dev
/dataj_dev/*=dataj_dev; reply_timeout=120000

# /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
/dataj_mid=dataj_mid
/dataj_mid/*=dataj_mid

/dataj=dataj
/dataj/*=dataj
###test for java env.
/jtests=test
/jtests/*=test

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


Re: mod_jk does not recognize extension

Posted by Rainer Jung <ra...@kippdata.de>.
Hi Chris,

On 17.06.2009 19:15, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Rainer,
> 
> On 6/17/2009 3:45 AM, Rainer Jung wrote:
>> Thanks, added as r785498 in a slightly different wording. Will be part
>> of 1.2.29.
> 
> Does that mean that the website has to wait for 1.2.29 to be released
> for an update? It would be great if the doc update could go out now.

It doesn't have to, but the docs on the web site are simply copies of
the docs in the release. Of course we have the possiblity to do point
updates, but we have to be careful in order not to publish things, that
are in advance of the existing release.

In summary: I updated the docs now, but don't like to commit myself to
always update docs before the release ;) It somehow depends on how
important a docs update is based on technical input or community feedback.

Note: it might take a couple of hours before the changes are visible on
the public server.

Regards,

Rainer

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


Re: mod_jk does not recognize extension

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rainer,

On 6/17/2009 3:45 AM, Rainer Jung wrote:
> Thanks, added as r785498 in a slightly different wording. Will be part
> of 1.2.29.

Does that mean that the website has to wait for 1.2.29 to be released
for an update? It would be great if the doc update could go out now.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAko5JJYACgkQ9CaO5/Lv0PBE9QCcD95TAh3wXIwtgcrqVQg5BBPg
tYQAn3tYCD++YwJ+xwGgFsN7SN7vTgoM
=S5xe
-----END PGP SIGNATURE-----

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


Re: mod_jk does not recognize extension

Posted by Rainer Jung <ra...@kippdata.de>.
On 17.06.2009 00:09, Christopher Schultz wrote:
> Rainer,
> 
> On 6/16/2009 1:05 PM, Rainer Jung wrote:
>> Would you mind to provide some sentences or corrections for specific
>> docs pages?
> 
> How about adding:
> 
> "
> Rule extensions were added in mod_jk 1.2.17. If you would like to use
> rule ("mount"?) extensions, you must use a version of mod_jk 1.2.27 or
> higher.
> "
> 
> to http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
> right after the "Rule Extensions" heading, before the "Syntax" section?
> 
> -chris

Thanks, added as r785498 in a slightly different wording. Will be part
of 1.2.29.

Regards,

Rainer

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


Re: mod_jk does not recognize extension

Posted by Tsirkin Evgeny <ts...@gmail.com>.
Actually i guess
"Rule extensions were added in mod_jk 1.2.17."
Is probably enough .Just make it  underlined or bold.
Evgeny

On Wed, Jun 17, 2009 at 1:09 AM, Christopher Schultz <
chris@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Rainer,
>
> On 6/16/2009 1:05 PM, Rainer Jung wrote:
> > Would you mind to provide some sentences or corrections for specific
> > docs pages?
>
> How about adding:
>
> "
> Rule extensions were added in mod_jk 1.2.17. If you would like to use
> rule ("mount"?) extensions, you must use a version of mod_jk 1.2.27 or
> higher.
> "
>
> to http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
> right after the "Rule Extensions" heading, before the "Syntax" section?
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAko4GAUACgkQ9CaO5/Lv0PC7DwCeM616BD4LOAdhdV6+LENiIArA
> 9iwAoLxnrlLYVOASbt2Bo1wkQd+M4bw5
> =81NS
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: mod_jk does not recognize extension

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rainer,

On 6/16/2009 1:05 PM, Rainer Jung wrote:
> Would you mind to provide some sentences or corrections for specific
> docs pages?

How about adding:

"
Rule extensions were added in mod_jk 1.2.17. If you would like to use
rule ("mount"?) extensions, you must use a version of mod_jk 1.2.27 or
higher.
"

to http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html
right after the "Rule Extensions" heading, before the "Syntax" section?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAko4GAUACgkQ9CaO5/Lv0PC7DwCeM616BD4LOAdhdV6+LENiIArA
9iwAoLxnrlLYVOASbt2Bo1wkQd+M4bw5
=81NS
-----END PGP SIGNATURE-----

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


Re: mod_jk does not recognize extension

Posted by Rainer Jung <ra...@kippdata.de>.
On 16.06.2009 17:28, Tsirkin Evgeny wrote:
> Thanks
> It worked
> If just it would be mentioned in documention it would save me several ours
> of
> debugging
> Should i report a bug or i have missed it?

Would you mind to provide some sentences or corrections for specific
docs pages?

Regards,

Rainer

> On Fri, Jun 12, 2009 at 10:24 AM, Tsirkin Evgeny <ts...@gmail.com> wrote:
> 
>> On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung <ra...@kippdata.de>wrote:
>>
>>> On 11.06.2009 14:26, Tsirkin Evgeny wrote:
>>>> Hi list!
>>>> I have mod_jk 1.2.26 configured and working fine.
>>>> However i want to set a special reply_timeout for a special url ,
>>>> i am getting strange errors in log and the rule is ignored .
>>>> Once i add this line:
>>>>  /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
>>>> (see the full config below)
>>>> I am getting in jk log this:
>>>> jk_handler::mod_jk.c (2372): Could not find a worker for worker
>>>> name=dataj_mid;reply_timeout=120000
>>>> And i am getting error 500 from apache on those urls.
>>> Sorry, but this time an update will help :)

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


Re: mod_jk does not recognize extension

Posted by Tsirkin Evgeny <ts...@gmail.com>.
Thanks
It worked
If just it would be mentioned in documention it would save me several ours
of
debugging
Should i report a bug or i have missed it?
Evgeny

On Fri, Jun 12, 2009 at 10:24 AM, Tsirkin Evgeny <ts...@gmail.com> wrote:

>
> On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung <ra...@kippdata.de>wrote:
>
>> On 11.06.2009 14:26, Tsirkin Evgeny wrote:
>> > Hi list!
>> > I have mod_jk 1.2.26 configured and working fine.
>> > However i want to set a special reply_timeout for a special url ,
>> > i am getting strange errors in log and the rule is ignored .
>> > Once i add this line:
>> >  /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
>> > (see the full config below)
>> > I am getting in jk log this:
>> > jk_handler::mod_jk.c (2372): Could not find a worker for worker
>> > name=dataj_mid;reply_timeout=120000
>> > And i am getting error 500 from apache on those urls.
>>
>> Sorry, but this time an update will help :)
>>
>>

Re: mod_jk does not recognize extension

Posted by Tsirkin Evgeny <ts...@gmail.com>.
Thanks
I will try this
Evgeny

On Fri, Jun 12, 2009 at 1:25 AM, Rainer Jung <ra...@kippdata.de>wrote:

> On 11.06.2009 14:26, Tsirkin Evgeny wrote:
> > Hi list!
> > I have mod_jk 1.2.26 configured and working fine.
> > However i want to set a special reply_timeout for a special url ,
> > i am getting strange errors in log and the rule is ignored .
> > Once i add this line:
> >  /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
> > (see the full config below)
> > I am getting in jk log this:
> > jk_handler::mod_jk.c (2372): Could not find a worker for worker
> > name=dataj_mid;reply_timeout=120000
> > And i am getting error 500 from apache on those urls.
>
> Sorry, but this time an update will help :)
>
> Mount extensions have been added in version 1.2.27. Update to the recent
> 1.2.28 and it should work.
>
> > My worker.properties :
> > ### template - applyed to all the others
> > worker.list=dataj,dataj_dev,dataj_mid,test,jkstatus
> > worker.template.type=ajp13
> > worker.template.host=localhost
> > worker.template.port=8009
> > ### THE configuration parameter - timeout
> > worker.template.reply_timeout=120000
> >
> >
> > ## workers using ajp3
> > worker.test.reference=worker.template
> > worker.dataj.reference=worker.template
> > worker.dataj_dev.reference=worker.template
> > worker.dataj_mid.reference=worker.template
> > ### this status worker will be mounted only throught ssl and from my
> machine
> > worker.jkstatus.type=status
> > worker.jkstatus.read_only=True
> >
> > ----------------------------------------------------------------
> > uriworkers.properties:
> > /dataj_dev=dataj_dev
> > /dataj_dev/controller/finance/*=dataj_dev
> > /dataj_dev/*=dataj_dev; reply_timeout=120000
> >
> > # /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
> > /dataj_mid=dataj_mid
> > /dataj_mid/*=dataj_mid
> >
> > /dataj=dataj
> > /dataj/*=dataj
> > ###test for java env.
> > /jtests=test
> > /jtests/*=test
>
>  ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Re: mod_jk does not recognize extension

Posted by Rainer Jung <ra...@kippdata.de>.
On 11.06.2009 14:26, Tsirkin Evgeny wrote:
> Hi list!
> I have mod_jk 1.2.26 configured and working fine.
> However i want to set a special reply_timeout for a special url ,
> i am getting strange errors in log and the rule is ignored .
> Once i add this line:
>  /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
> (see the full config below)
> I am getting in jk log this:
> jk_handler::mod_jk.c (2372): Could not find a worker for worker
> name=dataj_mid;reply_timeout=120000
> And i am getting error 500 from apache on those urls.

Sorry, but this time an update will help :)

Mount extensions have been added in version 1.2.27. Update to the recent
1.2.28 and it should work.

> My worker.properties :
> ### template - applyed to all the others
> worker.list=dataj,dataj_dev,dataj_mid,test,jkstatus
> worker.template.type=ajp13
> worker.template.host=localhost
> worker.template.port=8009
> ### THE configuration parameter - timeout
> worker.template.reply_timeout=120000
> 
> 
> ## workers using ajp3
> worker.test.reference=worker.template
> worker.dataj.reference=worker.template
> worker.dataj_dev.reference=worker.template
> worker.dataj_mid.reference=worker.template
> ### this status worker will be mounted only throught ssl and from my machine
> worker.jkstatus.type=status
> worker.jkstatus.read_only=True
> 
> ----------------------------------------------------------------
> uriworkers.properties:
> /dataj_dev=dataj_dev
> /dataj_dev/controller/finance/*=dataj_dev
> /dataj_dev/*=dataj_dev; reply_timeout=120000
> 
> # /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
> /dataj_mid=dataj_mid
> /dataj_mid/*=dataj_mid
> 
> /dataj=dataj
> /dataj/*=dataj
> ###test for java env.
> /jtests=test
> /jtests/*=test

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


Re: mod_jk does not recognize extension

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Evgeny,

On 6/11/2009 8:26 AM, Tsirkin Evgeny wrote:
> Once i add this line:
>  /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000
> (see the full config below)

[snip]

> I am getting in jk log this:
> jk_handler::mod_jk.c (2372): Could not find a worker for worker
> name=dataj_mid;reply_timeout=120000

[snip]

> /dataj_dev/*=dataj_dev; reply_timeout=120000

Extra space between "dataj_dev;" and reply_timeout. Consider removing this.

> # /dataj_mid/controller/finance/*=dataj_mid;reply_timeout=120000

Clearly commented-out.

Try fixing those two issues and trying again.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoxMEgACgkQ9CaO5/Lv0PCnRwCghV9bS+JghnIs1Ost3ALYlkT2
NFUAnAnJsn+6RqKnWwUM7i3f/T9PyJYz
=1gU/
-----END PGP SIGNATURE-----

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