Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 77304 invoked from network); 27 Nov 2007 22:05:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Nov 2007 22:05:05 -0000 Received: (qmail 31687 invoked by uid 500); 27 Nov 2007 22:04:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 31651 invoked by uid 500); 27 Nov 2007 22:04:52 -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 31642 invoked by uid 99); 27 Nov 2007 22:04:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 14:04:52 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2007 22:04:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0ABF471420E for ; Tue, 27 Nov 2007 14:04:43 -0800 (PST) Message-ID: <7140655.1196201083030.JavaMail.jira@brutus> Date: Tue, 27 Nov 2007 14:04:43 -0800 (PST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3229) testSysinfoLocale fails with IBM JVM's In-Reply-To: <14594649.1196113603739.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3229?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel#action_12546020 ]=20 Knut Anders Hatlen commented on DERBY-3229: ------------------------------------------- Thanks Kathey, that made things much clearer. I think the crucial piece of = information is the Java classpath: c:/jartest/tools/java/junit.jar;c:/jarte= st/classes/derbytools.jar;c:/jartest/classes/derbyclient.jar;c:/jartest/cla= sses/derbynet.jar;c:/jartest/classes/derbyTesting.jar When I run the test with the same classpath on Sun JDK 6, I get the same er= rors. It seems like every time derbytools.jar is in front of all the other = jar files containing sysinfo, sysinfo's messages are not properly localized= . I think this is because the other jar files ensure (in their manifests) t= hat the derbyLocale*.jar files are on the classpath, whereas derbytools.jar= doesn't. This actually seems to be a general problem for all the tools: $ java -Dderby.ui.locale=3Dpt_BR -cp derbytools.jar org.apache.derby.tools.= ij ij version 10.4 ij> connect; IJ ERROR: Unable to establish connection $ java -Dderby.ui.locale=3Dpt_BR -jar derbyrun.jar ij vers=C3=A3o ij 10.4 ij> connect;=20 ERRO IJ: N=C3=A3o foi poss=C3=ADvel estabelecer connection > testSysinfoLocale fails with IBM JVM's > -------------------------------------- > > Key: DERBY-3229 > URL: https://issues.apache.org/jira/browse/DERBY-3229 > Project: Derby > Issue Type: Bug > Components: Regression Test Failure, Test > Affects Versions: 10.4.0.0 > Environment: IBM JDK 1.4.2 and IBM JDK 1.5 > Reporter: Kathey Marsden > Assignee: Knut Anders Hatlen > Attachments: d3229-1.diff > > > ) testSysinfoLocale(org.apache.derbyTesting.functionTests.tests.tools.Sys= infoLocaleTest)junit.framework.AssertionFailedError: expected: but w= as: > =09at org.apache.derbyTesting.functionTests.tests.tools.SysinfoLocaleTest= .testSysinfoLocale(SysinfoLocaleTest.java:209) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:85) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:58) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:60) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:95) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > 3) testSysinfoLocale(org.apache.derbyTesting.functionTests.tests.tools.Sy= sinfoLocaleTest)junit.framework.AssertionFailedError: expected: but = was: > =09at org.apache.derbyTesting.functionTests.tests.tools.SysinfoLocaleTest= .testSysinfoLocale(SysinfoLocaleTest.java:209) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:85) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:58) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:60) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:95) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > 4) testSysinfoLocale(org.apache.derbyTesting.functionTests.tests.tools.Sy= sinfoLocaleTest)junit.framework.AssertionFailedError: expected: but w= as: > =09at org.apache.derbyTesting.functionTests.tests.tools.SysinfoLocaleTest= .testSysinfoLocale(SysinfoLocaleTest.java:204) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:85) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:58) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:60) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:95) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > 5) testSysinfoLocale(org.apache.derbyTesting.functionTests.tests.tools.Sy= sinfoLocaleTest)junit.framework.AssertionFailedError: expected: but w= as: > =09at org.apache.derbyTesting.functionTests.tests.tools.SysinfoLocaleTest= .testSysinfoLocale(SysinfoLocaleTest.java:204) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:85) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:58) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:60) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:95) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > 6) testSysinfoLocale(org.apache.derbyTesting.functionTests.tests.tools.Sy= sinfoLocaleTest)junit.framework.AssertionFailedError: expected: but = was: > =09at org.apache.derbyTesting.functionTests.tests.tools.SysinfoLocaleTest= .testSysinfoLocale(SysinfoLocaleTest.java:209) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:85) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:58) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:60) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:95) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > 7) testSysinfoLocale(org.apache.derbyTesting.functionTests.tests.tools.Sy= sinfoLocaleTest)junit.framework.AssertionFailedError: expected: but w= as: > =09at org.apache.derbyTesting.functionTests.tests.tools.SysinfoLocaleTest= .testSysinfoLocale(SysinfoLocaleTest.java:204) > =09at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:85) > =09at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImp= l.java:58) > =09at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcc= essorImpl.java:60) > =09at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.jav= a:95) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) > =09at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > =09at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > =09at junit.extensions.TestSetup.run(TestSetup.java:23) --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.