Installed Tomcat by following this link. Installed the latest Apache NetBeans from Ubuntu Software center, version 12.1. The installation of tomcat completes without any issues and I am able to access the Host manager and application manager. When I try to add TomCat server in NetBeans IDE the error "The specified Server Location (Catalina Home) folder is not valid ". I tried all the other solutions but nothing works for me. Anyone who has experience in setting this up on an ubuntu machine may be of help in this case.

If any further info is needed please mention them and I will provide it here.



If 777 sounds bad to you, try:

sudo chmod 604 -R /tomcat/folder

On Ubuntu 20.04 with Apache NetBeans 12.2 and Apache Tomcat 9.0.41, grant permissions to the folder where Catalina Home is installed:

sudo chmod -R 777 /folder/tomcatFolder

  • 3
    chmod 777 is almost always a Bad Idea ™ – guntbert Jan 7 at 22:29
  • This solution works for me. – Curioso Mar 4 at 0:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.