Hi,
I am new to minishift and trying to deploy existing (Tomcat web application) Docker Image
to minishift. I have created shared storage and create config maps where I have added
log4j.properties file. I want to override my existing application log4j.properties with
external one.
In existing container tomcat context resources xml file at
(tomcat/conf/Catalina/localhost) has following content
<Resources className="org.apache.catalina.webresources.StandardRoot">
<PreResources
className="org.apache.catalina.webresources.DirResourceSet"
base="/opt/config"
webAppMount="/WEB-INF/classes" />
</Resources>
So basically I am indicating tomcat to add /opt/config/ directory in classpath and also
adding config map at the same location (volume binding) /opt/config but somewhat how
it's not loading external log4j.properties from volume mapped location and loading
default log4j.properties only.
Please suggest what's is going wrong.
Thanks
Show replies by date