Moose224_63566
Mar 12, 2010Nimbostratus
WebLogic Persistence issue.
We have deployed several BEA WebLogic applications, all with JSessionID persistence, without issue.
Now we are deploying a new Application using a renamed JSessionID cookie for persistence, and we are seeing issues with finding the value in our persistence table consistently. Watching communication, we see will see a number of requests hit the iRule we are using, and find the persistence record, and persist. Every now and then it will not find a value for persistence, and load balance to an improper server. Anyone have any ideas?
Note: We are also doing some static content separation to an Apache farm.
when HTTP_REQUEST {
if { [ matchclass [HTTP::path] ends_with $::WLfiles ] } {
WebLogic Request
pool weblogic_pool
if { [HTTP::cookie exists "CookieID"] } {
set PersistValue [persist lookup uie [HTTP::cookie "CookieID"]]
if {$PersistValue eq ""} {
log local0.info "no persistance found, even though cookie exists"
}
persist uie [HTTP::cookie "CookieID"]
}
} else {
Static Request
pool Static-Content_pool
}
}
when HTTP_RESPONSE {
if { [HTTP::cookie exists "CookieID"] } {
persist add uie [HTTP::cookie "CookieID"] 3600
}
}