I'm using Oracle 9i and have no problems. I placed the oracle classes12.jar
within the common/lib directory and use a resource description within the
server.xml to identify the database where I store XML and other documents
within a generic event logging framework with no problem.

Here are a few items to consider:

1. Do you have the correct jar file in common/lib
2. If using a Resource definition: is your resource configured with the
proper class definition (e.g.
<value>oracle.jdbc.driver.OracleDriver</value>)
2.1 Is the resource within the proper context (e.g.  
<Context path="/DBC_Logger" docBase="DBC_Logger.war"...
        <Resource name="jdbc/DBC_Logger" auth="Container"
                  type="javax.sql.DataSource"/> ...
        <ResourceParams name="jdbc/DBC_Logger"> ...

Hope this helps.

Regards,

Dick Brooks
B2B Application Integration and CyberSecurity Consultant
http://www.tech-comm.com/dbc
Telephone: 602-684-1484


-----Original Message-----
From: Sachdeva, Devinder [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 06, 2004 10:10 AM
To: [EMAIL PROTECTED]
Subject: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver


All-
I'm getting the following error ,though Oracle driver classes(zip)are in
tomcat/common/lib  placed.
java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver 
Any clue---> 

Thanks
Devinder


----------------------------------------------------------------------------
--
Notice:  This e-mail message, together with any attachments, contains
information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New
Jersey, USA 08889), and/or its affiliates (which may be known outside the
United States as Merck Frosst, Merck Sharp & Dohme or MSD) that may be
confidential, proprietary copyrighted and/or legally privileged, and is
intended solely for the use of the individual or entity named on this
message. If you are not the intended recipient, and have received this
message in error, please immediately return this by e-mail and then delete
it.
----------------------------------------------------------------------------
--

---------------------------------------------------------------------
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]

Reply via email to