Wednesday, January 1, 2014

Integration process for Apache to weblogic

* We have to downloaded and install weblogic serverApplication server, Apache webserver from the official websites
* We want to install apache plug-in file,so that we can avoid port number when accessing the deployed applications
* The steps given below should work for apache 2.x
1. Download the apache server plug in for weblogic from :
http://download.oracle.com/otn/bea/weblogic/server103/WLSWebServerPlugins1.0.1150354-Apache.zip
2. Extract the zip file into your hard disk
3. Make sure you have necessary modules in the extracted zip folder
For eg: mod_wl_220.so under windows folder
4. Verify that plug-in mod_so.c is enabled by typing the following command
$APACHE_HOME \bin\apachetl –l (Unix/linux)
Or
$APACHE_HOME \bin\httpd –l (windows)
Where APACHE_HOME is the directory containing your Apache HTTP Server installation
This lists all enabled modules. If mod_so.c is not listed, you must rebuild apache server to have it enabled
5. Install the Apache HTTP Server Plug-In module for Apache 2.0.x by copying the mod_wl_22.so file to the $APACHE_HOME\modules directory
6. Add the following line to your APACHE_HOME/conf/httpd.conf file manually:
LoadModule weblogic_module modules/mod_wl_22.so
7. Modify the ServerName as your machine ip address.
8. Add the following lines:

WebLogicHost ip_address
WebLogicPort 7001


SetHandler weblogic-handler

10. Verify the syntax of the httpd.conf file with the following command:
$APACHE_HOME\bin\apachectl -t
The output of this command reports any errors in your httpd.conf file or returns:
Syntax OK
11. Re-start Apache server.
12. Test everything by hitting the URL below in the browser:
http://servername/application_name/

No comments:

Post a Comment