Installing and Configuring weblogic Apache HTTP Server Plug-In


Published on

WebLogic Server's HTTP functionality into the Apache Server.

Published in: Education
  • Be the first to comment

  • Be the first to like this

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

Installing and Configuring weblogic Apache HTTP Server Plug-In

  1. 1. Integration of WebLogic Server's HTTP functionality into the Apache Server. This document describes how to install and configure the Apache-WebLogic Sever plug-in. The plug- in allows a smooth integration of WebLogic Server's HTTP functionality into the Apache Server. Using the Apache-WebLogic Sever plug-in enhances an existing Apache installation by providing a way to access WebLogic Server's servlet engine transparently. The plug-in is intended for use in an environment where an Apache Server serves static pages, and another part of the document tree (dynamic pages best generated by HTTP Servlets) is delegated to a WebLogic Server operating in a different process, possibly on a different host. To the end user - the browser - the HTTP requests delegated to WebLogic Server still appear to be coming from the same source; WebLogic Server on the back-end is invisible. The HTTP-tunneling facility of the WebLogic Server client-server protocol may also operate through the plug-in, providing access to all WebLogic Server services, not only HTTP servlets. The Apache-WebLogic Sever plug-in operates as an Apache module within an Apache Server. An Apache module is loaded by an Apache Server at startup, and then certain HTTP requests are delegated to it. Apache modules are similar to HTTP (Java) servlets, except that an Apache module is in code native to the platform. The Apache plug-in has been tested and is intended for use with Apache Server 1.3.9. 1. Identify the plug-in shared object file for your version of Apache in below table. Apache Version Regular Strength Encryption 128-bit Encryption Standard Apache Version 2.0.x 2. Verify that the WebLogic Server Apache HTTP Server Plug-In mod_so.c module is enabled. # httpd -l Output :- Compiled in modules: core.c prefork.c http_core.c mod_so.c Copy attach module ( WebLogic Module ) in ' /etc/httpd/modules ' on Apache Module Directory.
  2. 2. Following entries add in Apache configuration file # vi /etc/httpd/conf/httpd.conf #Weblogic Module LoadModule weblogic_module modules/ ##### Weblogic specific declarations ######## <IfModule mod_weblogic.c> WebLogicHost WebLogicCluster </IfModule> <Location /empxtrack> SetHandler weblogic-handler PathTrim empxtrack # or you can set PathTrim to /empxtrack ErrorPage </Location> <Location /servletimages> SetHandler weblogic-handler Pathtrim something ErrorPage </Location> <Files *.jsp> SetHandler weblogic-handler </Files> # Restart Apache HTTP Server. # Restart WeblogicServer Service To test the Apache plug-in, open a browser and set the URL to the Apache Server + "/empxtrack/", which should bring up the default WebLogic HTTP servlet, as shown in this example::- URL :-