Hi Chuck, It seems you are correct about timestamps. I have no idea why but systemd was interfering with the directory:
andrew@stbernard01:~$ ls -la /usr/local/tomcat7/webapps/ total 8 drwxr-xr-x 2 andrew andrew 4096 Jul 5 11:23 . drwxrwxr-x 8 systemd-timesync 1005 4096 Jul 4 13:38 .. I have no idea what the real purpose of systemd-timesync is. But I've left it to the Ubuntu experts and opted for their distribution instead and I don't see the issue re-occurring. FYI I had used a fairly generic init.d script that I know works on CentOS linux and older Ubuntu disties. It simply invokes startup.sh and shutdown.sh Maybe I need to get my head around some systemd concepts.... Regards, Andrew On Tue, Jul 5, 2016 at 11:48 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Andrew Moore [mailto:andrew.mo...@petcircle.com.au] > > Subject: Tomcat 7.0.70 War Redeployed every few minutes > > > We noticed that we were getting Connection Refused when trying to connect > > to port 8080 remotely. And then we could see this was being caused by the > > war redeploying automatically every few minutes. > > This can be caused by an inappropriate timestamp on the .war file - one > that's in the future. Another possibility is that something is doing a > touch on .jar or .class files in the expanded directory. Or maybe the > timestamps on the files inside the .war are off. > > Might want to look at the deployment doc: > > http://tomcat.apache.org/tomcat-7.0-doc/deployer-howto.html#Deploying_on_a_running_Tomcat_server > to see if this is similar to what you see going on. > > - 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. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > > -- *Andrew Moore* *Pet Circle* E: andrew.mo...@petcircle.com.au A: 15 Maddox Street Alexandria NSW 2015 W: https://www.petcircle.com.au/ <https://www.petcircle.com.au/?utm_source=kmEmailFooter&utm_medium=email&utm_campaign=generalLinks> --