Hi, I have configured Tomcat to connect to Oracle Database. However it gives the following exception. org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver The server.xml file is as follows:
I have seen this problem in various forums however no one has been able to give a clear answer. I hope somebody out there has faced similar problem earlier and found a solution. Awaiting your suggestions and replies. [ jess disabled smilies and added [code] tags ] [ May 04, 2004: Message edited by: Jessica Sant ]
regards,<p>rahul <p>SCJP 1.4<br />--------<br />Life is great, make it meaningful<br />---------------------------------
did you put classes12.jar (or whatever contains oracle.jdbc.driver.OracleDriver) into common/lib ?
also, many users report problems trying to configure DataSources as a global jndi resource. have you tried declaring your datasource inside of the Context that will be using it. If you do this, you also won't have to remember to insert a ResourceLink into your Context.