This content has been marked as final.
Show 1 reply
-
1. Strange issue related to clustering
saurvals Jan 26, 2011 11:04 PM (in response to saurvals)We found the issue causing above behavior. Recently we upgraded from Jboss 4 to Jboss 5. We have 2 webapps in the app server. We use cookies to maintain the session level information.
- In Jboss 5 cookies are bound to context with specific app. and hence are not accessible or behave differerntly across web app. Solution to this problem is modify deploy/jbossweb.sar/context.xml and add following line:
<SessionCookie path="/"/>
This will make sure that cookies are bound to / and being shared between 2 apps.
Hope this helps someone.
THanks,
Saurabh V.