Netbeans 12.0 apache-tomcat-8.5.60
this will give you the catalina.home
directory
ps aux | grep catalina
catalina.home=/opt/tomcat/apache-tomcat-8.5.60
catalina.base=/opt/tomcat/apache-tomcat-8.5.60
chown the tomcat directory worked for me
sudo chmod -R 775 /opt/tomcat/