tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wojtek Kusch <w_ku...@t-online.de>
Subject SQLNestedException
Date Sun, 04 Mar 2007 22:19:07 GMT
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@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message