This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSP and the fly likes TOMCAT Crashes after getting - SQLException:General Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "TOMCAT Crashes after getting - SQLException:General Error" Watch "TOMCAT Crashes after getting - SQLException:General Error" New topic
Author

TOMCAT Crashes after getting - SQLException:General Error

Ved Antani
Greenhorn

Joined: Jan 05, 2003
Posts: 28
I am developing an online Bidding site in JSP. When some page starts, Tomcat 3.2 crashes without any error and the page show SQLException: General Error
What the heck is this ?
Please help me...soon
God Bless you all...
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

The usual cause of this (as far as I've seen) is incorrect Exception management, where the catch block call System.exit()
The Tomcat security policy settings allow this (or rather they don't disallow this) and the System.exit() causes Tomcat to shutdown.
That's only guess I can make without more information.
Dave
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: TOMCAT Crashes after getting - SQLException:General Error
 
It's not a secret anymore!