Aha!!!

I was confused by the XML. I was changing the Engine element that was previously commented out, and this, of course, is followed by another (the real one, which wins, and didn't have a jvmRoute).

Thanks so much! Your comments helped me find my problem.

   Thanks,
   -- Scott.


Scott Danforth wrote:

Hi Mladen,

I really appreciate your help, and am happy that you're seeing a problem in the log output.

I think I've got the Engine attributes specified correctly, and the two different jvmRoute values do show up in the mod_jk log.

<Engine name="Standalone" defaultHost="localhost" debug="0" jvmRoute="tomcat1" /> <Engine name="Standalone" defaultHost="localhost" debug="0" jvmRoute="tomcat2" /> Maybe if I give the Engines different names? It sounds like we're expecting the jvmRoute to be appended to the sessionId that is returned in the Set-Cookie header? If so, I guess mod_jk is working as expected, and I'm just not getting the right sessionid created by Tomcat.

I'm not using Boss. Just Apache and Tomcat on a single Solaris machine.

   -- Scott.


Mladen Turk wrote:

Scott Danforth wrote:

Mladen Turk wrote:


Thanks for your help. That sounds very reasonable, and I modifed the two server.xml Engine elements as suggested, but it appears to make no difference.

get_most_suitable_worker::jk_lb_worker.c (733): searching worker for partial sessionid 9E36E3DC58A09ED9045B25F839E37A2C



You still don't have jvmRoute appended.
Check if jvmRoute (param name is case sensitive!) is
correctly set up.
Also, if you use JBoss add <attribute name="UseJK">true</attribute>
see:
http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss


Regards,
Mladen.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to