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 find the tomcat.conf
in Linux Ubuntu?
Open the tomcat-users. xml file, which is located by default in $CATALINA_HOME\conf\tomcat-users.
You can configure the Tomcat service from the desktop by double-clicking the Manager tray icon, navigating to the "General" tab, and choosing "Automatic" for the "Startup type".
The default directory for Tomcat files will be in /usr/local/tomcat9, you can view the configuration files inside the conf folder, the main page that you have seen above, when you open your website on the 8080 port is in /usr/local/tomcat9/webapps/ROOT/.
The Server. xml file is located at the root level of the conf directory.
Try:
sudo updatedb
locate tomcat.conf | less
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With