/localhost you
> need to name the .xml file the same as your .war file. So if you have
> foo.war, then you'd have Catalina/localhost/foo.xml
>
> You can also put a file named context.xml into the .war file itself, under
> META-INF directory.
>
> David
>
> On T
I am trying to setup JNDI for tomcat with a java webapp. I am using the
official tomcat docker image (version 10.1.24-jdk21-temurin-jammy).
However, I'm a bit confused about where to put the context.xml file. I
tried putting it in /usr/local/tomcat/conf/Catalina/localhost/context.xml
but tomcat ref