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

Clustered application

Rahul Jadaun
Ranch Hand

Joined: Oct 05, 2006
Posts: 36

We have a clustered application that sits on 2 weblogic servers. We are facing a problem with the application context attributes which, when saved on one server, do not reflect back on the other server.
We are having some values set as ServletContext.setAttribute(). When some user is forwarded to the other server by the load balancer, he/she does not see the updated values in the servlet Context.
I thought J2EE spec requires servers to keep application and session info in sync on clustered apps. Any ideas why this is happening and how this can be resolved?

I agree. Here's the link:
subject: Clustered application
It's not a secret anymore!