tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Mod_JK / Tomcat : How does Tomcat know its name in mod_jk side?
Date Thu, 20 Jul 2006 19:55:40 GMT
The name associated with each worker must match the one used for the 
jvmRoute attribute specified on the Engine element of the corresponding 
node's server.xml.

It's not explicitely passed via AJP. You need to keep the names in 
workers.properties/server.xml in sync by yourself.

Rainer

gaston.azerty@free.fr wrote:
> Hi,
> 
> I'm always working on mod_jk and I have got a question about cookie generation
> on the Tomcat side.
> When a request has been send by a new client, he obtains a Cookie, this cookie
> has been generated by Tomcat (worker). In this cookie, we find the route to the
> correct worker for the next request (JSESSIONID=EF45..B01.worker1, worker1 is
> the route) (if sticky_session is on), but how Tomcat knows that his name in
> mod_jk side is "worker1"?
> Where this information has been sent in the ajp protocol?
> 
> Regards,
> 
> Thomas

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


Mime
View raw message