Configure Apache Webserver with Weblogic Server

Step 1) Make sure the Apache server runs on port 8080.( This is because sometimes IIS, or some antivirus s/w runs on that port).This can be done by modifying the httpd.conf present at
D:\Program Files\Apache Group\Apache2\conf
Modify the Listen port to 8080

Listen 8080

Step 2) Copy the mod_wl_20.so from <bea_home>\wlserver_10.3\server\plugin\win\32 to
D:\Program Files\Apache Group\Apache2\modules

Step 3) Add these lines in the httpd.conf file

LoadModule weblogic_module modules/mod_wl_20.so

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

<IfModule mod_weblogic.c>
WebLogicCluster localhost:7003,localhost:7005
Debug ON
WLLogFile c:/temp/wlproxy.log
WLTempDir c:/temp
</IfModule>

Step 4) Restart Apache and access the application deployed on the Cluster using

http://localhost:8080/YourApp

This will forward the request to the Weblogic Cluster

You can check the headers sent and received to WLS in wlproxy.log file.

Let me know if you face any issues.

Latest Comments

  1. Arun December 11, 2010
    • Administrator December 12, 2010
  2. Shawn December 15, 2010
  3. madhukar Gunda January 4, 2011
  4. amit August 25, 2012
    • Administrator September 1, 2012
    • Administrator September 29, 2012
      • swami September 13, 2014
        • Administrator November 6, 2014
  5. Sreehari March 15, 2013
    • Administrator March 28, 2013
  6. Vijay May 30, 2013
    • Administrator January 16, 2014
  7. vijay May 30, 2013
    • Administrator October 7, 2013
  8. eke_muugii July 2, 2013
  9. chandan ghosh January 15, 2014
    • Administrator January 16, 2014
  10. Ana January 27, 2014
    • Administrator January 30, 2014
    • Administrator February 20, 2014
  11. Mohammed Azas March 3, 2014
    • Administrator March 4, 2014
  12. Venkat August 1, 2014
    • Administrator August 5, 2014
  13. Pankaj August 6, 2014
    • Administrator September 8, 2014
  14. Raja Reddy August 23, 2014
    • Administrator November 21, 2014
  15. vamsi September 3, 2014
    • Administrator September 8, 2014
  16. swami September 13, 2014
    • Administrator November 21, 2014
  17. Sam September 25, 2014
    • Administrator November 6, 2014
  18. Rishi April 4, 2016
    • Administrator April 6, 2016

Leave a Reply