File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Websphere and the fly likes Shared Session Contexts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Websphere
Bookmark "Shared Session Contexts " Watch "Shared Session Contexts " New topic

Shared Session Contexts

moola reddy

Joined: May 30, 2006
Posts: 8
Hi All,

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

Thank you
Ed Smith

Joined: Jun 06, 2006
Posts: 3
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.


I agree. Here's the link:
subject: Shared Session Contexts
It's not a secret anymore!