I am facing issue to start my tomcat server in netbeans. I am getting error when I click on start button
"Starting of tomact failed, check whether the /Application/NetBeans/apache-tomcat-7.0.52/bin/catalina/sh and related scripts are executable."
For more details please check screenshot
You should run from the command line / shell if you can though I realize you want to run from Netbeans in this case.
Also make sure that all your .sh
scripts are executable (do a chmod
) because otherwise they cannot be called.
Lastly, make sure you have the right permissions to run the scripts.
Once you are beyond these checks, you'll possibly get other error messages e.g. your JAVA_HOME
or your CATALINA_HOME
are not set. These will be easy to fix.
To run Tomcat from the terminal,
TOMCAT_HOME
or TOMCAT_HOME/bin
)..sh
scripts are executable (chmod a+x *.sh
)startup.sh
: ./startup.sh
or bin/startup.sh
(depending on whether you are inside TOMCAT_HOME
or inside TOMCAT_HOME/bin
)