Its very normal that Tomcat stops if there is code in a webapp which
forces Tomcat or the JVM to stop:
System.exit(-1);
Karl-Heinz
----------------
From: "Dimitri Piriou" <[EMAIL PROTECTED]>
Sorry if I don't post at the right place but I'm sending you this mail to
make a bug (I think that is one) report. I'm developping a servlet and a
mistake made Tomcat stopping each time my code had to be executed. An
exception was thrown before and here is the extract of Tomcat log file:
java.sql.SQLException: No operations allowed after statement closed
There was, indeed, an error in my code and I used a preparedStatement I had
already closed but is it normal that Tomcat stopped?
Here is my source code:
......
} catch(Exception e){
System.err.println("Connection ratée: "+e);
System.exit(-1);
}
out.close();
___________________________________________________________
Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]