Mark Thomas wrote:
Martin Cavanagh wrote:
Heres trouble...........the System does call System.exit(), when it
can't create the directory... - so I understand why my application would
stop- but why would tomcat shutdown?
And there is the problem. System.exit() will kill the JVM (unless you
are running under a security manager and don't give the code permission
to do this). Tomcat registers a shutdown hook on startup which performs
a clean stop if the JVM is stopped. This is why you see what appears to
be a 'normal' shutdown in the logs.
Mark
ahh good - and now I "just" need to work out why it can't create
directorys on this one server - great!
Now before I execute the System.exit I do a dump.
Thanks alot. Additionaly I'll be installing the JDK so I can use the
server JVM.
Martin
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Con-Sense-GmbH
__
_Martin Cavanagh_
Tel.: +49541 800 83 0
Fax: +49541 800 83 99
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Con-Sense GmbH
Neuer Graben 25
49074 Osnabrück
www.con-sense-group.com <http://www.con-sense-group.com>
Geschäftsführer Eckhard Schulz
Amtsgericht Hildesheim HRB 3341
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]