Re: Derby Eclipse Plugin for Encypted Database

2005-03-14 Thread Jeremy Boynes
Tami A Cannizzaro wrote:
Can you please remove my name from the mail list.. I have subscribed under 
a different email address.  thank you. 

You can do this by sending email to [EMAIL PROTECTED] 
from the address you are no longer using.

--
Jeremy


Re: Derby Eclipse Plugin for Encypted Database

2005-03-14 Thread Tami A Cannizzaro

Can you please remove my name from the
mail list.. I have subscribed under a different email address.  thank
you. 



Tami Cannizzaro  |  IBM Cloudscape Market Manager  | 914.766.1141
, t/l 826 |  [EMAIL PROTECTED]











Ruta Kadhe <[EMAIL PROTECTED]>

03/11/2005 07:51 AM



Please respond to
"Derby Discussion"





To
[email protected]


cc



Subject
Derby Eclipse Plugin for
Encypted Database








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



Re: Derby Eclipse Plugin for Encypted Database

2005-03-12 Thread Ruta Kadhe
Hi,
Thanks a lot for the response.
I would like to clarify my doubt. 
I used password having more than 8 characters for bootPassword. I
posted a short-form of the password in my previous email 
Through ij tool, I was able to establish connection to existing database.

But I cannot find the way in which I can specify dataEncryption=true
and bootPassword=somePassword in connection URL while creating new
Connection to existing Database  through the Eclipse Plugin.
The Connection URL appears as Readonly.

If I dont create Databasse with dataEncryption=true, I can create
connection to existing database through the plugin.
Can you please suggest some way?

Thanks,
Ruta

On Fri, 11 Mar 2005 09:23:05 -0800 (PST), Susan Cline
<[EMAIL PROTECTED]> wrote:
> 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
> d=password';
>  
> 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:
>  
> jdbc:derby:encryptDB;dataEncryption=true;bootPassword=password;create=true
>  
> For questions like these a good resource is the Cloudscape Eclipse Tools
> forum at:
>  
> http://www-128.ibm.com/developerworks/forums/dw_forum.jsp?forum=382
>  
> Regards,
>  
> Susan
> 
> Ruta Kadhe <[EMAIL PROTECTED]> wrote:
> Hi,
> 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
> C:\derby_home\databaseName',
> see the next exception for details. "
> Thanks,
> Ruta
> 
> 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
> >
>


Re: Derby Eclipse Plugin for Encypted Database

2005-03-11 Thread Susan Cline
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 for 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;bootPassword=password';
 
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:
 
jdbc:derby:encryptDB;dataEncryption=true;bootPassword=password;create=true
 
For questions like these a good resource is the Cloudscape Eclipse Tools forum at:
 
http://www-128.ibm.com/developerworks/forums/dw_forum.jsp?forum=382
 
Regards,
 
SusanRuta Kadhe <[EMAIL PROTECTED]> wrote:
Hi,Further to my query I would like to add the Exception which I get:" Connection to C:\derby_home\mytestDB failed. IWAS0126E Problemsencountered while trying to establishconnection Cloudscape_Embedded. Reason: 'Failed to start databaseC:\derby_home\databaseName',see the next exception for details. "Thanks,RutaOn Fri, 11 Mar 2005 18:21:10 +0530, Ruta Kadhe <[EMAIL PROTECTED]>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>

Re: Derby Eclipse Plugin for Encypted Database

2005-03-11 Thread Sunitha Kambhampati
Ruta Kadhe wrote:
Hi,
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
C:\derby_home\databaseName',
see the next exception for details. "
Thanks,
Ruta
On Fri, 11 Mar 2005 18:21:10 +0530, Ruta Kadhe <[EMAIL PROTECTED]> 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
   

Can you check to see
- if your boot password is  atleast 8 bytes long.
- if  the derby.log has any exceptions/error messages. 
- Derby uses JCE for encryption, can you check if you have the  
encryption provider  (jce) jars in the classpath.
btw,  which jvm are you using

I havent tried it out in eclipse, but  testing  the above url in ij , 
this is the error message I get:
ij> connect 
'jdbc:derby:databaseName;create=true;dataEncryption=true;bootPassword=somePWD';
ERROR XJ041: Failed to create database 'databaseName', see the next 
exception for details.
ERROR XBM07: Startup failed, boot password must be at least 8 bytes long.

Example - Changing the password to  somePWD1 works ok.
ij> connect 
'jdbc:derby:databaseName;create=true;dataEncryption=true;bootPassword=somePWD1';  

Hope this helps,
Sunitha.
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
   

 




Re: Derby Eclipse Plugin for Encypted Database

2005-03-11 Thread Ruta Kadhe
Hi,
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
C:\derby_home\databaseName',
see the next exception for details. "
Thanks,
Ruta

On Fri, 11 Mar 2005 18:21:10 +0530, Ruta Kadhe <[EMAIL PROTECTED]> 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
>


Derby Eclipse Plugin for Encypted Database

2005-03-11 Thread Ruta Kadhe
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