×

Loading...

I know what's wrong.

本文发表在 rolia.net 枫下论坛jabber.

I check my config carefully, and the prob is as following.

1.i do my tomcat test on the win98 platform.
when tomcat starts up, it produce another config file, named tomcat-apache.cfg. In this file , u will find "LoadModule jserv_module modules/ApacheModuleJServ.dll". That way, when apache starts, it can load correct *.dll

2. I checked for a long time last night, and the real prob is in my server.xml
*********************************
<Connector className="org.apache.tomcat.service.SimpleTcpConnector">
<Parameter name="handler" value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
<Parameter name="port" value="8007"/>
</Connector>

************************************
when i read this file last night, I mindlessly enter a space before "8007" , so , it become <Parameter name="port" value=" 8007"/>.

Maybe, Tomcat cann't receive AJP12 Request on Port 8007 correctly, Although i can the Yellow tomcat on Port8080.

Now, I correct it ,and Apache can cooperate with Tomcat smoothly.

Thanks更多精彩文章及讨论,请光临枫下论坛 rolia.net
Sign in and Reply Report

Replies, comments and Discussions: