Step 1) Make sure the Apache server runs on port 8080.( This is because sometimes IIS, or some antivirus s/w runs on that port).This can be done by modifying the httpd.conf present at
D:Program FilesApache GroupApache2conf
Modify the Listen port to 8080
Listen 8080
Step 2) Copy the mod_wl_20.so from <bea_home>wlserver_10.3serverpluginwin32 to
D:Program FilesApache GroupApache2modules
Step 3) Add these lines in the httpd.conf file
LoadModule weblogic_module modules/mod_wl_20.so
<Location />
SetHandler weblogic-handler
</Location>
<IfModule mod_weblogic.c>
WebLogicCluster localhost:7003,localhost:7005
Debug ON
WLLogFile c:/temp/wlproxy.log
WLTempDir c:/temp
</IfModule>
Step 4) Restart Apache and access the application deployed on the Cluster using
http://localhost:8080/YourApp
This will forward the request to the Weblogic Cluster
You can check the headers sent and received to WLS in wlproxy.log file.
Let me know if you face any issues.
Hi,
Whether we should use only clustered IP:Port to WeblogicCluster parameter on Ifmodule ?
is it not possible to use non clustered IP:Port to this parameter?
thanks
ARun
Hi Arun,
Its possible, u just have to specify WeblogicHost in place of WeblogiicCLuster.
Try it out and let me know if you face any issues.
Thanks,
Faisal
Hi,
Do we need both IFModule and Location tags? Can’t we just use Location and define the Weblogic cluster name in it? How can you proxy by MIME types?
In windows vista aprache proxy plugin is not working .
Please suggest me is vista is not compatablie for proxying the requests WEBLOGIC AND APACHE.
i am using the weblogic 9.2 and apache 2.2.x . Same was working fine in Windows XP
I am unable to find mod_wl_20.so from \wlserver_10.3\server\plugin\win\32 How to complete step 2.
Hi Amit,
You might not have selected the plugins while doing the install
What is the version of apache you intend to use?
I can mail the plugin file to you.
[email protected]
Thanks,
Faisal
You would not have selected plugin while doing the install.. i will mail it to you..
HI,
Can you please provide mod_wl_20.so for weblogic apache integration in linux.
Thanks
.SWAMI
you should be having it under
wlserver_10.3\server\plugin folder
I want to change the port number 8080 to 8081 in apache server , will it be any issue.
No… it won’t be an issue
We are upgrading Apache 2.0.59 to 2.4.4. Will there be any impact on Weblogic server 8.1 ?
Ideally no.. i believe you would be using the plugin for 2.4.4.
We are upgrading our Apache 2.0.59 to 2.4.4 , will there be any impact on weblogic server 8.1? Please let me know.
You will have to change the weblogic plugin for apache
what load balance work many Oracle service bus’s wsdl in weblogic domain ?
If I want to use multiple virtual host to httpd.conf then I can i route those request to weblogic cluster?
yes.. thats possible
After i add this lines
SetHandler weblogic-handler
WebLogicCluster localhost:7003,localhost:7005
Debug ON
WLLogFile c:/temp/wlproxy.log
WLTempDir c:/temp
I get an error when i try to restart Apache Services
Hey Anita,
Go to Windows event manager and check the error message for apache application..
Also check the error logs in the logs folder.. that will give u some hints…
thanks,
what is the error you are getting? can you paste the content error log here?
hi
i have configured multiple urls which belongs to different web logic domains in http.conf file
WebLogicCluster 10.225.244.79:9022,10.225.244.78:7001
Debug ON
WLLogFile /app2/apache/logs/wlproxy.log
WLTempDir /app2/apache/logs
but every time it is taking the first ip and port “10.225.244.79:9022” i observed this in log, not checking for 2nd url
please let me know if i need configure any thing else,
Thanks
Mohammed Azas
Hi Azas,
How many requests are you sending at one time?
Maybe you can test with Jmeter and send multiple requests at one time.
Please let me know your test results.
Regards,
Faisal
Hi,
I have installed Apache2.4 verison for Weblogic 11g Server and copied mod_wl_20.so file from D:\Oracle\Middleware\wlserver_10.3\server\plugin\win\32 to D:\Oracle\Apache2.4\modules the added the below weblogic module like this in http.conf.
# Weblogic Module
LoadModule weblogic_module modules/mod_wl_20.so
If i try to restart the http Server, getting sayying that “The request operaion has failed”.
Could you please help me out here.
You will have to use the module for Apache 2.4
Oracle Support might be able to help you with it.
Hi,
can you please share the link from where i can download mod_wl_22.so file for Apache/2.2.22
Thanks
Pankaj
Its present at this location
C:\bea1032\wlserver_10.3\server\plugin
You must choose to install plugins at the time of weblogic installation
How a webserver analysis a request is static or Dynamic ?
Thanks,
raju
perhaps you can guess based on extension..
Hi, I’m using AIX 64 bit, do i need to copy from win or aix folder?
aix folder
Hi,
Please give me info on how to download mod_wl_20.so file for weblogic plugin
It is usually present in the plugin folder unders server directory.. for 12c you need to contact Oracle Support..
Is this possible to do for https? It seems that all the configuration has been tailored to http and not https. I am not able to get this to work the same way for htts in httpd-ssl.conf file. How can this be done for SSL so we can target https ports?
You can refer to the configuration below…
LoadModule weblogic_module modules/mod_wl128_22.so
LoadModule ssl_module modules/mod_ssl.so
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
Listen 8043
SSLCipherSuite RSA:!EXP:+NULL:+HIGH:+MEDIUM:+LOW
SSLEngine on
SSLCertificateFile “D:\Apache2.2\bin\server.crt”
SSLCertificateKeyFile “D:\Apache2.2\bin\server.key”
Hi Admin, Can you please email me the mod_wl_20.so plugin on my email ..?
Its not present under servers/plugin folder for Weblogic 12 c. Or may be, I would have missed something during installation? (Though no plugin options were populated whilst the installation).
sure Rishi, ill send it to you via wetransfer.