[ 
https://issues.apache.org/jira/browse/DERBY-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12974639#action_12974639
 ] 

Knut Anders Hatlen commented on DERBY-2687:
-------------------------------------------

The diff seen by Rick is identical to the one in John's comment from 24/May/07 
06:56 AM. (The URL has changed after that. Here's where it can be found now: 
http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.6/testing/testlog/sles/531991-encryptionAll_diff.txt
 )

The first discrepancy reported in those two runs, is a successful attempt to 
change the password using a wrong old password. From the out file in Rick's 
failed run:

ij> connect 'jdbc:derby:wombat;bootPassword=Wednesday';
ij> -- switch back to old password
call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('bootPassword', 'Wednesday, 
Thursday');

... The password is sucessfully changed to "Thursday" (as expected) ...

ij> -- change the secret key
-- these should fail
(...)
ij> call SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY('bootPassword', 'thursday , 
derbypwd');
0 rows inserted/updated/deleted

Here we're for some reason allowed to change the password from "thursday" to 
"derbypwd", even though the old password is "Thursday", not "thursday". This is 
where the diff starts.

> store/encryptDatabase.sql fails intermittently with ClassNotFoundException, 
> Log Corrupted
> -----------------------------------------------------------------------------------------
>
>                 Key: DERBY-2687
>                 URL: https://issues.apache.org/jira/browse/DERBY-2687
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.2.2.1, 10.3.1.4
>         Environment: Microsoft Windows XP Professional - 5.1.2600 Service 
> Pack 2, Sun JVM 1.4.2_08-b03, 10.2.2.1.
> SUSE Linux Enterprise Server 10 (x86_64) (Linux 2.6.16.21-0.8-smp), Sun JVM 
> 1.6.0_01-b06, trunk (SVN 531991).
> Solaris 10 x86, Sun JVM 1.5.0, SVN 371617 (2006-01-23).
> Solaris 9 SPARC, Sun JVM 1.5.0, SVN 169872 (2005-05-13).
> etc...
>            Reporter: John H. Embretsen
>         Attachments: derby.log, wombat.zip
>
>
> Failure seen in derbyall/encryptionAll run on WinXP (10.2.2.1). So far unable 
> to reproduce (standalone or as part of derbyall, encryptionAll or 
> encryptionBlowfish).
> <method>
> store/encryptDatabase.sql
> </method>
> <signature>
> Failure details:
> ********* Diff file 
> derbyall/encryptionAll/encryptionBlowfish/encryptDatabase.diff
> *** Start: encryptDatabase jdk1.4.2_08 encryptionAll:encryptionBlowfish 
> 2007-05-21 05:07:55 ***
> 95 del
> < ERROR XBM06: Startup failed. An encrypted database cannot be accessed 
> without the correct boot password.
> 95a95
> > ERROR XJ001: Java exception: 'ERROR XBM0U: No class was registered for 
> > identifier 15009.: java.lang.ClassNotFoundException'.
> Test Failed.
> *** End:   encryptDatabase jdk1.4.2_08 encryptionAll:encryptionBlowfish 
> 2007-05-21 05:08:12 ***
> </signature>
> derby.log also reports "ERROR XSLA3: Log Corrupted, has invalid data in the 
> log stream."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to