[ http://issues.apache.org/jira/browse/DERBY-1584?page=all ]

Sunitha Kambhampati updated DERBY-1584:
---------------------------------------

    Summary: store/encryptionKey_jar.sql and lang/dcl.sql fails on Cygwin  
(was: store/encryptionKey_jar.sql fails on Cygwin)

Updating the summary. The error seen in this failure is similar to the error 
seen in lang/dcl.sql.  Both these tests seem to so far fail only on Ole's test 
machines/cygwin/jdk15. 

> store/encryptionKey_jar.sql and lang/dcl.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
>             Fix For: 10.2.0.0
>
>         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

        

Reply via email to