Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 3311 invoked from network); 15 Dec 2010 07:42:40 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 15 Dec 2010 07:42:40 -0000 Received: (qmail 84077 invoked by uid 500); 15 Dec 2010 07:42:40 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 83954 invoked by uid 500); 15 Dec 2010 07:42:40 -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 83944 invoked by uid 99); 15 Dec 2010 07:42:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 07:42:39 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [32.97.110.150] (HELO e32.co.us.ibm.com) (32.97.110.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Dec 2010 07:42:30 +0000 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e32.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id oBF7WVlG006085 for ; Wed, 15 Dec 2010 00:32:31 -0700 Received: from d03av06.boulder.ibm.com (d03av06.boulder.ibm.com [9.17.195.245]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id oBF7g7qG132832 for ; Wed, 15 Dec 2010 00:42:07 -0700 Received: from d03av06.boulder.ibm.com (loopback [127.0.0.1]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id oBF7kM6w024078 for ; Wed, 15 Dec 2010 00:46:22 -0700 Received: from [127.0.0.1] (sig-9-48-115-33.mts.ibm.com [9.48.115.33]) by d03av06.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id oBF7kJYG024018; Wed, 15 Dec 2010 00:46:21 -0700 Message-ID: <4D08714B.7040001@sbcglobal.net> Date: Tue, 14 Dec 2010 23:42:03 -0800 From: Kathey Marsden User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: derby-dev@db.apache.org CC: "Dag H. Wanvik" Subject: Re: Mixed client sever and upgrade and compatibility testing with Junit Tests References: <4D068AE8.8090506@sbcglobal.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 12/14/2010 7:59 AM, Dag H. Wanvik wrote: > Kathey Marsden writes: > >> Soft upgrade testing: Create database system/wombat with the old >> version. Then using the old derbyTesting.jar and new product jars, >> run suites.All. > I did this and saw two kinds of errors. The first is the BOOLEAN type upgrade > requirement, expected, so OK. > > The second error I see is this (I ran with lib-debug). Not sure if this > is expected or not? > Hi Dag, Thank you for pursuing this testing. I have always run with insane jars and could understand problems related to duplicate classes in the sane jars from different releases because of the shared sanity classes, but since for this particulary test, all the product jars are from the same release and derbyTesting.jar doesn't have the sanity classes , I am perplexed why you get the error. It would be interesting to understand why it happens, but it would be equally fine to rerun with insane jars where these classes are not involved. Kathey > Dagd > > 74) testBootingAnAlreadyBootedDatabase(org.apache.derbyTesting.functionTests.tests.store.ClassLoaderBootTest)java.lang.ExceptionInInitializerError > at org.apache.derby.jdbc.EmbeddedDataSource.findDriver(EmbeddedDataSource.java:500) > at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java:479) > at org.apache.derby.jdbc.EmbeddedDataSource.getConnection(EmbeddedDataSource.java:423) > at org.apache.derbyTesting.functionTests.tests.store.ClassLoaderBootTest.testBootingAnAlreadyBootedDatabase(ClassLoaderBootTest.java:178) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:109) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24) > at junit.extensions.TestSetup$1.protect(TestSetup.java:21) > at junit.extensions.TestSetup.run(TestSetup.java:25) > Caused by: java.lang.SecurityException: sealing violation: package org.apache.derby.iapi.services.sanity is sealed > at java.net.URLClassLoader.defineClass(URLClassLoader.java:227) > at java.net.URLClassLoader.access$000(URLClassLoader.java:56) > at java.net.URLClassLoader$1.run(URLClassLoader.java:195) > at java.security.AccessController.doPrivileged(Native Method) > at java.net.URLClassLoader.findClass(URLClassLoader.java:188) > at org.apache.derbyTesting.functionTests.tests.store.ClassLoaderBootTest$DerbyURLClassLoader.loadClass(ClassLoaderBootTest.java:293) > at org.apache.derbyTesting.functionTests.tests.store.ClassLoaderBootTest$DerbyURLClassLoader.loadClass(ClassLoaderBootTest.java:303) > at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) > at org.apache.derby.iapi.services.monitor.Monitor.startSystemModule(Monitor.java:369) > at org.apache.derby.impl.services.monitor.BaseMonitor.runWithState(BaseMonitor.java:344) > at org.apache.derby.impl.services.monitor.FileMonitor.(FileMonitor.java:60) > at org.apache.derby.iapi.services.monitor.Monitor.startMonitor(Monitor.java:289) > at org.apache.derby.iapi.jdbc.JDBCBoot.boot(JDBCBoot.java:69) > at org.apache.derby.jdbc.EmbeddedDriver.boot(EmbeddedDriver.java:199) > at org.apache.derby.jdbc.EmbeddedDriver.(EmbeddedDriver.java:96) > ... 39 more > >