This is regarding the Resources feature of tomcat 8.5 that allows us to add 
external jars and class folder to the webapp classpath.
There seems to be an issue with the order in which class folder and jar files 
are added to the classpath.
<Context docBase="D:\Projects\ProjectA"> <Resources 
className="org.apache.catalina.webresources.StandardRoot">  <PostResources 
base="D:\Projects\external\classes" 
className="org.apache.catalina.webresources.DirResourceSet" 
webAppMount="/WEB-INF/classes"> </PostResources> <PostResources 
base="D:\Projects\lib\library1.jar" 
className="org.apache.catalina.webresources.FileResourceSet" 
webAppMount="/WEB-INF/lib/library1.jar">
 </PostResources>        </Resources>
</Context>
With the above configuration
the webapp classpath becomes - 
WEB-INF\classes;WEB-INF\lib\*.jar;D:\Projects\lib\library1.jar;D:\Projects\external\classes
I expect the order to be 
WEB-INF\classes;WEB-INF\lib\*.jar;D:\Projects\external\classes;D:\Projects\lib\library1.jar;
Is there a way to configure Context xml so that the classfolders added through 
PostResources appear before jar files added through PostResources in the 
classpath?
ThanksVimil

Reply via email to