Win a copy of 97 Things Every Java Programmer Should Know this week in the Java in General forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

URL goes off and inaccesible

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

I have Tomcat4.1.31 , Apache2 with JDK1.4 version. These are integrated through ModJk2 connector. I can access the URL and everyday I get this error and the URL will not be accessible and I need to restart both apache and tomcat. Not able to figure out where the problem is. Can somebody help me with this.


I am getting this error in mod_jk_log


[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (783)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down (63.105.186.245
:8009), err=-145
[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (1250)]: Tomcat is down or network problems. No response has been sent to the client (yet)
[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (1449)]: ERROR: Receiving from tomcat failed, recoverable operation. err=0
[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (1468)]: sending request to tomcat failed in send loop. err=0
[Thu Oct 28 08:00:15 2004] [jk_connect.c (136)]: Into jk_open_socket
[Thu Oct 28 08:00:15 2004] [jk_connect.c (143)]: jk_open_socket, try to connect socket = 7 to 63.105.186.245:8009
[Thu Oct 28 08:00:15 2004] [jk_connect.c (159)]: jk_open_socket, after connect ret = 0
[Thu Oct 28 08:00:15 2004] [jk_connect.c (168)]: jk_open_socket, set TCP_NODELAY to on
[Thu Oct 28 08:00:15 2004] [jk_connect.c (185)]: jk_open_socket, return, sd = 7
[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (701)]: In jk_endpoint_t::ajp_connect_to_endpoint, connected sd = 7 to 63.105.186.245:8009
[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (737)]: sending to ajp13 #285
[Thu Oct 28 08:00:15 2004] [jk_ajp_common.c (1035)]: ajp_send_request 2: request body to send 0 - request body to resend 0



Also if I restart Tomcat and apache2 then it starts working fine. I think after some particular hours of idle time this problem reoccurs.

Please help me and let me know about this strange behaviour.

Thanks,
Vani
 
I'm all tasted up for a BLT! This tiny ad wants a monte cristo!
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic