tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Rengifo <>
Subject Re: Problem configuring a global resource to be linked from Context elements ....
Date Fri, 17 Sep 2004 15:00:46 GMT
Thanks to all.

The resource link problem has been solve with this recommendations you
gave me, at the end I copied my database .jar to common/lib so all web
application and the server can see it, what seems strange to me is
that it used to work on Tomcat 4 without any copy task, but the
solution you gave me goes according to the ClassLoader documentation
so you were just rigth..

Thanks to all of you...


Jonathan M. Rengifo

On Fri, 17 Sep 2004 08:10:13 -0400, Shapira, Yoav <> wrote:
> Hi,
> >I think it is because of the way Tomcat classloaders work. Classes in
> >common\lib or common\classes cannot see classes in WEB-INF\lib. DBCP
> looks
> >for the JDBC Driver class and it cannot read it from WEB-INF\lib. This
> is
> >the answer I got when I had similar problem. For further info on this
> you
> >need help from experts in this list. If the problem is not solved
> please
> >reply.
> Your thought is right -- the above is a good description.  The
> ClassLoader hierarchy is just that, a hierarchy, meaning different
> visibility for different classloaders.  It's described in detail the
> ClassLoader how-to, which I might rank at the #1 document all developers
> using Tomcat should read and understand.
> Yoav
> This e-mail, including any attachments, is a confidential business communication, and
may contain information that is confidential, proprietary and/or privileged.  This e-mail
is intended only for the individual(s) to whom it is addressed, and may not be saved, copied,
printed, disclosed or used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the sender.  Thank you.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message