db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Cecchet <m...@frogthinker.org>
Subject Re: Tomcat derby JSP "java.sql.SQLException: No suitable driver"
Date Mon, 01 Dec 2008 17:45:33 GMT
Michael,

You should have derby.jar in the classpath if you want to use embedded 
mode.
> CLASSPATH=\
> Applications/apache-tomcat-6.0.18/lib/derbyclient.jar:\
derbyclient.jar contains only the JDBC driver code 
(http://db.apache.org/derby/docs/dev/adminguide/tadminappschangingyourclasspath.html)
> <%
> String driver = "org.apache.derby.jdbc.EmbeddedDriver";

Hope this helps,
Emmanuel

-- 
Emmanuel Cecchet
FTO @ Frog Thinker 
Open Source Development & Consulting
--
Web: http://www.frogthinker.org
email: manu@frogthinker.org
Skype: emmanuel_cecchet


Mime
View raw message