>  > yes i figure this out for the classes
> > works quite nice,
> > The only problem is that for web-inf/lib
> > i can't get it to work to mount multiply external folders into that one.
>
> I saw this in the other thread you created.  I have to apologize though, I
> read it and didn't really understand what you were reporting.  At the time
> I didn't have time to investigate further, so I deleted the email.
>
> Perhaps if you were able to be more specific, someone on the list could
> help.  You've indicated that some Resources configurations work and some
> don't.  Specifically which ones work, including example <Resources/> tags?
>  Specifically which one's don't work, also including example <Resource/>
> tags?  When it doesn't work as you would expect, what is the observed
> behavior (i.e. what happens) and what is your expected behavior (what do
> you think should happen)?
>
> Please also include the version of Tomcat 8 you're using.  Is it trunk or
> one of the release candidates?
>


8RC3

for example i do this:

<Resources>
<PreResources  base="c:/dir1"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/lib"/>
<PreResources  base="c:/dir2"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/lib"/>
<PreResources  base="c:/dir3"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/lib"/>
<PostResources  base="c:/dir4"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/classes"/>
<PostResources  base="c:/dir5"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/classes"/>
<PostResources  base="c:/dir6"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/classes"/>
<PostResources  base="c:/dir7"
className="org.apache.catalina.webresources.DirResourceSet"
webAppMount="/WEB-INF/classes"/>
</Resources>

classes do work, i get all the classes that get, at least i have no class
not found problems for any of the things i map to /classses
also there are in WEB-INF/classes already "normal" classes for that
project, i just add more to it like that. As i said all of that seem to
work just fine

But the first once (i tried pre, post or jar doesn't matter) where i want
to map to lib that doesn't work
Only one work the first i believe. others are all overridden.

So the question is more why do classes work and lib can't work?

I will try out the sub dirs,, i never have used that (sub dirs in the lib
folder with jars in those, didn't know that could work)

johan





>

Reply via email to