| 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
|
 |
 |
|
|
subject: Session values are lost when request switched from one manged server to other in weblogic 10.3
|
|
|