• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Tomcat Error

 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 470
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is your question?
 
Ram Sudheer Mandava
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why I am getting this error?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic