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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to