Good idea. I searched all jars in lib, shared/lib, and
webapps/AppName/WEB-INF/lib. org.hibernate.SessionFactory occurs in one file
only, which is hibernate3-3.3.1.jar.

I don't know if this is the first class in the WEB-INF/lib folder to be
loaded, but it's not out of the question that it is. It's like Tomcat isn't
looking there if I tell it the shared classloader should be looking in
shared/lib. Like I described before, it works if I point the shared
classloader at the WEB-INF/lib directory as well (which was a test, and not
a proposed solution :) ), which is telling.

Still stuck, and not sure where to look. Mad grateful for further ideas.

Tim


2009/9/11 Caldarale, Charles R <chuck.caldar...@unisys.com>

> > From: Tim Berglund [mailto:tlbergl...@gmail.com]
> > Subject: Re: Shared jars
> >
> > The class failing to load is org.hibernate.SessionFactory
>
> Any chance the above class is in more than one place in this branch of the
> classloader tree?  An NCDFE can result from that condition as well as the
> class simply not being there (or accessible).
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to