db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Susan Cline <home4...@yahoo.com>
Subject Re: Derby Eclipse Plugin for Encypted Database
Date Fri, 11 Mar 2005 17:23:05 GMT
Hi Ruta,
Sometimes debugging connection string problems in Eclipse can be a little bit tricky.
I use ij to help in situations like this where you can't see all of the exceptions from Eclipse.
I took your connection string and ran it in ij:
ij> connect 'jdbc:derby:databaseName;create=true;dataEncryption=true;bootPassword=somePwd';
ERROR XJ041: Failed to create database 'databaseName', see the next exception fo
r details.
ERROR XBM07: Startup failed, boot password must be at least 8 bytes long.
Then I tried it with another longer password and was successful:
ij> connect 'jdbc:derby:databaseName;create=true;dataEncryption=true;bootPasswor
I tried this from the DB2 Plug-ins for Eclipse and was successful.
The Connection URL text field in the New Database Connection wizard window looked
like this:
For questions like these a good resource is the Cloudscape Eclipse Tools forum at:

Ruta Kadhe <ruta.kadhe@gmail.com> wrote:
Further to my query I would like to add the Exception which I get:
" Connection to C:\derby_home\mytestDB failed. IWAS0126E Problems
encountered while trying to establish
connection Cloudscape_Embedded. Reason: 'Failed to start database
see the next exception for details. "

On Fri, 11 Mar 2005 18:21:10 +0530, Ruta Kadhe wrote:
> Hi,
> I have created Derby Database in Embedded mode. While creating
> Database I have used following as connection URL:
> jdbc:derby:databaseName;create=true;dataEncryption=true;bootPassword=somePWD
> When I use "dataEncryption=true;bootPassword=somePWD", I am not able
> to create a New Database Connection through the Database Explorer of
> the Eclipse Plugin.
> When I remove the "dataEncryption=true;bootPassword=somePWD", I am
> able to create Connection.
> Please can someone give a solution for this?
> Thanks
> Ruta

View raw message