Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to Add external Server Tomcat In Netbeans 7.1

I am going to add Tomcat server in Netbeans 7.1 , it shows:

The specified Server Location (Catalina Home) folder is not valid.

The specified Server Location (Catalina Home) folder is not valid.

Can any body explain this?

like image 385
Nishant Nawarkhede Avatar asked Mar 03 '12 11:03

Nishant Nawarkhede


People also ask

How to Add remote tomcat Server in NetBeans?

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.

How to Add tomcat Server in NetBeans in ubuntu?

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).


1 Answers

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.

like image 69
Thorn Avatar answered Nov 15 '22 07:11

Thorn