When shutting down Apache Tomcat 5.5, an exception is generated due to lack of required permissions. This problem is caused because the user who shuts down the system is not root or in the group “other”, which all files are set to recognize during the installation of Tomcat.
Workaround: Prior to starting Tomcat, change permissions of files in the Tomcat directory as follows:
% su root Password: # DIR=/opt/netbeans-5.5/enterprise3/apache-tomcat-5.5.17 # find ${DIR} -perm -100 -exec chmod ugo+x {} \; # find ${DIR} -perm -200 -exec chmod ugo+w {} \; # find ${DIR} -perm -400 -exec chmod ugo+r {} \; # exit % |