tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mudit Garg <maxmu...@gmail.com>
Subject Re: /WEB-INF/lib
Date Fri, 27 Feb 2009 17:27:25 GMT
Hi,

You could set an explicit classpath in tomcat startup script  like:

 for el in $db_drivers_home/*.jar; do
                CLASSPATH=$el:$CLASSPATH
            done

 export CLASSPATH

These jars would then be in classpath for all applications though....

Regards
Mudit

On Fri, Feb 27, 2009 at 3:48 PM, vlad vesa <numaplictisesc@yahoo.com> wrote:
>
> Hello everyone,
>
> it is possible to set something in tomcat or in my web application to load
> libraries located in a custom folder within
> webapplication/WEB-INF/lib/customFolder/*.jar  ?
>
> The reason of this is that the application has plugins and it would be
> preferable to organize the libs... if possible of course. In linux there is
> a solution with symbolic links ( ln ), or  in a java class to code a custom
> class loader, but i was wondering there is "tomcat" one :)
>
> Thanks.
> --
> View this message in context: http://www.nabble.com/-WEB-INF-lib-tp22248477p22248477.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message