Pages

Tuesday, August 5, 2014

Apache Server Integration with Weblogic Cluster

In this article we will see how we can configure Apache server with a weblogic Cluster and access a application deployed in the weblogic cluster.

1. Configure weblogic Cluster with the below nodes as below
MS1:17003
MS2:17004

2. Once the Configuration of the Servers is completed, add them to a cluster and deploy a sample application to the cluster (in this case I deployed a sample application which will print the session ID on the screen)

3. Configure the Apache server as
a. Make sure the mod_wl weblogic .so file is added as
LoadModule weblogic_module modules/mod_wl_22.so
b.Make sure the Location element is added as
<Location />
SetHandler weblogic-handler
</Location>

C. Configure the <IfModule> element with the necessary information as
<IfModule mod_weblogic.c>
WeblogicCluster localhost:17003,localhost:17004
Debug ON
WLLogFile /tmp/wlproxy.log
WLTempDir /tmp
MatchExpression /*
DebugConfigInfo ON
KeepAliveSecs 15
DynamicServerList ON
</IfModule>

We have added the localhost:17003 and localhost:17004 which are the cluster address that we configured.

Now access the application that we deployed in the cluster using apache server URL.

More to Come , Happy learning J

No comments :

Post a Comment