There is no secret between Weblogic and Apache.

Source: Internet
Author: User

This article focuses on an unknown secret between weblgoic and aapache, which is about Apache + weblogoic architecture configuration. Because I have been using the weblogic8 version on my own machine. In fact, I have also configured it before, but it has never been successful. Later, I leave it empty because there are too many things, and I cannot help it later, I encountered this problem when I was working on the project. It was a headache. I started to search on Google blindly. I didn't know how to find the following article. It was amazing, it is similar to your own situation. It turns out that the version is incompatible. We hope you can solve this problem in time. Otherwise it would be quite a headache.

Link to the article: http://lanmaohome.blog.sohu.com/42541046.html. The content is as follows:

A while ago, the company set up a WebLogic test environment, because it uses the license provided by Weblogic and restricts simultaneous access from 5 IP addresses. Therefore, we need to create an Apache server. Because there are no redundant machines, we need to build them on the same machine. The environment is winxpsp2 and weblogic816. I used to build an Apache + WebLogic environment. First go to The http://www.apache.org/dist/httpd/ to find Apache, found that all need to compile the version, follow the above connection to find http://httpd.apache.org/download.cgi. I thought the last time I used 2.0.59, but this time I used the latest 2.2. Download the apache_2.2.4-win32-x86-no_ssl.msi to the server. After the default installation, copy mod_wl_20.so under C:/BEA/weblogic81/Server/bin to the apachehome/modules directory. It takes some time for weblogic8 to separate windows, UNIX, and Linux Files into two directories. I started to go to C:/BEA/weblogic81/Server/lib and couldn't find it for a long time. Later I had to go to Weblogic's electronic documents. Weblogic9 seems to be different from 8. It stores files in a directory, which reduces a lot of trouble.

After copying this file, modify the Apache configuration file httpd. conf.

Loadmodule weblogic_module modules/mod_wl_20.so

Then restart Apache. The error is always reported. At first, I thought it was a character problem. After careful check, I didn't find anything. Apache never started. After removal, the system can be started. After checking the Internet for half a day, it cannot be solved. At last, some friends in a corner said that weblogic8 does not support apache2.2.

It's a nightmare. Hahaha. I quickly checked the previously written documents. The last installation was successful, and 2.0.59 was used. Ha ha, again went to re-down a apache_2.0.59-win32-x86-no_ssl.msi. Delete 2.2 and reinstall 2.0.59. Reconfigure httpd. conf. Haha, this is a great success. Ouye. After filtering is added, restart Apache and run OK. A little self-satisfied.

 

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.