• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

No Context Configured To Process This Request

 
Ranch Hand
Posts: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello;

I have a Java Application running on Tomcat. Twice now, I will go to call a servlet during a period of time when everything was working fine and get a HTTP Status 500: No Context Configured To Process This Request.

When I check the processes running there is no Java process running.

A restart of Tomcat fixes it.

Is something not configured correctly? How can this happen during processing? Could a process hogging too much memory cause this?

Thanks,

Luke

[ October 05, 2005: Message edited by: Luke Shannon ]
[ October 05, 2005: Message edited by: Luke Shannon ]
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It sounds like Tomcat crashed but your webserver & connector were still recieving the requests.
Or... are you running Tomcat as a standalone?
 
Luke Shannon
Ranch Hand
Posts: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does that mean running it as a stand alone?
 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
standalone:

This means you are running Tomcat in isolation rather than piggy-backing it to Apache.
 
Luke Shannon
Ranch Hand
Posts: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah, ok.

I am using mod_jk to forward request from Apache to Tomcat, so I guess the answer is no.

I guess what I am looking for is the best way to go about trouble shooting this. It happens intermittently and the logs aren't telling me anything. Could this be a mod_jk config issue? Could a very heavy Java process being repeated cause Tomcat to crash?

Thanks,

Luke
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm surprised that Tomcat is crashing without anything going to the logs.
Are they empty?
 
Luke Shannon
Ranch Hand
Posts: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well the localhost log doesn't contain a whole lot.

I have log4j configured.

All my packages have appenders and write to specific files. I have search them for errors and not found anything.

I hope I am not losing any log information the way I have it set up.

Luke
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is probably a dumb question but I've thrown it out before and had it hit the target really.:

Is there anyone on that machine who might be typing "killall java" to stop a process?
 
Luke Shannon
Ranch Hand
Posts: 240
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't think this is the case.

I think I have a memory leak somewhere in my application. After a couple of days I think the whole thing just crashes.

My solution for now is I am going to put a cron job on the server that restarts Tomcat every 48hrs very late at night.

This should take care of it.

Thanks for the help,

Luke
 
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic