This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Tomcat pop up windows appears with message "failed to start" after trying to start a tomcat 6 server from within Netbeans 6.5 GUI (menu Server > Server add) running on Fedora 11. java.io.FileNotFoundException: /usr/share/tomcat6 ... /logs/ and /conf/ (Permission denied)
Created attachment 87973 [details] tomcat 6 failed to start from within Netbeans 6.5 running on Fedora 11
Message is quite clear. The user under which NetBeans is running does not have proper rights for tomcat directories. Use a different CATALINA_BASE or fix the permissions or (for your particular case) add user which executes NetBeans to tomcat group. /etc/rc.d/init.d/tomcat6 start can only be executed as root afaik so it is not that relevant imo.
I stay with /usr/share/tomcat6 = CATALINA_HOME alone instead of using a different CATALINA_BASE. This because i prefer respect the FHS of fedora 11 and found all my logfiles inside /var/log/tomcat6 (and tmp inside /var/cache/tomcat6/temp/ and ...). Permission problem was resolved with : chown -R tomcat:tomcat /var/log/tomcat6 chmod 770 /var/log/tomcat6 usermod -a -G tomcat username_using_netbeans Thanks.