tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergei Kovalev <skov...@gmail.com>
Subject Re: can't make external lib jars loaded with Resources in tomcat 8
Date Sat, 30 Aug 2014 13:33:51 GMT
Got it working,
I changed root.xml to ROOT.xml and it fixed it.

Those little mistakes make us work )

Thanks


On Sat, Aug 30, 2014 at 8:32 AM, Daniel Mikusa <dmikusa@pivotal.io> wrote:

> On Aug 29, 2014 4:56 PM, "Sergei Kovalev" <skov555@gmail.com> wrote:
> >
> > Can anybody provide working example how to externalize libs for
> application
> > under tomcat 8?
> > I have done below but it does not work, libs not getting loaded.
> >
> >
> > <Resources>
> >            <PreResources
> >  base="C:\Projects\tomcat\apache-tomcat-8.0.11\hostlibs\myhost"
> > className="org.apache.catalina.webresources.DirResourceSet"
> > webAppMount="/WEB-INF/lib"/>
> >
> >     </Resources>
>
> This looks ok at first glance.
>
> I haven't used it on Windows though. Have you tried using forward slashes
> in the path? What about doubling up the backslashes?
>
> Dan
>
> >
> >
> > Thanks
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message