Server Location (Catalina Home) folder is not valid

53,042

Solution 1

Netbeans 8.1 doesn't support Tomcat 9.

Upgrade your Netbeans to 8.2, or use Tomcat 8 instead.

Solution 2

Sometime you have to open the folder of tomcat server after installing it. It wants permission to open it.then Your problem of catlina home will be solved...

Solution 3

Download Tomcat (Windows Service Installer) format, then Install

Go to Installation Folder, then Try to open Tomcat 9.0 folder, then Windows Message Asked, then Take permission to open folder

That All and my purpose was solved to install Tomcat 9.0 in Netbeans 11.3

Solution 4

Check Permissions

One possible reason that someone might receive this error, especially on MacOS or *nix platforms, is permissions. On MacOS, the NetBeans 8-ish installers will install Tomcat in the NetBeans Applications folder, e.g., /Applications/NetBeans/apache-tomcat-maj.min.patch.

If you are following that pattern and upgrade Tomcat to a currently compatible version with your version of NetBeans, you may be forced to unpack the binary as sudo, e.g., sudo tar xvf ~/Downloads/apache-tomcat-maj.min.patch.tar.gz -C /Applications/NetBeans. This will untar your NetBeans install without write permissions for group, other, e.g., 0755 or drwxr-xr-x ....

You can correct that with sudo chown -R user:group apache-tomcat-maj.min.patch as apropos, sudo chown -R javafueled:admin apache-tomcat-maj.min.patch

Solution 5

Try to set the environment variables:

PATH: ......C:\Progra..\Java\jdk1.7.0_51
C:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52\bin
CATALINA_HOME: F:\apache-tomcat-7.0.52-windows-x86\apache-tomcat-7.0.52
JAVA_HOME: C:\Progra..\Java\jdk1.7.0_51
JRE_HOME: C:\Progra..\Java\jre7

and restart apache after it!

Share:
53,042
vico
Author by

vico

Updated on November 22, 2021

Comments

  • vico
    vico over 2 years

    Trying to create Web application based on Tomcat. Can't set Tomcat folder: enter image description here

    Error:

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

    enter image description here

    How to fix this problem?

  • Ojonugwa Jude Ochalifu
    Ojonugwa Jude Ochalifu about 6 years
    So, how does this answer help someone who already has Netbeans 8.2?
  • Nextor
    Nextor over 3 years
    @GOKUL KANNAMBALLY BALACHNADRAN answer worked for me.
  • Zeeshan Ali
    Zeeshan Ali almost 3 years
    Specially when you are using Windows 10.