Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

SQLNestedException

Wojtek Kusch

2007-03-04

Replies:

Hi!
I have a JSP-App and need a database connection (to the MS Access
database "unleashed").
But, I get following exception:

org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC
driver of class '' for connect URL 'null'


This is the context in "conf\Catalina\localhost"
---------------------------------------------------------------------------------------------------
<Context debug="1" reloadable="true">

<Logger className="org.apache.catalina.logger.FileLogger"
 prefix="localhost_unleashed_" suffix=".log"
 timestamp="false"/>

<Resource name="jdbc/unleashed" auth="Container"
type="javax.sql.DataSource"/>
<ResourceParams name="jdbc/unleashed">
  <parameter>
    <name>driverClassName</name>
     <value>sun.jdbc.odbc.JdbcOdbcDriver</value>
  </parameter>
  <parameter>
    <name>url</name>
     <value>jdbc:odbc:unleashed</value>
  </parameter>
</ResourceParams>

</Context>
-------------------------------------------------------------------------------------------------------

What's wrong? Thanks for help!
Wojtek Kusch

---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.