tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babu Satasiya <babulalsatas...@gmail.com>
Subject Re: [OT] mod_jk sticky session now working !! My bad.
Date Tue, 27 Feb 2007 21:26:40 GMT

Hi Scott,

Good its now working for you, I hope you can share your server.xml and
workers.properties for community, so others can benefits of it. 

I would like to know do you use cluster or not? If yes, you tried stopping
one of tomcat and your session is still continued or not? 

With cluster one can do session replication and it will help to have high
availabilty and load balancing together.

Please update.

Babu Satasiya

Cisco System Inc.

Scott Danforth wrote:
> 
> 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: 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
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/mod_jk-sticky-session-not-working---tf3276314.html#a9192294
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


Mime
View raw message