tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Dumoulin <ch...@blaze.io>
Subject No access log for AJP traffic
Date Wed, 06 Apr 2011 19:03:55 GMT
I'm using tomcat 7.0.11 with the following Connector and Host elements in server.xml:

<Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443"/>
<Connector port="8009" protocol="AJP/1.3" redirectPort="8443"/>

<Host appBase="webapps" autoDeploy="true" name="localhost" unpackWARs="true">
    <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" pattern="%h
%l %u %t &quot;%r&quot; %s %b" prefix="localhost_access_log." resolveHosts="false"
suffix=".txt"/>
    <Context docBase="app1" path="/app1" reloadable="true" source="org.eclipse.jst.jee.server:app1"/>
    <Context docBase="app2" path="/app2" reloadable="true" source="org.eclipse.jst.j2ee.server:app2"/>
</Host>

In the access log I'm seeing the HTTP traffic on port 8080 but not the AJP traffic on port
8009. I've googled around and I don't see any mention of specific Valve settings for AJP.

Any ideas?

Thanks,
Chris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message