I can currently set up a proxy for Tomcat at a global level by adding -D options to catalina.bat.
However what I would like to be able to do is set a proxy for only one of the webapps and have the others not proxied.
From looking at the docs it looks like I should be able to add parameters in a context.xml file within meta-inf, but I’ve not yet managed to get this to work; are there any guides on this?
Thanks
You would have to write the webapp so as to use
java.net.Proxyand friends. The -D technique applies to the entire JVM.