Posted on 02-26-2014 12:50 PM
I just updated to 9.24. The init.d script failed to start tomcat because it is expecting Ubuntu.
DISTRIB_ID=lsb_release -i -s 2>/dev/null
returns
Debian and the code below is looking for Ubuntu. I simply edited it to reflect Debian and all worked fine.
if [ "${DISTRIB_ID}" = "Ubuntu" ]; then
Posted on 02-27-2014 07:10 AM
I would recommend running the standard Debian tomcat7 package with Debian's OpenJDK. Thereby you get software updates and security patches.
Simply dump your ROOT.WAR in /var/lib/tomcat7/webapps and restart tomcat7. You might want to adjust the log4j properties to match your logging preferences.
Please get in touch if you need any further help.