This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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?

It is sorta covered in the JavaRanch Style Guide.
subject: Clustered application
It's not a secret anymore!