January 7, 2009 on 5:30 am | In mybachcars.com |
weblogic 8 server farm session sharing between http & https requests
Hi Folks,
I need your help/suggestions for the following problem.
we have 2 weblogic 8.1 servers and 1 bluecoat load balancer.
bluecoat loadbalancer is configured based on domainname,port of
webrequests.we have java servlet & jsp
application deployed on both weblogic servers.
For http request it uses 80 for https it uses port 443.
Our application is working fine if we use all http or all https requests.
recently we have a new requirement as below.
Our application should use https only while logging into application
and http in all other areas to improve
the response time of the application.
This mixed kind (https,http)is causing the problem in our application.
login requests are getting failed due to session destruction between 2 servers.
This is getting failed even if we put database session.
following is the weblogic.xml values (in both servers) for db session
configuration.
CookieDomain
mydomain
PersistentStoreType
jdbc
PersistentStorePool
myConnectionPool
PersistentStoreTable
wl_servlet_sessions
CookieDomain
mydomain
PersistentStoreType
jdbc
PersistentStorePool
myConnectionPool
PersistentStoreTable
wl_servlet_sessions
when we observe sessionid in cookie it is showing different values for http,https.
it looks like session values created by server-A in the database is
not getting read by server-B. and
vice-versa.
Question:
what extra configuration we can do to make it work (mixed http,https
requests session sharing between servers)
we have very little control over bluecoat configurations.
we know if we make sessions sticky (at loadbalancer level)it will
work. But we don't want to do that.
Please respond if you have experience in configuring weblogic server farms.
Your quick response is greatly appreciated.
#If you have any other info about this subject , Please add it free.# |
|
edit