aspose file tools
The moose likes BEA/Weblogic and the fly likes Session values are lost when request switched from one manged server to other in weblogic 10.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "Session values are lost when request switched from one manged server to other in weblogic 10.3" Watch "Session values are lost when request switched from one manged server to other in weblogic 10.3" New topic
Author

Session values are lost when request switched from one manged server to other in weblogic 10.3

Andavarayan Muthuraju
Greenhorn

Joined: Oct 26, 2010
Posts: 2
Hi everyone,

We have upgraded our weblogic 8.1 to 10.3. Our web application has one admin server and two managed servers.
When ever we do response.sendredirect, the request is being sent to other managed server where it lost the session values.
If I keep only one managed server up all the time, I didnt face this issue.

And we have webserver and done all sorts of configuration for clustering and weblogic.xml session descriptor has
<persistent-store-type>replicated_if_clustered</persistent-store-type>

Can anyone please guide me what is missing?

NOTE: We didnt face this issue with weblogic 8.1

Thanks,
Andavarayan M
sudipto shekhar
Ranch Hand

Joined: Apr 02, 2008
Posts: 813

As you are using in-memory replication, the session data is replicated and stored in the JVM' of the primary server i.e the server that is up.

But the session data will be lost if all the servers that were in the session are brought down.

this can be thought as one of the demerits of in-memory replication. so to use this feature, you would need atleast one server instance up.

Or, always, you can use jdbc persistence store or the file persistence store.



Regards, Sud.
SCJP 5 ScjpFAQ JLS
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Session values are lost when request switched from one manged server to other in weblogic 10.3
 
Similar Threads
Getting java.lang.NoClassDefFoundError at OraclePreparedStatementWrapper
Posting Topic across domains wls8.1
Session Object fails in Clustered environment
Issue with request from IE 8.0 via IIS web server to ISAPI plugin for Weblogic 8.1 app server
Java InitialContext failure in 1.6