aspose file tools*
The moose likes Tomcat and the fly likes Tomcat stops on web service exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat stops on web service exception" Watch "Tomcat stops on web service exception" New topic
Author

Tomcat stops on web service exception

Bob Lyman
Greenhorn

Joined: Sep 08, 2011
Posts: 3
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.

Suggestions?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
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.

Bill
Bob Lyman
Greenhorn

Joined: Sep 08, 2011
Posts: 3
Ok,

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.

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16057
    
  21

8

Situation cloudy. Please ask again.


Customer surveys are for companies who didn't pay proper attention to begin with.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat stops on web service exception