Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 57758 invoked from network); 25 Jul 2006 06:18:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2006 06:18:34 -0000 Received: (qmail 33547 invoked by uid 500); 25 Jul 2006 06:18:34 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 33323 invoked by uid 500); 25 Jul 2006 06:18:34 -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 33314 invoked by uid 99); 25 Jul 2006 06:18:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 23:18:34 -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; Mon, 24 Jul 2006 23:18:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 330D67141E8 for ; Tue, 25 Jul 2006 06:16:14 +0000 (GMT) Message-ID: <25308873.1153808174191.JavaMail.jira@brutus> Date: Mon, 24 Jul 2006 23:16:14 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Created: (DERBY-1584) store/encryptionKey_jar.sql fails on Cygwin 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 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 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