Hi,
We're working on a java webapp and using a derby database (v10.5) in embedded
mode.
The first version of the application went live about 2 months ago.
The application gets used for making invoices and we also store the XML of an
invoice document in the derby DB (input data for generating a
Hi,
We're working on a java webapp and using a derby database (v10.5) in embedded
mode.
The first version of the application went live about 2 months ago.
The application is used to make invoices and we also store the XML of an
invoice document (input data for generating a PDF against a
Am 07.08.2011 22:25, schrieb Spezifikum:
Hi
i am using apache derby with netbeans succesfully. Local applications
run as excpeted, but when i try to create a servlet i always get the
error that the driver could not be loaded together with a
ClassNotFoundException, which afaik means that the
Hi,
For what it's worth, I had an approximately similar experience
with approximately similar volumes of data on a desktop app using
Derby embedded. I introduced a daily compress of all tables using
the following command (for each table):
call SYSCS_UTIL.SYSCS_COMPRESS_TABLE('MYSCHEMA',
On 8/7/11 9:54 AM, roy.mi...@comcast.net wrote:
I have been happily using Derby for two years within IntelliJ Idea,
but have now hit a wall trying to deploy the application I developed.
I have tried setting the path to derby.jar on the command line and/or
in the CLASSPATH environment
On 05.08.2011 16:35, De Meyer Tim wrote:
Hi,
We're working on a java webapp and using a derby database (v10.5) in
embedded mode.
The first version of the application went live about 2 months ago.
The application is used to make invoices and we also store the XML of
an invoice document
Rick,
Thank you very much for offering your help. Apparently my CLASSPATH is good.
I typed in java org.apache.derby.jdbc.EmbeddedDriver and did indeed get
exactly the expected Exception in thread main java.lang.NoSuchMethodError:
main error message. What else could be causing my
On 07.08.2011 18:54, roy.mi...@comcast.net wrote:
I have been happily using Derby for two years within IntelliJ Idea,
but have now hit a wall trying to deploy the application I developed.
I have tried setting the path to derby.jar on the command line and/or
in the CLASSPATH environment
I have some experience using Apache Derby. I can't remember exactly what was
the issue I found in my project. It worked on DEV but not in PRD. I fixed it
using derby.properties file.
Do some research and take a look a derby.properties file:
Thank you, Dag.
It looks like in order to get this to work, I had to make two calls to
DriverManager.getConnection.
Combining shutdown=true;drop=true didn't work.
So, is this the correct implementation (if in-line image doesn't work,
please see attachment):
From:
dag.wan...@oracle.com
I do not know what an fqcn is. I am running the latest Derby release,
10.8.1.2. The code pasted in below works great in the dev environment
(IntelliJ Idea), but the same code packaged in a jar cannot find the driver
with CLASSPATH set correctly.
public static Connection
Hi Roy,
The fqcn, is the fully qualified class name of the driver. So in your
code you're using the driver manager to grab a connection; however I
don't see a reference to loading the driver:
http://db.apache.org/derby/papers/DerbyTut/embedded_intro.html#embedded_driver
Hi Roy,
Thanks for including the code snippet. As Raymond points out, you are
not loading the driver explicitly. This should not be necessary if you
are using Java 6 or 7. However, driver autoloading does not happen in
Java 5 and earlier versions of Java. What version of Java are you using?
Using jdk1.6.0_20.
- Original Message -
From: Rick Hillegas rick.hille...@oracle.com
To: Derby Discussion derby-user@db.apache.org
Sent: Monday, August 8, 2011 3:24:09 PM
Subject: Re: Can't Load Embedded Driver
Hi Roy,
Thanks for including the code snippet. As Raymond points out,
That bottom level plumbing has been working perfectly for two years in dev. I
remember thinking it was pretty cool and developer-friendly. I had essentially
NO trouble getting it all up and working. I have now added the code to
explicitly load the driver. It works fine in dev, but not
Thanks for the suggestion, Myrna. However, it's NOT Intellij Idea that is
having a problem; everything has been working perfectly in dev. It's when I
build a jar and just run under Windows that the problem occurs. I'm getting
desperate, though, so I'll try PROGRA~1 and/or moving the jars
On 08.08.11 16:41, Pavel Bortnovskiy wrote:
Thank you, Dag.
It looks like in order to get this to work, I had to make two calls to
DriverManager.getConnection.
Combining /shutdown=true;drop=true/ didn't work.
So, is this the correct implementation (if in-line image doesn't work,
please see
17 matches
Mail list logo