tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Mikusa <dmik...@pivotal.io>
Subject Re: can't make external lib jars loaded with Resources in tomcat 8
Date Sat, 30 Aug 2014 12:32:25 GMT
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