> So are nfs mounts being used? If so, my guess is that the 
> mount isn't available when Tomcat starts which triggers the undeploy.
> 
> Mark
> 

Sadly, this turns out not to be the case. We modified the tomcat init
script so that it waits for the NFS mount to be available before trying
to start the java process. The script shows that the directories pointed
to by the Attachment.xml file are indeed readable before tomcat starts.
Nevertheless, tomcat still deletes the Attachment.xml file at boot time,
but not if you restart it later with the same init script.

For a reminder, here is the contents of the Attachment.xml file:

 <Context docBase="/ha_ftp.nfs/site001/mobiledoc"
         debug="1" reloadable="false">
 </Context>

I was so excited to think that we had figured it out.

New ideas, anyone?

--Eric

















Disclaimer - March 28, 2011 
This email and any files transmitted with it are confidential and intended 
solely for Tomcat Users List. If you are not the named addressee you should not 
disseminate, distribute, copy or alter this email. Any views or opinions 
presented in this email are solely those of the author and might not represent 
those of Physicians' Managed Care or Physician Select Management. Warning: 
Although Physicians' Managed Care or Physician Select Management has taken 
reasonable precautions to ensure no viruses are present in this email, the 
company cannot accept responsibility for any loss or damage arising from the 
use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to