• 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

I want to share a session between two Web applications

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I was using was3.5 until now. And the session
was shared between two Web applications.
It was moving normally.
I upgraded Was to 4.0 this time. And two Web applications(*.war) were registered into the same enterprise application.
I want to share a session between this Web application.
That is, the session information created by servlet in a.war is referred to by servlet in b.war, or is updated.
Is this possible?
#I am not good at English. I'm sorry when unclear.
 
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apply the latest fp4 for WAS4.0, you will have this choice back!
 
Taro Yamada
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello, Simon.
Unless it applies fix4, is a session unsharable between different Web applications?
Taro
 
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Something u can try
- use session persistance
- configure the database for the session persistance (BOTH APP SERVERS INSTANCES) to be the same same db & same schema
[ August 15, 2002: Message edited by: Vinod Bijlani ]
 
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Simon Song:
Apply the latest fp4 for WAS4.0, you will have this choice back!


Simon, you mean this is possible with WAS 4.04 ?
But am I wrong or is this not in accordance with the servlet specs ?
 
Simon Song
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Servlet spec disallow this, but there are many existing applications based on old spec need this feature. I think IBM just provides this as an migration facility for those old applications.
New application architecture should comply with latest spec.
 
Taro Yamada
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Thank you for advising my question.
I read the release note of fixpack4. And I found description of the
following related with a new function.
> Provide session sharing across Web applications in an enterprise application
It seems that a share of a session is possible at WebSphere4.04 so that Simon may say.
Thank you, Simon!
You can refer to the release note of fixpack4 by url of the following.
ftp://ftp.software.ibm.com/software/websphere/appserv/support/fixpacks/was40/fixpack4/docs/404rn.html
 
reply
    Bookmark Topic Watch Topic
  • New Topic