Where tomcat.conf is located?

后端 未结 7 2302
逝去的感伤
逝去的感伤 2021-02-15 12:43

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

相关标签:
7条回答
  • 2021-02-15 12:45

    You may check that by:

    $ dpkg -L tomcat6 tomcat6-common | grep tomcat.conf
    
    0 讨论(0)
  • 2021-02-15 12:50

    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.

    0 讨论(0)
  • 2021-02-15 12:50

    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
    
    0 讨论(0)
  • 2021-02-15 12:54

    If you are running Docker container based on alpine all the configuration you can find inside conf.

    /usr/local/tomcat/conf 
    
    0 讨论(0)
  • 2021-02-15 12:57

    Try:

    sudo updatedb
    locate tomcat.conf | less
    
    0 讨论(0)
  • 2021-02-15 13:06

    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.

    0 讨论(0)
提交回复
热议问题