tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darek Czarkowski <dczarkow...@infinitesource.ca>
Subject Re: Tomcat crash @ midnight - but why?
Date Thu, 27 Sep 2007 17:48:35 GMT
Martin Cavanagh wrote:
> Caldarale, Charles R wrote:
>>> From: Darek Czarkowski [mailto:dczarkowski@infinitesource.ca] 
>>> Subject: Re: Tomcat crash @ midnight - but why?
>>>
>>> Now, this would be funny, can you search the source code of the 
>>> deployed application for System.exit call?
>>>     
>>
>>   
> 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?
>
> It's also using the client JVM not the server JVM (I installed JRE and 
> there is no server JVM)

See that is funny after all, as other users explained system.exit will 
terminate JVM and not just your application. You should NEVER use this 
call in your application. Try to deal with the error in another way.

-- 
Darek Czarkowski



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message