Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 62688 invoked from network); 29 Jul 2006 00:49:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jul 2006 00:49:52 -0000 Received: (qmail 31329 invoked by uid 500); 29 Jul 2006 00:49:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 31301 invoked by uid 500); 29 Jul 2006 00:49:51 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 31292 invoked by uid 99); 29 Jul 2006 00:49:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 17:49:51 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 Jul 2006 17:49:50 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02A6241000A for ; Sat, 29 Jul 2006 00:47:15 +0000 (GMT) Message-ID: <23515394.1154134035008.JavaMail.jira@brutus> Date: Fri, 28 Jul 2006 17:47:15 -0700 (PDT) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1584) store/encryptionKey_jar.sql fails on Cygwin In-Reply-To: <25308873.1153808174191.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1584?page=comments#action_12424244 ] Rick Hillegas commented on DERBY-1584: -------------------------------------- I saw no errors when I ran store/encryptionKey_jar.sql against sane jar files under cygwin/jdk1.5 on a Toshiba laptop. I also saw no errors in the same environment against insane jar files. > store/encryptionKey_jar.sql fails on Cygwin > ------------------------------------------- > > Key: DERBY-1584 > URL: http://issues.apache.org/jira/browse/DERBY-1584 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure > Affects Versions: 10.2.0.0 > Environment: Cygwin, Sun JDK 1.5 > Reporter: Knut Anders Hatlen > Priority: Minor > Attachments: 424402.zip, sane.zip > > > http://www.multinet.no/~solberg/public/Apache/Derby/testlog/CYGWIN_NT-5.2_i686-unknown/424402-derbyall_diff.txt > ********* Diff file derbyall/encryptionAll/encryptionAll/encryptionKey_jar.diff > *** Start: encryptionKey_jar jdk1.5.0_04 encryptionAll:encryptionAll 2006-07-22 01:35:47 *** > 39,50d38 > < ij(DB1)> select * from t1 order by a; > < A > < ----------- > < 1 > < 2 > < 3 > < 4 > < 5 > < ij(DB1)> connect 'jdbc:derby:;shutdown=true'; > < ERROR XJ015: Derby system shutdown. > < ij(DB1)> -- NEGATIVE CASE: Test with wrong encryption key. This should fail. > < connect 'jdbc:derby:jar:(ina.jar)db1;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666760' AS DB1; > 52 del > < ERROR XBCXK: The given encryption key does not match the encryption key used when creating the database. Please ensure that you are using the correct encryption key and try again. > 53 del > < ij(DB1)> disconnect; > 53a40,50 > > ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.JarStorageFactory registered for identifier jar. > > ij> select * from t1 order by a; > > IJ ERROR: Unable to establish connection > > ij> connect 'jdbc:derby:;shutdown=true'; > > ERROR XJ015: Derby system shutdown. > > ij> -- NEGATIVE CASE: Test with wrong encryption key. This should fail. > > connect 'jdbc:derby:jar:(ina.jar)db1;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666760' AS DB1; > > ERROR XJ040: Failed to start database 'jar:(ina.jar)db1', see the next exception for details. > > ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.JarStorageFactory registered for identifier jar. > > ij> disconnect; > > IJ ERROR: Unable to establish connection > 58 del > < ij(DB1)> connect 'jdbc:derby:;shutdown=true'; > 58a55,57 > > ERROR XJ040: Failed to start database 'jar:(ina.jar)db1', see the next exception for details. > > ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.JarStorageFactory registered for identifier jar. > > ij> connect 'jdbc:derby:;shutdown=true'; > 60 del > < ij(DB1)> -- connect to database in jar file using classpath subprotocol. > 60a59 > > ij> -- connect to database in jar file using classpath subprotocol. > 64 del > < ij(DB1)> -- create a class loader for this current thread > 64a63 > > ij> -- create a class loader for this current thread > 76,87d74 > < ij(DB2CL)> select * from t1 order by a; > < A > < ----------- > < 1 > < 2 > < 3 > < 4 > < 5 > < ij(DB2CL)> connect 'jdbc:derby:;shutdown=true'; > < ERROR XJ015: Derby system shutdown. > < ij(DB2CL)> -- try with wrong encryption key, this should fail. > < connect 'jdbc:derby:classpath:db2;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666760' AS DB2CL; > 89 del > < ERROR XBCXK: The given encryption key does not match the encryption key used when creating the database. Please ensure that you are using the correct encryption key and try again. > 90 del > < ij(DB2CL)> exit; > 90 add > > ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.CPStorageFactory registered for identifier classpath. > > ij> select * from t1 order by a; > > IJ ERROR: Unable to establish connection > > ij> connect 'jdbc:derby:;shutdown=true'; > > ERROR XJ015: Derby system shutdown. > > ij> -- try with wrong encryption key, this should fail. > > connect 'jdbc:derby:classpath:db2;encryptionAlgorithm=DES/CBC/NoPadding;encryptionKey=6162636465666760' AS DB2CL; > > ERROR XJ040: Failed to start database 'classpath:db2', see the next exception for details. > > ERROR XBM0W: An exception was thrown while creating an instance of class class org.apache.derby.impl.io.CPStorageFactory registered for identifier classpath. > > ij> exit; > Test Failed. > *** End: encryptionKey_jar jdk1.5.0_04 encryptionAll:encryptionAll 2006-07-22 01:36:14 *** -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira