I am going to add Tomcat server in Netbeans 7.1 , it shows:
The specified Server Location (Catalina Home) folder is not valid.
Can any body explain this?
Adding the server in NetbeansIn the current list select Apache Tomcat and click Next. Under Server Location enter your Tomcat installation directory , by default this should be /usr/share/tomcat7 and under Username and Password put in the username and password that we added in the tomcat-users. xml file. Click Finish.
Adding Server in Netbeans Now that Tomcat is installed and configured we can open up Netbeans and under the Services tab right click on the Servers and click on Add server. In the next window, select Apache Tomcat and click next. Under Server Location enter the tomcat directory,(where tomcat was installed).
CATALINA_HOME refers to the root directory of Tomcat. This is often set as a sytem variable along with JAVA_HOME, the location of your jdk.
When netbean asks for a path to your Tomcat server, give it the root path of your Tomcat installation, not the bin directory.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With