Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-27 Thread Davide Grandi
works perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can find no solution:    java.sql.SQLException: No suitable driver found for    jdbc:derby:memory:sampledb;create=true         at java.sql

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-26 Thread Russell Bateman
perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can find no solution:    java.sql.SQLException: No suitable driver found for    jdbc:derby:memory:sampledb;create=true         at java.sql.DriverManager.getConnection(DriverM

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-26 Thread Davide Grandi
requiring a running server or dæmon, etc.). It all works perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can find no solution:    java.sql.SQLException: No suitable driver found for    jdbc:derby:memory:samp

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-26 Thread Russell Bateman
ant to use Derby _in-memory_ backing some unit test cases that need a database (not requiring a running server or dæmon, etc.). It all works perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can find no solution:    java.sql.SQLEx

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-26 Thread Rick Hillegas
owever, when I build from the command line (mvn clean package), I see this and can find no solution:    java.sql.SQLException: No suitable driver found for    jdbc:derby:memory:sampledb;create=true         at java.sql.DriverManager.getConnection(DriverManager.java:689)  

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-25 Thread Russell Bateman
   I only want to use Derby _in-memory_ backing some unit test cases that need a database (not requiring a running server or dæmon, etc.). It all works perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-25 Thread Russell Bateman
ne (mvn clean package), I see this and can find no solution:    java.sql.SQLException: No suitable driver found for    jdbc:derby:memory:sampledb;create=true         at java.sql.DriverManager.getConnection(DriverManager.java:689)         at java.sql.DriverManager.getConnection(DriverManager.java:247)         at co

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-25 Thread Rick Hillegas
r dæmon, etc.). It all works perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can find no solution:    java.sql.SQLException: No suitable driver found for    jdbc:derby:memory:sampledb;create=true         at

java.sql.SQLException: No suitable driver found for jdbc:derby:memory:sampledb;create=true

2020-06-25 Thread Russell Bateman
I only want to use Derby _in-memory_ backing some unit test cases that need a database (not requiring a running server or dæmon, etc.). It all works perfectly inside IntelliJ IDEA. However, when I build from the command line (mvn clean package), I see this and can find no so

Re: java.sql.SQLException: No suitable driver

2010-05-28 Thread Kristian Waagan
class is using Derby in standalone program (ran e.g. on Linux) *on the same host*, or in Eclipse on my laptop, it all runs fine - I can connect to the db and operate on it all right. It's only when I deploy the thing remotely, I get exception java.sql.SQLException: No suitable driver on line

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:jdbcDemoDB;create=true

2009-11-19 Thread Kristian Waagan
Steve Morgan wrote: I just started using Derby. I am using NetBeans 6.7.1 with JDK 1.6.0_17. I have included Derby.jar in my IDE libraries however the system does not seem to be able to find the embedded driver. I cannot find a library called Embedded Driver. Can anyone see what I am doing

java.sql.SQLException: No suitable driver found for jdbc:derby:jdbcDemoDB;create=true

2009-11-18 Thread Steve Morgan
I just started using Derby. I am using NetBeans 6.7.1 with JDK 1.6.0_17. I have included Derby.jar in my IDE libraries however the system does not seem to be able to find the embedded driver. I cannot find a library called Embedded Driver. Can anyone see what I am doing wrong? I have checked

Re: java.sql.SQLException: No suitable driver found for jdbc:derby:jdbcDemoDB;create=true

2009-11-18 Thread Bryan Pendleton
not seem to be able to find the embedded driver. I cannot find a library called Embedded Driver. Can anyone see what I am doing wrong? I EmbeddedDriver is not a library, it is a class. Can you post your code? That would make it easier to see what you are doing wrong. Can you compare your

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-15 Thread Stephan van Loendersloot (LIST)
teamderby wrote: Hi Stephan, Excellent, it worked! i'm extremely grateful, you've ended a lot of frustration on my part and i cannot thankyou enough for the help you've supplied. the tutorial is excellently produced and i am sure will be a welcome resource for other people attempting to set

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-13 Thread teamderby
Hi Stephan, Excellent, it worked! i'm extremely grateful, you've ended a lot of frustration on my part and i cannot thankyou enough for the help you've supplied. the tutorial is excellently produced and i am sure will be a welcome resource for other people attempting to set up Derby in the

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-12 Thread Stephan van Loendersloot (LIST)
Hi Mike, I didn't quote your reply, to ensure this tutorial-like thing is as clean as possible. I assume that you've already downloaded db-derby-10.4.2.0-bin.tar.gz and apache-tomcat-6.0.18.tar.gz *to your home directory*. Every step shown below is somewhere in or below the home directory.

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-09 Thread teamderby
Hi Stephan, Thanks for the response. I have tried your suggestions but still no joy. The same error message. Is it possible I am putting the database in the wrong place?! Thanks again, Mike -- View this message in context:

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread Stephan van Loendersloot (LIST)
Below is the forwarded message that Mike sent to my e-mail address. I wanted to reply on the list, so others may benefit from it as well: quote [EMAIL PROTECTED] wrote: thanks for all the replys, Steven, at this point i am simply trying to set up an tomcat webserver, and run a derby

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread Stephan van Loendersloot (LIST)
Excuse me, something went wrong while copying the content of web.xml... The following line: xsi:schemaLocation=http://java.sun.com/xml/ns/javaee http://java.sun.com/xml ns/javaee/web-app_2_5.xsd Should be: xsi:schemaLocation=http://java.sun.com/xml/ns/javaee

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread teamderby
Stephan, Thanks a lot for your response. Your time and effort is very much appreciated. I am unfortunately still having problems, the jsp message: org.apache.tomcat.dbcp.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null' I have followed your instructions

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread Emmanuel Cecchet
Mike, Just to check, which JVM are you using? What is the output of 'java -version'? Did you make sure that both Tomcat and Derby where using the same JVM? manu teamderby wrote: Stephan, Thanks a lot for your response. Your time and effort is very much appreciated. I am unfortunately

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread Stephan van Loendersloot (LIST)
Emmanuel Cecchet wrote: Mike, Just to check, which JVM are you using? What is the output of 'java -version'? Did you make sure that both Tomcat and Derby where using the same JVM? Hi Emmanuel, This seems to be irrelevant. Since the network driver is used to make connections to the

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread Emmanuel Cecchet
Just to check, which JVM are you using? What is the output of 'java -version'? Did you make sure that both Tomcat and Derby where using the same JVM? This seems to be irrelevant. Well, if he uses a default Kaffee or gij, there are many classloader issues with Tomcat. I already had

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-08 Thread Stephan van Loendersloot (LIST)
Emmanuel Cecchet wrote: Just to check, which JVM are you using? What is the output of 'java -version'? Did you make sure that both Tomcat and Derby where using the same JVM? This seems to be irrelevant. Well, if he uses a default Kaffee or gij, there are many classloader issues with

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-04 Thread teamderby
Emmanuel, Thanks for your reply. I have tried using derby.jar instead of derbyclient.jar and the result is exactly the same. Is there any more advice you can give me? Thanks, Mike Emmanuel Cecchet-5 wrote: Michael, You should have derby.jar in the classpath if you want to

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-04 Thread Kristian Waagan
teamderby wrote: Emmanuel, Thanks for your reply. I have tried using derby.jar instead of derbyclient.jar and the result is exactly the same. Is there any more advice you can give me? Hi Mike, The error message you gave, means one of two things; 1) The URL is not a Derby URL (i.e. typos,

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-04 Thread Stephan van Loendersloot (LIST)
Michael Murray wrote: hi guys, I'm having a bit of trouble configuring apache tomcat to work with a derby database on mac OS. Below are the steps I took. The error I get when trying to acces the page from a jsp page is java.sql.SQLException: No suitable driver. Can anyone please help, i'd

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-04 Thread Bryan Pendleton
Michael Murray wrote: hi guys, I'm having a bit of trouble configuring apache tomcat to work with a derby database on mac OS. You might start by following some of the existing tutorials, such as http://db.apache.org/derby/papers/fortune_tut.html, and let us know at what step in the tutorial

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-04 Thread Emmanuel Cecchet
Mike, Thanks for your reply. I have tried using derby.jar instead of derbyclient.jar and the result is exactly the same. Is there any more advice you can give me? This is certainly a classpath issue. Be careful with classloader inheritance in Tomcat. Where did you copy derby.jar? What

Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-01 Thread Michael Murray
hi guys, I'm having a bit of trouble configuring apache tomcat to work with a derby database on mac OS. Below are the steps I took. The error I get when trying to acces the page from a jsp page is java.sql.SQLException: No suitable driver. Can anyone please help, i'd be very very grateful

Re: Tomcat derby JSP java.sql.SQLException: No suitable driver

2008-12-01 Thread Emmanuel Cecchet
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) %