Hi all,

I have a system with Windows Server 2008 (32 bit), Sun/Oracle JDK 1.6.0_26
and I’m using Tomcat 7.0.16 with Tomcat Native 1.1.20, and IIS 7.0 with
ISAPI Redirector 1.2.32. For AJP, I use the AJP-APR connector.

Sometimes, when many requests are sent to a webapp in short time, some
requests fail, and the ISAPI log (log_level=error) says:

[Sun Jul 10 21:35:55.061 2011] [580:5032] [error]
ajp_get_reply::jk_ajp_common.c (2187): (worker1) Tomcat already send headers
[Sun Jul 10 21:35:55.071 2011] [580:5032] [error]
ajp_service::jk_ajp_common.c (2600): (worker1) sending request to tomcat
failed (unrecoverable),  (attempt=1)
[Sun Jul 10 21:35:55.080 2011] [580:5032] [error]
HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http
error 502
[Sun Jul 10 21:35:55.087 2011] [580:4776] [error]
ajp_get_reply::jk_ajp_common.c (2187): (worker1) Tomcat already send headers
[Sun Jul 10 21:35:55.097 2011] [580:4776] [error]
ajp_service::jk_ajp_common.c (2600): (worker1) sending request to tomcat
failed (unrecoverable),  (attempt=1)
[Sun Jul 10 21:35:55.104 2011] [580:4776] [error]
HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http
error 502
[Sun Jul 10 21:37:20.662 2011] [5696:3220] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (1296): wrong message format
0x3000 from 127.0.0.1:8019
[Sun Jul 10 21:37:20.679 2011] [5696:3220] [error]
ajp_get_reply::jk_ajp_common.c (2118): (worker1) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Sun Jul 10 21:42:56.105 2011] [580:5032] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (1296): wrong message format
0x3000 from 127.0.0.1:8019
[Sun Jul 10 21:42:56.135 2011] [580:5032] [error]
ajp_get_reply::jk_ajp_common.c (2118): (worker1) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Sun Jul 10 21:42:56.149 2011] [580:3100] [error]
ajp_get_reply::jk_ajp_common.c (2187): (worker1) Tomcat already send headers
[Sun Jul 10 21:42:56.160 2011] [580:3100] [error]
ajp_service::jk_ajp_common.c (2600): (worker1) sending request to tomcat
failed (unrecoverable),  (attempt=1)
[Sun Jul 10 21:42:56.168 2011] [580:3100] [error]
HttpExtensionProc::jk_isapi_plugin.c (2261): service() failed with http
error 502
[Sun Jul 10 21:45:49.849 2011] [580:4532] [error]
ajp_connection_tcp_get_message::jk_ajp_common.c (1296): wrong message format
0x3000 from 127.0.0.1:8019
[Sun Jul 10 21:45:49.867 2011] [580:4532] [error]
ajp_get_reply::jk_ajp_common.c (2118): (worker1) Tomcat is down or refused
connection. No response has been sent to the client (yet)

However I didn't see any errors in the Tomcat logs.

I could reproduce the errors by pressing F5 in Firefox several seconds, so
that FF makes a lot of requests in a short time.

However, when I switch to AJP BIO, it seems that the errors go away.


Please note that I'm also using the Java ImageIO to produce and serve images
with some servlets. I think somewhere I read that using the ImageIO with APR
connectors could cause problems. Is this correct? If yes, does that mean
that I have to stick with the AJP BIO (or NIO?) connector, instead of AJP
APR; or does anybody know why there are these errors?


Thanks.


Regards,
Konstantin Preißer


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

Reply via email to