I have been trying to install tomcat7 on ubuntu docker images with apt-get install tomcat7
.
The installation works fine and starting tomcat from the catalina.sh wo
I encountered this. I fixed it (finally) by adding JAVA_HOME=/usr/lib/jvm/java-8-oracle
to /etc/default/tomcat7
. For some reason it was using that JAVA_HOME
to actually run the process, but it was using /usr/lib/jvm/default-java
to check if the process was running. This confused it, so it never detected that the process was running.