Hello Tomcat-users,
I'm running Tomcat 7.0.20. My webapp uses several 3rd party jars located in WEB-INF/lib and I need to apply a series of patches to one of the jars. The patches are jar files that only have the modified class files in it, so to apply it I need to add them to the classpath before the third party jar. I.e. Load patch3.jar, then patch2.jar, then patch1.jar, then 3rdparty.jar Reading the class loading docs it doesn't look like there is any guarantee as to the order they are loaded or any way to specify the order, is this correct? If not, is there some other built in mechanism to do this? or am I barking down the wrong tree altogether? As it stands, I think I'm just going to have to extract the class files from each of the patch jars and insert the structure into my WEB-INF/classes folder, as my understanding is that they are ahead of the lib folder in the classpath. Is this a viable alternative should all other avenues fail? Regards, Andrew Kujtan