• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Oracle 10G Clustering

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We are trying to move our application into a clustered environment. During our testing, we ran into a problem when the oc4j is taken down on server 1, the user is required to log back into the application on server 2. There is not a seamless transition. The application architecture is JSP, struts, and stateless session beans. According to the Oracle documentation, the only thing I had to do to make the application highly available is to add <distributable/> to web.xml. Is this right?

Also, we have a HttpSessionLister that listens for sessions being destroyed. I have noticed that the listener's sessionDestroyed() method is being fired when the oc4j is taken down. The sessionDestroyed() mehtod removes all session attributes when a session is destroyed. This would cause the user to have to login again on the clustered server since the user's credentials are removed. So my question is: Is the sessionDestroyed method supposed to fire when the oc4j is taken down in a clustered environment?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic