• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat Error

 
Ram Sudheer Mandava
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have Apache and Tomcat running on same servers, using mod_jk. I created one bach file to stop all the services and another batc h file to start all services at around 12:30pm daily. Most of the days I'm getting the following error



[Thu Sep 02 00:30:19 2010] [32328:32128] [error] jk_ajp_common.c (948): (worker1) can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:11091), err=-54
[Thu Sep 02 00:30:19 2010] [32328:32128] [error] jk_ajp_common.c (1566): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Thu Sep 02 00:30:19 2010] [32328:32128] [error] jk_ajp_common.c (948): (worker1) can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:11091), err=-54
[Thu Sep 02 00:30:19 2010] [32328:32128] [error] jk_ajp_common.c (1566): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Thu Sep 02 00:30:19 2010] [32328:32128] [error] jk_ajp_common.c (1928): (worker1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Thu Sep 02 00:30:19 2010] [32328:11756] [error] jk_ajp_common.c (948): (worker1) can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:11091), err=-54
[Thu Sep 02 00:30:19 2010] [32328:11756] [error] jk_ajp_common.c (1566): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Thu Sep 02 00:30:19 2010] [32328:11756] [error] jk_ajp_common.c (1928): (worker1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Thu Sep 02 00:46:28 2010] [26328:33660] [error] jk_ajp_common.c (1928): (worker1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Sat Sep 04 00:30:21 2010] [33764:30148] [error] jk_ajp_common.c (948): (worker1) can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:11091), err=-54
[Sat Sep 04 00:30:21 2010] [33764:32844] [error] jk_ajp_common.c (948): (worker1) can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:11091), err=-54
[Sat Sep 04 00:30:21 2010] [33764:30148] [error] jk_ajp_common.c (1566): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Sat Sep 04 00:30:21 2010] [33764:32844] [error] jk_ajp_common.c (1566): (worker1) Tomcat is down or refused connection. No response has been sent to the client (yet)
[Sat Sep 04 00:30:21 2010] [33764:30148] [error] jk_ajp_common.c (1928): (worker1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Sat Sep 04 00:30:22 2010] [33764:32844] [error] jk_ajp_common.c (1928): (worker1) Connecting to tomcat failed. Tomcat is probably not started or is listening on the wrong port
[Mon Sep 06 00:30:20 2010] [30764:37228] [error] jk_ajp_common.c (948): (worker1) can't receive the response message from tomcat, network problems or tomcat is down (127.0.0.1:11091), err=-54
[Mon Sep 06 00:30:20 2010] [30764:37228] [error] jk_ajp_common.c (1592): (worker1) Tomcat is down or network problems. Part of the response has already been sent to the client
[Mon Sep 06 00:30:20 2010] [30764:37228] [error] jk_ajp_common.c (1928): (worker1) Connecting to tomcat faile
 
Misha Ver
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your question?
 
Ram Sudheer Mandava
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why I am getting this error?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your batch file may be built on the assumption that Tomcat shutdown occurs instantaneously.

Not so - there can be quite a long shutdown period - the sequence of commands in your batch file may not account for this.

Bill
 
Za Wecha
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apache jk_mod connect to tomcat and print the log.So when shutdown ,first shutdown apache ,then shutdown tomcat will fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic