tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Tatum <>
Subject Re: How do I use (globally) one jar with different servlets?
Date Tue, 01 May 2001 21:54:45 GMT
All that is required is that those jar files are in the classpath when
Tomcat is started. The current version of the startup scripts (at least in
3.2.1) create their own classpath, then append the existing classpath to
it. You could also manually add them in the scripts themselves.

Scott Tatum |
Senior Applications Developer, Special Projects
WorldCom |

Markus Diesing wrote:

> Hi *,
>    I've got a configuration problem and I have actually spent a lot of
>    time finding a solution. And that's still my problem:
>    I have 2 great working servlets in 2 different webapps-folders. They
>    both use some equal .jar files which lie in the webapps/../lib -
>    folder. Because these tool - .jars will be used in later servlets
>    as well, they are still under development.
>    I'm looking a solution for putting the "global" files in a company
>    specific-folder like tomcat-root/lib/my-company/. I actually know
>    that you can put .jar-files in the tomcat-root/lib/ path, but I
>    don't like that, because it's in my opinion not the best solution.
>    So, could anybody tell me, in which configuration-file I have to
>    specify the path to my company-specific globally used jar-files?
>    best regards
>    Markus Diesing

View raw message