File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes Tomcat quits programm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat quits programm" Watch "Tomcat quits programm" New topic

Tomcat quits programm

Hanna Povel

Joined: Aug 16, 2011
Posts: 1
Hey Guys,

I have following problem:

In a batch-run I produce 1000 Html-sites with my tomcat. When there is a big load on the server following error occurs:

The tomcat-server performs the java-programm in 20-40% of the cases not to the end. But stop processing the programm on varying points of the code and perform the next case.
The server write no message in logs. He only quit the programm.
The tomcat-server produces the jsp-site in 100% of the cases completly. But in errror-case with wrong data, which will be delivered by the java-programm.


tomcat 5.5.26
Struts 1.1-Framework

I am testing with the config-parameter: Xms, Xmx, acceptCount and maxThreads. No Success.

Now i be at a loss.
Can you give me a hint?

William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13035
When you say "quits the program" do you mean:

1. Tomcat stops executing and exits the JVM.

2. Tomcat stops responding to a particular URL but stays running and responds to other URLs.

3. Tomcat stops responding to all requests but does not exit the JVM.
3a. CPU useage remains tiny
3b. CPU useage maxed out

I agree. Here's the link:
subject: Tomcat quits programm
It's not a secret anymore!