Using the HTTPD proxy_AJp module, proxy_AJp.conf is configured as follows
ProxyPass /examples/ ajp://localhost:8009/examples/
error occurs when accessing http://hostname/examples:
[Wed Feb 01 15:56:37 2012] [error] (70014)End of file found: ajp_ilink_receive() can't receive header
[Wed Feb 01 15:56:37 2012] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Feb 01 15:56:37 2012] [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost)
Tomcat startup information:
Feb 1, 2012 4:54:34 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Feb 1, 2012 4:54:35 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8090
Feb 1, 2012 4:54:36 PM org.apache.jk.common.ChannelSocket init
INFO: Port busy 8009 java.net.BindException: Address already in use
Feb 1, 2012 4:54:36 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8010
Feb 1, 2012 4:54:36 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=1 time=0/645 config=null
Feb 1, 2012 4:54:37 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 207063 ms
solution:
it can be seen from the tomcat startup information that port 8009 is used, so change the ajp port under conf/server.xml from 8009 to 8010
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />
instead
<Connector port="8010" protocol="AJP/1.3" redirectPort="8443" />
ProxyPass is also modified to port 8010
ProxyPass /examples/ ajp://localhost:8010/examples/
specific why 8009 port is used, it is not clear, welcome to communicate.
Read More:
- Solve the error: gpg: keyserver receive failed: No dirmngr
- Ubuntu 20.04 GPG: KeyServer receive failed: connection timed out when installing ROS configuration key
- Debian/Ubuntu uses proxy for gpg and apt-key-error resolution: gpg: keyserver receive failed: Connection timed out
- Error parsing HTTP request header Note: further occurrences of HTTP header p
- Tomcat error parsing HTTP request header
- Solution: error in the RPC receive loop
- 【Oracle】IMP-00010: not a valid export file, header failed verification
- Error analysis of receive comments before first target. Stop
- How to receive localdatetime type in background
- Interesting undefined columns selected from read.table and read.csv
- Error report of xv6 operating system make Makefile:192 : * * solutions to receive comments before first target. Stop
- The back end cannot receive the parameters passed by the front end
- [error record] the tinker hot fix example runs with an error (patch receive fail: / storage / simulated / 0 / patch)_ signed_ 7zip.apk, code: -2)
- Failed to connect to ESP32: Timed out waiting for packet header
- Uncaught domexception: failed to read the ‘contentdocument’ property from ‘htmliframeelement’
- A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
- A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
- Failed to read artifact descriptor for * maven
- The Spring problem Failed to read Schema Document