Having Apache Tomcat installed through a OpenSUSE repository has its advantages
Configuration under /etc/tomcat
Webapp under /srv/tomcat
Log files under /var/log/tomcat
And best of all ready to run as a service
However I would like to use Apache Tomcat 8, but cannot find any OpenSUSE repository for it.
So I’m left with these options.
- Unpack apache-tomcat-8.0.5.tar.gz under /usr/tomcat or /usr/share/tomcat and start it with catalina.sh manually or create startup script /etc/init.d/tomcatd
- Unpack apache-tomcat-8.0.5.tar.gz to temporary location. Copy all files to existing tomcat 7 directories. But this on could be messy with later Tomcat 7 removal.
- Save service files from Tomcat 7. Remove Tomcat 7 installation. Unpack Tomcat 8, modify service file to start $TOMCAT_HOME/bin/catalina.sh
Anyone with some good suggestions?