On 18.06.2010 22:44, Neil Aggarwal wrote:
Rainer:

If you are going to post part of your log file, please also
do provide
your mod_jk configuration and version information.

I am using mod_jk 1.2.30 which I built from the source tarball.

My application just locked up so I did a tail -f
on the mod_jk log and made a request to it.

Here is what generated in the log:

[Fri Jun 18 15:30:17.614 2010] [394:47652193829632] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (1230): (tomcat) can't
receive the response header message from tomcat, network problems or tomcat
(127.0.0.1:8009) is down (errno=11)

Hmmm, errno 11 is often EAGAIN. What platform are you using (OS, version)?

[Fri Jun 18 15:30:17.614 2010] [394:47652193829632] [error]
ajp_get_reply::jk_ajp_common.c (2055): (tomcat) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Fri Jun 18 15:30:17.614 2010] [394:47652193829632] [info]
ajp_service::jk_ajp_common.c (2540): (tomcat) sending request to tomcat
failed (recoverable),  (attempt=1)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [info]
ajp_connection_tcp_get_message::jk_ajp_common.c (1230): (tomcat) can't
receive the response header message from tomcat, network problems or tomcat
(127.0.0.1:8009) is down (errno=11)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [error]
ajp_get_reply::jk_ajp_common.c (2055): (tomcat) Tomcat is down or refused
connection. No response has been sent to the client (yet)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [info]
ajp_service::jk_ajp_common.c (2540): (tomcat) sending request to tomcat
failed (recoverable),  (attempt=2)
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [error]
ajp_service::jk_ajp_common.c (2559): (tomcat) connecting to tomcat failed.
[Fri Jun 18 15:31:19.711 2010] [394:47652193829632] [info]
jk_handler::mod_jk.c (2618): Service error=0 for worker=tomcat

I took a look at the tomcat catalina.out and do not see any errors there.
The CPU is empty and the RAM is available.

I telnet to 127.0.0.1 port 8009 on the machine, I get a connection,
so something is listening on the port.

If I do a ps aux | grep java, I see two processes for tomcat which is
normal.

I checked the mysql log and do not see any errors.  I did a show innodb
status and do not see any deadlocks in the database.

I am attaching the properties for my jk configuation and a screen shot of
the
JK Status in case it helps.

What is really strange is the JK Status page says -48 connections.  It seems
like that number should always be positive or zero but not negative.

That should be unrelated (and yes: it's not OK).

Regards,

Rainer

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

Reply via email to