• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Shared Session Contexts

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic