tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin HaleBoyes <kcbo...@yahoo.com>
Subject RE: (application library) ClassNotFoundException
Date Mon, 09 Jul 2001 18:46:17 GMT
> Herein lies your problem.  The classes12.jar(it has to be a jar not
> a zip), has to be in TOMCAT_HOME/lib, not your webapps lib folder.
> 
> Think of it this way.  Where do you configure the JDBCRealm?  In
> TOMCAT_HOME/conf/server.xml.  The server.xml file is parsed at
> startup
> and therefore the Realm is created before the context(s) have been
> loaded.

Yes, of course!!!   I had it in my head "... but this is the way I did
it before" but I had forgotten that I had copied the classes111.jar (for 8i)
into the server/lib directory.

So, this leads me to a follow up question.  I know that I've got the jar
file in the server/lib directory, is there any way to use that from my
application.  If not then I have to have the exact same jar file in my
WEB-INF/lib directory to use Oracle JDBC in my application.

Thanks very much for your help,
Kevin.



____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

Mime
View raw message