In this article we will see how we can configure Apache to talk with Weblogic
server at the backend. We will use the weblogic Apache plugin for connecting
the Apache http server to weblogic. For this article I will be using Weblogic
10.3 on a Linux 6 -64 Machine. The apache server running is 2.2.15.
Here is the sequence of steps to configure Apache Http server with
weblogic.
1. Copy the so file from
Wlserver_10.2/server/plugin/linux/x86_64/mod_wl_22.so to httpd/modules
location
The mod_wl_22.so file depends on the architecture. You need to copy the
correct file depending on your architecture.
2. Load the weblogic module using
LoadModule weblogic_module modules/mod_wl_22.so
3. Now add the If Module information which will point to the Weblogic
server running at back.
<IfModule mod_weblogic.c>
WebLogicHost 127.0.0.1
WebLogicport 7001
MatchExpression /*
</IfModule>
WebLogicHost 127.0.0.1
WebLogicport 7001
MatchExpression /*
</IfModule>
The above <IfModule> is a basic syntax for providing details about
the running weblogic server. We define the weblogic Host and Port and Match
Expression as /*.
Now once the configuration is done,restart the apache and access
Http://localhost/console and we
will see the login page of the weblogic admin console.
More to learn , Happy learning
No comments:
Post a Comment