CentOs 7.1 - Install Tomcat 8
I've just replied here that I had the same problem and fixed it by:
-
giving tomcat user ownership of the whole
tomcat
directory:cd /opt && sudo chown -R tomcat tomcat/
-
and commenting out below line in
/etc/systemd/system/tomcat.service
:Environment='CATALINA_OPTS=-Xms512M -Xmx1024M -server -XX:+UseParallelGC'
Hope it helps.