1

I've installed Tomcat 9 and Netbeans 8.2 in Ubuntu 16.04. I've tried to add Tomcat in Netbeans as a server but says: The specified Server Location (Catalina Home) folder is not valid.

I've looking for the solution but nothing worked.

I've installed tomcat in folder: /opt/tomcat.

I've tried to create symbolic links such as:

sudo ln -s /opt/tomcat/ /usr/share/tomcat/conf sudo ln -sf /opt/tomcat/lib /opt/tomcat/common/lib

But as I said nothing worked.

Could you help me please?

Thanks, Roberto

2 Answers2

2

hi roberto i dont know if you solve this problem but for another people i solved this problem in ubuntu 18.04 with chmod -R 777 apache-tomcat-9.0.14/ working perfectly perfectly, Sorry for my english not is my primary language

  • I am also having similar problem, you can check https://stackoverflow.com/questions/60983938/create-symbolic-link-for-access-file-using-tomcat-9 i can access any file if file is exist inside ../tomcat/webapps/ROOT, but i am creating symbolic link inside ROOT, trying to access localhost:8080/folder/abc.pdf, while using tomcat7 is working fine – Mugeesh Husain Apr 02 '20 at 08:34
0

In my Ubuntu 20.04.1 LTS I have installed Tomcat from this link Tomcat installation guide in /opt/tomcat folder . When I installed Netbeans I was facing the similar issue so I just change the permission of /opt/tomcat/ with sudo chmod -R 777 /opt/tomcat/apache-tomcat/ command and it worked for me.

Ayush Kushwaha
  • 93
  • 1
  • 1
  • 9