Апач стоит и нормально работает (виртуальный хостинг).
Имеем следующее:
# grep -i jk /usr/local/apache/conf/httpd.conf
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
JkWorkersFile "/usr/local/apache/conf/workers.properties"
JkLogFile "/usr/local/java/tomcat/logs/mod_jk.log"
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /*.jsp worker1
JkMount /servlet/* worker1
JkMount /servlets/* worker1
# cat /usr/local/apache/conf/workers.properties
worker.list=worker1
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300
# cat /usr/local/java/tomcat/conf/server.xml
<Server port="8005" shutdown="SHUTDOWN" debug="0">
<Service name="Tomcat-Apache">
<Connector className="org.apache.coyote.tomcat5.CoyoteConnector" protocol="AJP/1.3"
port="8009" minProcessors="5" maxProcessors="75"
enableLookups="true" redirectPort="8443"
acceptCount="10" debug="100" connectionTimeout="20000"
useURIValidationHack="false"
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
<Engine name="Apache" idefaultHost="www.bazar.dn.ua" debug="0">
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="apache_log." suffix=".txt"
timestamp="true"/>
<Valve className="org.apache.catalina.valves.AccessLogValve"
directory="logs" prefix="localhost_access_log." suffix=".txt"
pattern="common" resolveHosts="false"/>
</Engine>
</Service>
</server>
При попытке запроса http://domain.com/jsp/example.jsp в логах вижу следующее:
# cat localhost_access_log.2004-05-19.txt
82.144.209.154 - - [19/May/2004:15:34:24 +0200] "GET /jsp/num/numguess.jsp HTTP/1.1" 400 -
# cat mod_jk.log
[Wed May 19 20:11:58 2004] [jk_uri_worker_map.c (614)]: In jk_uri_worker_map_t::map_uri_to_worker, wrong parameters
# cat catalina.out
May 19, 2004 3:33:58 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2213 ms
May 19, 2004 3:33:58 PM org.apache.catalina.core.StandardService start
INFO: Starting service Tomcat-Apache
May 19, 2004 3:33:59 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.0.19
May 19, 2004 3:33:59 PM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on /0.0.0.0:8009
May 19, 2004 3:33:59 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=1/201 config=/usr/local/java/tomcat/conf/jk2.properties
May 19, 2004 3:33:59 PM org.apache.coyote.tomcat5.MapperListener registerEngine
WARNING: Unknown default host: null
May 19, 2004 3:33:59 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 691 ms
May 19, 2004 3:34:24 PM org.apache.jk.common.HandlerRequest decodeRequest
WARNING: Error registering request
Соответственно, страница не грузится. Где проблема?