sw360 / sw360chores

WARNING - Work in Progress - It is not Bug Free! Use with Caution. This repository contains Dockerfiles and accompanying scripts that allow deployment of sw360 via docker
Eclipse Public License 1.0
13 stars 18 forks source link

Deployment to Tomcat does not work reliably #77

Closed oheger-bosch closed 4 years ago

oheger-bosch commented 4 years ago

The tomcatdeploy.sh script monitors a directory for new or updated web applications to be deployed. When a change in this directory is detected, the file affected is moved into the actual deployment folder of Tomcat (lines 40 and following).

When trying to setup sw360chores, I had the situation that the directory to monitor did not exist yet. This caused the monitoring mechanism to fail, and no deployment was done.

A fix would be to make sure that directory always exists, creating it if necessary.