You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Thomas Dudziak <to...@gmail.com> on 2005/09/29 11:05:34 UTC

Re: One db-ojb-1.0.3.jar for several WebApps?

On 9/29/05, Hiller, Frank RD-AS2 <Fr...@heidelberg.com> wrote:

> I'm using OJB 1.0.3. and Tomcat 5.0.28.
> OJB lib is in ..\webapps\MyApp\WEB-INF\lib.
>
> Where would I have to place db-ojb-1.0.3.jar if I would like to use it
> from several webapps?
> <Tomcat>\common\lib?
> <Tomcat>\shared\lib?
>
> Somewhere else?

You shouldn't do this because it might lead to classloader problems
(because Tomcat uses a different classloader for its global
directories). This is known to happen especially with commons-logging.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org