The oracle file is called classes12.zip and it's located in lib/common. Yet I still get the error.
On Sat, 2003-02-15 at 01:26, Bill Barker wrote: > The simplest is to just include the Oracle jars in lib/common. > > Otherwise, it's not a 'server.xml' setting. Assuming that Tomcat is running > under the user 'tomcat', then you would need to create a file called > '~tomcat/.tomcatrc' looking like: > > TOMCAT_OPTS="-Dorg.apache.tomcat.common.classpath=/path/to/oracle.jar" > > Alternatively, you can edit the 'tomcat.sh' file to do the same thing. The > value of this System property gets added to the classpath for the 'common' > classloader, so it should solve your problem. > > "Ray Kosby" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have jakarta-tomcat-3.3.1a on a Solaris 8 machine. I have a servlet > that uses classes contained in ".zip" and ".jar" files that are located > in jakarta-tomcat/lib/common. Whenever I start tomcat I get the > following error: > > LoadOnStartupInterceptor: cannot load servlet name: Database Servlet - > java.lang.NoClassDefFoundError: oracle/jdbc/pool/OracleDataSource > > I found the following in the documentation: > > If the chosen classloader is the Common Classloader or Apps > classloader you include a directory or jar these classloaders by > listing them a System property. For the Common Classloader, > include the directory or jar file in a System property named > org.apache.tomcat.common.classpath. For the Apps classloader, > use a System property named org.apache.tomcat.apps.classpath. > > If this is the solution, I can't find a clear example of what the tags > in server.xml should look like to accomplish this. Any one know if I'm > on the right track and how to do this? > > Sincerely, > > Ray "new at tomcat" Kosby > -- > Ray Kosby <[EMAIL PROTECTED]> > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
