-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Yon,

On 7/3/15 2:04 AM, Yon,  wrote:
> <!--APR library loader. Documentation at /docs/apr.html --> 
> <Listener
> className="org.apache.catalina.core.AprLifecycleListener" 
> SSLEngine="on" />

This is not enough to use APR.

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

Neither of these <Connector> elements specifies the protocol, so
Tomcat will auto-choose between the APR connection and one of the Java
connectors (I can't tell you which, because you didn't say which
version of Tomcat you are using).

Tomcat can only use the APR connector if the tcnative library is
available. If you have no idea what's in use, the easiest thing to do
is take a thread dump[1] of the running JVM process and look at the
thread names for the request processors.

- -chris

[1]
http://wiki.apache.org/tomcat/HowTo#How_do_I_obtain_a_thread_dump_of_my_
running_webapp_.3F
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVnYDwAAoJEBzwKT+lPKRYPdgQAJT020JmurXDqkqM9G6bjpZF
zpTQLwoYPBn3Dc7aDd+2WHuxC9BKf0AV3/el3no8DdN9IOUYfeUJKbEbCMfa39p5
nM0POZ+f697wA8J8ifQVgaT4/1JvWY+MOpBBI0yHcyf9NzOFLxDh7rCVioBHwH6c
4xT2gUeXY5q+DOFJL6ZuL6Md6Ir2fHghP5EcHCJTB/Ag5cwxCZpKGLoya9AcoMb0
7hzQM45IYUfZHI6gx4cmpvKHu0GyL5o3sM1EujiCtYAzIHweHLuq9T9DJHYnA/D3
osaOa2aIqR4w8Vkw7u8rf9adgqKfHShbsytGoUpXrvCKuySUgt9bFEvOm9Zp3xSz
bsfmETPZb2cDVDttEWiuZWi9KXxNhSU5sZATsWeFgT7hA7r2kuthQKqNi5oBH2NT
quM56ttScl75xEMSF0J+3tTuzUbn+yzz2cHg+qB4+G4wPqhHYXpV1Ln5rqZxrOE7
SJlu1pHYT3VOb/1UYxVjNj0L9MbidcoFgJgMOhMIv8xSMPOoeYSYatvGYewVsD4N
dprUazghGlwSnRNjKAM9Lt1ND/7COfMzT4GHdncRbpyZU2nxOCd3Uua7YciYs+JD
Fpz0T2srZHqXvzavaZW/yU2YxU9IN1PcLLLd3rXe4s5EsjDqx8HQQacd5oSMTqg+
+1matwYjhtaUPzGia75z
=P8Hl
-----END PGP SIGNATURE-----

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

Reply via email to