aspose file tools*
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
Author

Shared Session Contexts

moola reddy
Greenhorn

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
Greenhorn

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.

Cheers,

Ed
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Shared Session Contexts