db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "A. Rick Anderson" <ar...@pobox.com>
Subject Fixed: Another Wrong URL in Plug-in Lab [Was: Eclipse Plug-in Lab code is failing to find driver in derbyclient.jar]
Date Mon, 19 Feb 2007 13:27:57 GMT
My eyes are not what they used to be.  That was the problem.  Thank-you 
for spotting that.

Unless Andrew McIntyre is going to do another instant fix :-), I will go 
ahead and file a bug report in Jira.  The mistake is in the Jays.java 
file, stored in the "derby_plugins_labs.zip file that is available from 

Current the code is:
String derbyClientURL = 

It should be:
String derbyClientURL = 

John Embretsen wrote:
> A. Rick Anderson wrote:
>> I've gone back and literally stripped the entire lab to the absolute 
>> minimum below, but I am getting the exact same behavior.  It throws an 
>> exception when I attempt to get the ClientDriver connection.
> I haven't tried the eclipse plug-in for Derby, but I'm wondering if your 
> error may have been caused by a small typo in your URL...
>>    private static final String derbyClientURL =
>>       "jdbc:derby://localhost:1527/jayDB:user=APP;password=APP;";
> Here you use colon (:) to separate the database name from the attribute 
> user=APP, but it should have been semicolon (;).
> Does it help changing "jayDB:user=" to "jayDB;user="?

A. Rick Anderson

View raw message