Web and Tomcat Server integration issues Summary

Source: Internet
Author: User
Tags deprecated

Scenario 1:HTTPD Server is not able to compile with the following error:
configure: error: in `/opt/httpd-2.2.19/srclib/apr‘:configure: error: no acceptable C compiler found in $PATHSee `config.log‘ for more details.configure failed for srclib/apr

reason : Missing C editor, such as GCC or gcc+.

solution : Download the GCC compiler and compile it.

Scenario 2 Apache cannot compile with the make command to show that the process already exists.

Error:make is isn't able to compile the code

cause : Make cannot execute the function

Solution : Run the following command

make clean#Thenmakemake install
Scenario 3 Apache HTTP Server is not able to connect to TOMCAT7

Error: Cannot connect via AJP

cause : The port is blocked or the configuration of the AJP is faulty

Solution : Use the following command to check the log

[[email protected] logs]# cat Error_log[mon Jul 16:11:00] [notice] apache/2.2.19 (Unix) DAV/2 configured--R esuming normal Operations[mon Jul 16:52:16] [notice] caught SIGTERM, shutting Down[mon Jul 16:52:23] [warn ] No Jkshmfile defined in httpd.conf. Using Default/opt/apache-2.2.19/logs/jk-runtime-status[mon Jul 16:52:23] [warn] No jkshmfile defined in Httpd.con F. Using Default/opt/apache-2.2.19/logs/jk-runtime-status[mon Jul 16:52:23] [notice] apache/2.2.19 (Unix) DAV/2 m od_jk/1.2.32 configured--resuming normal operations[[email protected] logs]# cat Mod_jk.log[mon Jul 25 16:52:23.55 5] [13355:3086857920] [warn] jk_map_validate_property::jk_map.c (411): the attribute ' Worker.node1.cachesize ' is Deprecated-please Check the documentation for the correct replacement. [Mon Jul 25 16:52:23.555 2011] [13355:3086857920] [info] init_jk::mod_jk.c (3252): mod_jk/1.2.32 () Initialized[mon Jul 25 16:52:23.564 2011] [13,356:308 6857920] [wARN] JK_MAP_VALIDATE_PROPERTY::JK_MAP.C (411): the attribute ' worker.node1.cachesize ' is deprecated-please check the doc Umentation for the correct re?placement. [Mon Jul 25 16:52:23.564 2011] [13356:3086857920] [info] init_jk::mod_jk.c (3252): mod_jk/1.2.32 () initialized

You can also run the./apachectl configtest Check that the configuration file is configured correctly

Web and Tomcat Server integration issues Summary

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.