Is there way in the Websphere App Server 6.0 to make servlets/jsp running in two different servlet contexts to share the Session attributes.
We worked out the solution in the Tomcat. Which allows to share sessions when jsp/servlets are running in two different contexts.
I could not see the session management GUI specifying the option for Shared Session Contexts in Websphere 6.0.
When i browsed through the google, i could see some results pointing session sharing in Websphere 5.0.
Do any one help me out understanding how to make the jsp/servlets share the session attributes in Websphere 6.0
posted 9 years ago
It is possible as long as the war files are rolled up inside one ear.
If you are using Rational Application Developer, you can go to the enterprise application and open the /META-INF/application.xml file in the Deployment Descriptor Editor. From there, go to the Overview tab and check the "Shared session context" box.
This generated a file called ibm-application-ext.xmi in the META-INF folder under RAD. If you are not using RAD, please let me know and I will post the contents of this file for you.