jeudi 13 novembre 2014

Understand "Weblogic Plugin Enabled" attribute

Why using "Weblogic Plugin Enabled" :
Weblogic Server usually receives requests through a web server or a load-balancer which works as a proxy.
When using this kind of configuration, it is important to inform Weblogic Server of the presence of a proxy to handle the client request correctly.

Set the "weblogic plugin Enabled" attribute to true indicates to WLS to call getRemoteAddr and return the original request from the browser client instead of front WebServer address.

Example : 
One of the most representative example is when using Apache Server as a SSL termination in front of Weblogic.
In a simple case which consists to access to Weblogic console, we can observe weblogic behavior with and without "WL Plugin Enabled" attribute.

WL Plugin Enabled to false : 
When "Weblogic Plugin Enabled" is set to false, the redirect send to browser is rewriten in http on initial https port.


WL Plugin Enabled to true : 
When "Weblogic Plugin Enabled" is set to true, the redirect send to browser is rewriten correctly on https on the original port.



How to activate : 
"Weblogic Plugin Enabled" attribute can be set to three level.
- Domain Level (apply to all clusters and servers that do not overwrite explicitly the attribute with different value)
- Cluster Level (apply to all members of the cluster that do not overwrite explicitly the attribute with different value)
- Server Level

Domain Level : 
- Select Domain name :


- Select "Configuration" Tab, then "Web Applications" :


- Select "Weblogic Plugin Enabled" checkbox :


Cluster Level : 
- Expand "Environment" and select "Clusters", then click on your cluster :



- On "Configuration / General" Tabs, go to "Advanced" section, then select the value for "WL Plugin Enabled" attribute.
"Default" means that domain value apply.


Server Level : 
- Expand "Environment" in "Domain Structure" and select "Servers". Select the desired server :



- Select "Configuration / General" Tab :



- Expand "Advanced" section, then select a value for "Weblogic Plugin Enabled" attribute :



Aucun commentaire:

Enregistrer un commentaire