Oracle Weblogic Server (MOSC)

MOSC Banner

weblogic plugin syntax ?

edited Dec 27, 2017 6:36AM in Oracle Weblogic Server (MOSC) 8 commentsAnswered

We are using following weblogic plugin WebLogic Server Plugin version 12.2.1.3.0 <WLSPLUGINS_12.2.1.3.0_LINUX.X64_170817.1846> on Apache 2.4 on Redhat 7. Could you please advise which syntax is correct ?

Option 1

<IfModule mod_weblogic.c>

  WebLogicCluster server1:20000,server2:20000,server3:20000

  KeepAliveEnabled ON
  Idempotent OFF

</IfModule>

<Location /web>
    WLSRequest On
    PathTrim /web
</Location>
<Location /test>
    WLSRequest On
    PathTrim /test
</Location>

Option 2

<IfModule mod_weblogic.c>

  WebLogicCluster server1:20000,server2:20000,server3:20000

  KeepAliveEnabled ON
  Idempotent OFF

</IfModule>

<Location /web>
    SetHandler weblogic-handler
</Location>
<Location /test>
    SetHandler weblogic-handler
</Location>

I thought with plugin 12c I need to use option 1 however when I enable option 1 - load balancer is not working getting 302 errors instead of 200 response. currently I have setup option 2 but I thought this is not correct setting with plugin 12c.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center