Re: [h2] using h2 servlet console with embedded derby

2014-06-27 Thread Thomas Mueller
Hi, The H2 Console does nothing special, is calls Class.forName. If the derby driver class would be visible, then it would work. Maybe your application accesses the derby database in some other way, this I don't know. Class visibility and classloading in a web application is a bit tricky, but I th

Re: [h2] using h2 servlet console with embedded derby

2014-06-24 Thread Adam McMahon
Thomas, I am using h2/derby (both embedded) within a tomcat app. The H2 console is exposed via the WebServlet. The h2 and derby jars are placed in tomcat's lib directory. I know derby.jar is loaded because the web app works fine with derby - except derby does not work with the H2 console.

Re: [h2] using h2 servlet console with embedded derby

2014-06-18 Thread Thomas Mueller
Hi, If the Derby JDBC driver is in the classpath, then I'm afraid I don't know what the problem could be. Should the h2 console work with derby? > Sure. > Am I doing something wrong? > I would double check if the Derby JDBC driver is really in the classpath. Where exactly did you put the D

[h2] using h2 servlet console with embedded derby

2014-06-14 Thread Adam McMahon
Hi, We are building our web-app to be compatible with both embedded H2 and embedded Derby, with the idea that we can switch out one for the other at any time. Though we plan on using H2 in our final app (if everything works as expected). We use the H2 console (as a servlet) to manage the e