wood burning stoves 2.0*
The moose likes Tomcat and the fly likes how solve error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how solve error "The connection was reset" in my project and tomcat?" Watch "how solve error "The connection was reset" in my project and tomcat?" New topic
Author

how solve error "The connection was reset" in my project and tomcat?

amir taghvayi
Ranch Hand

Joined: Sep 16, 2011
Posts: 54
hi

my project is running in tomcat (security manager) .
my project is working properly in my host for 8 or 9 day .
After this my project can not reply to request and my project need to restart .

when requested my project in browser get this error:
   The connection was reset
   The connection to the server was reset while the page was loading.


please help me
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
I would certainly expect some useful information to show up in the Tomcat log files.

When this happens, do other Tomcat application continue to run?

Bill
amir taghvayi
Ranch Hand

Joined: Sep 16, 2011
Posts: 54
hi bill .

I've requested a log file of my host ?

my host says that other programs can work properly .
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16055
    
  21

It's nearly 100% certain that the failing application is defective and from the sound of it, it probably has a slow resource leak. Tomcat is very reliable, and when it does fail, it is almost always going to fail for all apps, not just one of them.

Slow resource leaks can take a certain amount of detective work. They often occur because of things like people forgetting to close files (or thinking that they don't have to), database exception handlers that don't close connections, cleanup services that don't actually clean up - causing the number of things being "cleaned" to get bigger and bigger". Stuff like that.

You'll probably need both Tomcat logs and application logs. I would also interview some of the users and see if they start seeing problems (slow response, error pages) that build up the longer the application has been running. That may give you an idea of where to investigate further.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how solve error "The connection was reset" in my project and tomcat?