简体   繁体   中英

Weblogic 12c stickiness issue

I am building a cluster environment with weblogic 12c as application server and I am using weblogic as LOADBALANCER,

my problem that every time I send the request to the load balancer it sends it to a different node although it should send it to the same node !!

I am sure there is a missing property to enable affility (stickiness).

any suggestions guys !

I am assuming you are using " WebLogic Proxy Plug-In " - can you confirm this is true.

The default loadbalancing algorithm is round robin When using weblogic proxy plug-in hence the behaviour you are observing is expected.

Session Stickiness comes into play only when you have an application which is using sessions, and you have defined WLCookieName parameter to the correct cookie name value in the plug-in.

http://docs.oracle.com/cd/E21764_01/web.1111/e14395/plugin_params.htm#CIHFFGEB

Tell us what request are you sending to the loadbalancer ? is it to a static resource (like index.htm) or is it to an application where you are maintaining a session.

Share some bit of the plugin configuration you have done.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM