Hello Tomcat list,
I’m struggling with a classpath problem.
I have a webapp deployed under Tomcat. I have setup multiple tests (3 to be
exact). They are all running 9.0.20, one under macOS, and the other 2 under
Debian (same version for both).
My app requires the jar lib to be loaded in a specific order.
What I was able to gather so far is that I should do that customisation in
myapp/WEB-INF/context.xml (it looks like I don’t need to tell Tomcat to look
for that file)
I’m looking for some sample code to better understand how to do it.
So far I tried
<?xml version="1.0" encoding="UTF-8"?>
<Context docBase="\webapps\CloudManager">
<Loader className="org.apache.catalina.loader.VirtualWebappLoader"/>
<lib>xxxxxx</lib>
<lib>yyyyyy</lib>
...
</Context>
xxxxxx and yyyyyy are jar files in myapp/WEB-INF/lib/xxxxxx.jar
but without any luck.
I’m probably missing something obvious, but I just can’t find it.
Thanks for your help,
Xavier
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]