On 12/12/2025 7:01 PM, Mark Foley wrote:
On Fri Dec 12 17:19:33 2025 Olaf Kock<[email protected]>  wrote:
Am 12.12.25 um 23:11 schrieb Mark Foley:
So, how would I verify Tomcat is using the correct conf files?

I am keeping separate directory links under /srv/tomcat and when I move the link
back to the 8.5 version everything work. When I move it to the 10.1 version I
get the errors.
Sounds a lot like what Chuck hoped earlier you'd not do:

  > Hopefully, you didn’t just copy the Tomcat 8.5 config files into
Tomcat 10.1 - the config items have changed noticeably over the years.

Olaf
Not at all. These are completely different directory hierarchies with distinct
files. One is in .../apache-tomcat-10.1.13/ the other is in 
../apache-tomcat-8.5.11/
The 10.1.13 configs were not copied/modified from the 8.5.11 configs. They were
installed from scratch from apache-tomcat-10.1.13.tar.gz.

/srv/tomcat is symlinked to the 10.1.13 directory for testing and to the 8.5.11
directory for production:

The 8.5.11 config files are distinct from the 10.1.13 files:

$ ls -l apache-tomcat-8.5.11/conf
total 428
drwxr-s--- 28 tomcat tomcat   4096 2025-08-27 01:31 Catalina/
-rw-r-----  1 root   tomcat  12895 2017-01-10 16:05 catalina.policy
-rw-r-----  1 root   tomcat   7202 2017-01-10 16:05 catalina.properties
-rw-r-----  1 root   tomcat   1612 2016-06-14 19:37 context.xml
-rw-r-----  1 root   tomcat   1338 2017-01-10 16:05 context.xml-orgJMF
-rw-r-----  1 root   tomcat   1149 2017-01-10 16:05 jaspic-providers.xml
-rw-r-----  1 root   tomcat   2358 2017-01-10 16:05 jaspic-providers.xsd
-rw-r-----  1 root   tomcat   3622 2017-01-10 16:05 logging.properties
-rw-r--r--  1 root   tomcat  14658 2025-12-12 12:08 server.xml
-rw-r-----  1 root   tomcat   7511 2017-01-10 16:05 server.xml-orgJMF
-rw-r-----  1 root   tomcat   2164 2017-01-10 16:05 tomcat-users.xml
-rw-r-----  1 root   tomcat   2633 2017-01-10 16:05 tomcat-users.xsd
-rw-r-----  1 root   tomcat 167259 2021-10-28 09:47 web.xml

$ ls -l apache-tomcat-10.1.13/conf
total 612
drwxrws--- 24 tomcat tomcat   4096 2025-12-08 03:26 Catalina/
-rw-r-----  1 root   tomcat  12926 2023-08-23 17:34 catalina.policy
-rw-r-----  1 root   tomcat   7693 2023-08-23 17:34 catalina.properties
-rw-r-----  1 root   tomcat   1447 2025-12-08 03:11 context.xml
-rw-r-----  1 root   tomcat   1149 2023-08-23 17:34 jaspic-providers.xml
-rw-r-----  1 root   tomcat   2313 2023-08-23 17:34 jaspic-providers.xsd
-rw-r-----  1 root   tomcat   4144 2023-08-23 17:34 logging.properties
-rw-r--r--  1 root   tomcat  15199 2025-12-12 12:23 server.xml
-rw-r-----  1 root   tomcat   2756 2023-08-23 17:34 tomcat-users.xml
-rw-r-----  1 root   tomcat   2558 2023-08-23 17:34 tomcat-users.xsd
-rw-r-----  1 root   tomcat   2666 2025-12-12 12:46 web.txt
-rw-r-----  1 root   tomcat 173384 2025-12-12 13:24 web.xml

---------------------------------------------------------------------
To unsubscribe, e-mail:[email protected]
For additional commands, e-mail:[email protected]


I would check that tomcat is using the configuration files you expect it to by making a change to one of them and observing the difference in behavior when you restart tomcat.

-Terence Bandoian

Reply via email to