Apache and WebLogic Integrated Combat (exclusive research)

Source: Internet
Author: User

Use Apache to handle outside requests, and then forward the request to WLS, which will break the 5 user limit for WLS Express version number
Detailed configuration such as the following
Mod_wl_20.so to ${apache_home}/modules under copy ${wls_server}/server/lib
Change httpd.conf file LoadModule weblogic_module modules\mod_wl_20.so

<ifmodule mod_weblogic.c>
Weblogiccluster localhost:7001
MatchExpression *
</IfModule>


<Location/yoururldomail>
SetHandler Weblogic-handler
Weblogiccluster localhost:7001
</Location>
The approach under Linux
Manually copy the following mod_wl_20.so files from the/usr/local/bea/weblogic81/server/lib/linux/i686 folder to the/usr/local/apache/modules/folder: [[ Email protected] bin]
#cp/usr/local/bea/weblogic81/server/lib/linux/i686/mod_wl_20.so
/usr/local/apache/modules/
Change the httpd.conf file below the/usr/local/apache/conf folder.
Add the new and WebLogic related application modules, add the following statements at the end of the httpd.conf file, for example: # WebLogic Server 8.1 Plug-in
LoadModule Weblogic_module modules/mod_wl_20.so
<ifmodule mod_weblogic.c>
Weblogichost 192.168.80.47
Weblogicport 7001
MatchExpression *.jsp
MatchExpression *.do
</IfModule>
Then change the DocumentRoot "/usr/local/apache/htdocs" in the httpd.conf file to
DocumentRoot "/home/www/mydomain/applications/defaultwebapp/",
Put <directory "/usr/local/apache/htdocs" >
Change to <directory "/home/www/mydomain/applications/defaultwebapp/" >

Apache and WebLogic Integrated Combat (exclusive research)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.