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 <numaplictis...@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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

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

Reply via email to