2011/3/27 Henry Lu <z...@umich.edu>:
> Can some one tell me how to add a sub folder under ${catalina.base}/lib
> something like ${catalina.base}/lib/my_lib so that all my apps will share
> these jar files under my_lib? I tried to edit the catalina.properties file
> and add
>
> ${catalina.base}/lib/my_lib/*.jar
>
> to common.loader=, server.loader=, and shared.loader=
>
> but none of these work.
>

It sure does work. Though note that

1) the suffix is exactly "*.jar". No other patterns are recognized.
Check that you do not have extra whitespace at the end of that line.
2) usually you add it only to "common.loader". Do not add to three at once.
3) do not confuse ${catalina.base} with ${catalina.home} and vice versa.
4) do not forget to restart Tomcat
5) if you are still confused, you may want to enable logging for
org.apache.catalina.startup package

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to