> -----Original Message----- > From: Robinson, Eric [mailto:eric.robin...@psmnv.com] > Sent: Tuesday, March 22, 2011 13:30 > To: Tomcat Users List > Subject: RE: tomcat6 still deleting XML files from > Catalina/localhost when the system is booted > > > > -- > > > On 22/03/2011 17:04, Robinson, Eric wrote: > > > > <Context docBase="/ha_ftp.nfs/site001/mobiledoc" > > > > debug="1" reloadable="false"> > > > > </Context> > > > > > > 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 > > > > > > > That certainly seems to make sense. Would undeploy actually > delete the > > XML file? And would that happen even if autoDeploy="false"? > > > > [Nick] > > > Yes, for sure, to deleting the .XML file. I'm reasonably confident > > autoDeploy="false" doesn't affect undeploys. Even if it does, > > autoDeploy="false" only matters when the server is already > running. It > > does NOT matter when the server is started (i.e., even with > > autoDeploy="false", a WAR file would get auto-deployed when > the server > > was started, just not if it was added when the server was already > > running). > > > > N > > > > Good grief, thanks Mark and Nick. I am confident that we > found our culprit! Now I just need to figure out how to make > sure the tomcat scripts don't run until after the NFS mount > is available. I can't wait to implement these changes. Thanks again!
#!/bin/bash # # httpd Startup script for the Apache HTTP Server # # chkconfig: - 85 15 # description: Apache is a World Wide Web server. It is used to serve \ # HTML files and CGI. # processname: httpd # config: /etc/httpd/conf/httpd.conf # config: /etc/sysconfig/httpd # pidfile: /var/run/httpd.pid See the line with chkconfig - S## E##? Put those in your config before doing a chkconfig add, and it will cause them to start in that order. Make sure they start after nfs and die before nfs and you should be golden. -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- - - - Jason Pyeron PD Inc. http://www.pdinc.us - - Principal Consultant 10 West 24th Street #100 - - +1 (443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org