File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Error" Watch "Tomcat Error" New topic
Author

Tomcat Error

Ram Sudheer Mandava
Greenhorn

Joined: Aug 04, 2010
Posts: 22
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

Joined: Mar 03, 2008
Posts: 470
What is your question?
Ram Sudheer Mandava
Greenhorn

Joined: Aug 04, 2010
Posts: 22
Why I am getting this error?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12675
    
    5
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

Java Resources at www.wbrogden.com
Za Wecha
Greenhorn

Joined: Sep 15, 2010
Posts: 1
Apache jk_mod connect to tomcat and print the log.So when shutdown ,first shutdown apache ,then shutdown tomcat will fine.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Error
 
Similar Threads
URL goes off and inaccesible
Apache/Tomcat strange behavior
Load balancing in Apache Web server not working
Jconnector / Apache / Tomcat problems
BAD Gateway Error!