Yes, chmod
on files owned by packages are bad practice because these rights are set by packagers on purpose. The pid not readable (yet?) after start
is most probably due to the chmod
. I would recommend using pacman -Rs tomcat7
, removing or making a backup of your exploded war from /var/lib/tomcat7/webapps
and finaly reinstalling Tomcat 7 with pacman -S tomcat7
to start with a fresh install.
As for your original question, Tomcat can find and write its directory/log but it seems your webapp or one of its dependency API cannot. You should have a look at where this logs/raven/org.ird.raven.2013-12-07.log
is set to be created and perhaps create its directory hierarchy where it is supposed to be.
You can double check Tomcat has the expected rights on directories by issuing su tomcat7 -c "ls $DIR"
or su tomcat7 -c "mkdir $DIR
.