Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 185A19300 for ; Wed, 15 Feb 2012 00:58:24 +0000 (UTC) Received: (qmail 82244 invoked by uid 500); 15 Feb 2012 00:58:23 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 82223 invoked by uid 500); 15 Feb 2012 00:58:23 -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 82216 invoked by uid 99); 15 Feb 2012 00:58:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 00:58:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 00:58:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AD3091B73DC for ; Wed, 15 Feb 2012 00:57:59 +0000 (UTC) Date: Wed, 15 Feb 2012 00:57:59 +0000 (UTC) From: "Myrna van Lunteren (Commented) (JIRA)" To: derby-dev@db.apache.org Message-ID: <1862803413.38827.1329267479710.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DERBY-4785) Remove JCC tests and references to JCC in test code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13208165#comment-13208165 ] Myrna van Lunteren commented on DERBY-4785: ------------------------------------------- Thank you Jayaram for this patch. There were still a few minor nits which I fixed up; a few references to failing with DB2Client, BlobClob4BlobTest had been modified since your last refresh and so I just redid that one, and I removed further references to JCC in the javadoc of a few tests, in particular, NSSecurityMechanismTest. Committed with revision 1244295. Is there more work to be done here? > Remove JCC tests and references to JCC in test code > --------------------------------------------------- > > Key: DERBY-4785 > URL: https://issues.apache.org/jira/browse/DERBY-4785 > Project: Derby > Issue Type: Sub-task > Components: Test > Affects Versions: 10.5.1.1, 10.6.1.0 > Reporter: Kathey Marsden > Assignee: Jayaram Subramanian > Priority: Minor > Attachments: Feb142012.diff, Feb142012.stat, JCCRemovalStat_Feb182011.txt, JCCRemoval_Feb182011.txt, JCCRemoval_Jan112011.txt, JCC_Removal_DONOTCOMMIT_Dec29.txt, Stat_JCCRemoval_Jan112011.txt, d4785-compat-1a.diff, diff-jan172012.diff, jccremoval_Jan27.txt, jccremoval_stats_Jan27.txt, stat-jan172012.stat, stat_Dec29_JCC.txt > > > I received a request to remove JCC testing from the derby suite. The user had a very old jcc version in their classpath 2.4 and 10.5 tests were failing with: > com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database '/results/axxon/58712/laka10a-derby-m101-20100830-003810/derbyall/derbynetmats/DerbyNet/derbynetmats/dblook_test_net_territory//wombat', see the next exception for details.::SQLSTATE: XJ001Java exception: 'Access denied (java.util.PropertyPermission com.ibm.crypto.provider.FIPSMODE read): java.security.AccessControlException'. > at com.ibm.db2.jcc.c.o.a(o.java:3219) > at com.ibm.db2.jcc.a.cb.q(cb.java:653) > at com.ibm.db2.jcc.a.cb.p(cb.java:541) > at com.ibm.db2.jcc.a.cb.l(cb.java:363) > at com.ibm.db2.jcc.a.cb.d(cb.java:145) > at com.ibm.db2.jcc.a.b.Sb(b.java:1274) > at com.ibm.db2.jcc.a.b.a(b.java:1166) > at com.ibm.db2.jcc.a.b.q(b.java:934) > at com.ibm.db2.jcc.a.b.a(b.java:702) > at com.ibm.db2.jcc.a.b.(b.java:305) > at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:162) > at java.sql.DriverManager.getConnection(DriverManager.java:322) > at java.sql.DriverManager.getConnection(DriverManager.java:273) > at org.apache.derby.tools.dblook.go(Unknown Source) > at org.apache.derby.tools.dblook.(Unknown Source) > at org.apache.derbyTesting.functionTests.tests.tools.dblook_test.lookThree(dblook_test.java:417) > at org.apache.derbyTesting.functionTests.tests.tools.dblook_test.runTest(dblook_test.java:283) > at org.apache.derbyTesting.functionTests.tests.derbynet.dblook_test_net_territory.doTest(dblook_test_net_territory.java:65) > at org.apache.derbyTesting.functionTests.tests.derbynet.dblook_test_net_territory.main(dblook_test_net_territory.java:41) > Now that I look at it more closely, their actual problem might be on the server side and JCC just reporting it but good to get the JCC tests out of the mix when people accidentally have it in their classpath anyway. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira