I can\'t find my tomcat.conf
, I have looked in /etc/tomcat6
, but it\'s not there, nor is it in /usr/share/tomcat6
.
Where can I fin
You may check that by:
$ dpkg -L tomcat6 tomcat6-common | grep tomcat.conf
There is no means of a tomcat.conf
file in a default and plain vanilla Tomcat installation. You however can find several configuration files in the /conf
folder. Details/manuals about those can be found at the Apache Tomcat Configuration Reference.
Hope this helps.
The tomcat-users.xml file is located in the Tomcat install directory of the etc directory.
For instance. From root:
cd /etc/tomcat(ENTER-YOUR-TOMCAT-VERSION-HERE)/tomcat-users.xml
In my system I have Tomcat7 installed so my path was"
/etc/tomcat7/tomcat-users.xml
If you are running Docker container based on alpine all the configuration you can find inside conf.
/usr/local/tomcat/conf
Try:
sudo updatedb
locate tomcat.conf | less
tomcat.conf
is a file that the RedHat RPM package of Tomcat installs. See here. It's actually a nice way of managing tomcat config stuff in a file rather than environment variables.