I use tomcat, I just can not find the root directory to set the path to the file. You have to write an absolute, tell me where it is.

  • absolute path to what? Why do you need it - describe what you are trying to do and how you are trying to do it - Victor
  • From the text file you need to get the values ​​and I could not specify the relative path to this file in the project, it turned out only through the absolute starting from the C drive: specify the path relative to it, the answer below indicated that the root directory is where the catalina file is located - Kotysh

1 answer 1

In tomcat root directory is relative to the catalina file

I have it here:

 /opt/apache-tomcat/bin/catalina.sh