> From: robert.jen...@surecomp.com [mailto:robert.jen...@surecomp.com] 
> Subject: RE: deploying a war file and starting the application

> the initservlet is just a means to initialize the application.

Which, as Chris S noted earlier, should be done by a ServletContextListener, 
not a servlet.

> The writing of a log file is not to a directory within tomcat.

That's good.  Why do you have a reference to ServletContext#getRealPath()?  
That's very, very risky.

 - Chuck 


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.

Reply via email to