I have a web service running under Tomcat 6 that whenever it throws an exception Tomcat stops. I catch the exception to a log file, but for some reason Tomcat always wants to die.
My crystal ball is in the shop for the 10,000 vision checkup, therefore I can't read the exact text of your exception, which would be the starting point for any rational discussion.
It's a SQL Exception. We're testing what happens when we lose our connection to Oracle. The exception is caught and logged, but for some reason it brings Tomcat down just after we log it.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
1. Are you running Tomcat as a service or as an application?
2. Version of Tomcat?
3. Version of Java?
4. Doesn't Tomcat log any explanation of why it is stopping?
5. (repeat) exact text of exception with stack trace.
Bill
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.