Installing and Configuring weblogic Apache HTTP Server Plug-In

  • 970 views
Uploaded on

WebLogic Server's HTTP functionality into the Apache Server.

WebLogic Server's HTTP functionality into the Apache Server.

More in: Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
970
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
20
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 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 mod_wl.so mod_wl128.so 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 mod_wl.so module ( WebLogic Module ) in ' /etc/httpd/modules ' on Apache Module Directory.
  • 2. Following entries add in Apache configuration file # vi /etc/httpd/conf/httpd.conf #Weblogic Module LoadModule weblogic_module modules/mod_wl.so ##### Weblogic specific declarations ######## <IfModule mod_weblogic.c> WebLogicHost 192.168.0.56 WebLogicCluster 192.168.0.56:7001 </IfModule> <Location /empxtrack> SetHandler weblogic-handler PathTrim empxtrack # or you can set PathTrim to /empxtrack ErrorPage http://192.168.0.56 </Location> <Location /servletimages> SetHandler weblogic-handler Pathtrim something ErrorPage http://192.168.0.56 </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 :- http://192.168.0.56/empxtrack