On Tue, Nov 8, 2022 at 9:00 AM Obuno <[email protected]> wrote: > > Hi there Guacamole team, > > Just a quick question here: I'm developing an automated deployment of a > guacamole based host (debian 10 buster) and from time to time on initial > deployment I'm seeing that this folder is basically left empty: > > /var/lib/tomcat9/webapps/guacamole# > > When this happens I only have these folders underneath > /var/lib/tomcat9/webapps/guacamole/ (and no files / .js / .html etc.): > META-INF > app > images > layouts >
Make sure that you're not trying to manually modify/update/delete those files as part of your automated deployment - let Tomcat do that work. Tomcat expects to simply take the WAR file that you copy to the WebApps root and deploy it into that folder - and that the WAR file will remain in the webapps directory. So, don't try to clean the guacamole/ folder manually, or remove the WAR file, etc. Also, make sure that you're not doing things too "quickly" - there is some polling interval in Tomcat, probably configurable, where it looks for new WAR files and deploys them - if you're doing very rapid remove/deploy of a WAR file, you might be hitting a sort of race condition causing Tomcat to clean things up instead of deploy them. -Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
