Skip to main content

Setting up Apache 2.2 plugin for Weblogic Clusters (Linux)

1. Download and install Apache for linux. Normal installation steps would be
     $ ./configure --prefix=PREFIX             (./configure --prefix=/scratch/aime/apache)
     $ make
     $ make install
     $ PREFIX/bin/apachectl -k start
     $ PREFIX/bin/apachectl -k stop
2. Copy the mod_wl_22.so file from $MW_HOME/wlserver_10.3/server/plugin/linux/i686 to $APACHE_HOME/modules directory
3. Configure httpd.conf file to incorporate WLS changes
    * User <user_name>
    * Listen <listen_port>
    * LoadModule weblogic_module /scratch/aime1/apache/modules/mod_wl_22.so
      <IfModule mod_weblogic.c>
                   WebLogicCluster host1:port,host2:port
                   MatchExpression *
      </IfModule>
4. Start Apache as normal user or as root.

Comments

Popular posts from this blog

I knew you would come!

There were two childhood buddies who went through school and college and even joined the army together. War broke out and they were fighting in the same unit. One night they were ambushed. Bullets were flying all over and out of the darkness came a voice, "Harry, please come and help me." Harry immediately recognized the voice of his childhood buddy, Bill . He asked the captain if he could go. The captain said, "No, I can't let you go, I am already short-handed and I cannot afford to lose one more person. Besides, the way Bill sounds he is not going to make it." Harry kept quiet. Again the voice came, "Harry, please come and help me." Harry sat quietly because the captain had refused earlier. Again and again the voice came. Harry couldn't contain himself any longer and told the captain, "Captain, this is my childhood buddy. I have to go and help." The captain reluctantly let him go. Harry crawled through the darkness and dragged Bill back...

Team Work

One Answer for all the questions!

It is the story of a king who was tired of finding himself in extreme states of happiness or sadness and was looking to find a way to bring balance, serenity and wisdom into his life. Once a king called upon all of his wise men and asked them, " Is there a mantra or suggestion which works in every situation, in every circumstances, in every place and in every time. Something which can help me when none of you is available to advise me. Tell me is there any mantra?" All wise men got puzzled by King's question. One answer for all question? Something that works everywhere, in every situation? In every joy, every sorrow, every defeat and every victory? They thought and thought. After a lengthy discussion, an old man suggested something which appeal to all of them. They went to king and gave him something written on paper. But the condition was that king was not to see it out of curiosity. Only in extreme danger, when the King finds himself alone and there s...