From derby-dev-return-8884-apmail-db-derby-dev-archive=db.apache.org@db.apache.org Tue Oct 04 18:00:36 2005 Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 51085 invoked from network); 4 Oct 2005 18:00:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Oct 2005 18:00:36 -0000 Received: (qmail 23061 invoked by uid 500); 4 Oct 2005 18:00:35 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 22825 invoked by uid 500); 4 Oct 2005 18:00: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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 22814 invoked by uid 99); 4 Oct 2005 18:00:34 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Oct 2005 11:00:34 -0700 X-ASF-Spam-Status: No, hits=2.1 required=10.0 tests=HTML_20_30,HTML_MESSAGE,HTML_TITLE_EMPTY,MIME_HTML_ONLY,SPF_HELO_FAIL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.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; Tue, 04 Oct 2005 11:00:37 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e32.co.us.ibm.com (8.12.11/8.12.11) with ESMTP id j94HxGU8029025 for ; Tue, 4 Oct 2005 13:59:16 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j94I079W506596 for ; Tue, 4 Oct 2005 12:00:11 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j94I07rR004318 for ; Tue, 4 Oct 2005 12:00:07 -0600 Received: from [127.0.0.1] (bandaram.svl.ibm.com [9.30.40.208]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j94I027U004042 for ; Tue, 4 Oct 2005 12:00:06 -0600 Message-ID: <4342C222.4010409@Sourcery.Org> Date: Tue, 04 Oct 2005 10:55:46 -0700 From: Satheesh Bandaram User-Agent: Mozilla Thunderbird 0.7.3 (Windows/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derby Development Subject: Re: [jira] Reopened: (DERBY-459) lang/errorStream.java fails intermittently on Windows 2003 server References: <93159757.1121280009890.JavaMail.jira@ajax.apache.org> <1195537572.1126163971227.JavaMail.jira@ajax.apache.org> <17218.34750.797919.424102@gargle.gargle.HOWL> In-Reply-To: <17218.34750.797919.424102@gargle.gargle.HOWL> X-Enigmail-Version: 0.85.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/html; charset=us-ascii 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 This has been committed, actually.

Satheesh

-----------------------------------------------------------------------------------------------
r219265 | djd | 2005-07-15 16:57:07 -0700 (Fri, 15 Jul 2005) | 4 lines

DERBY-459 - Close error stream to make lang/errorStream test consistent.

Contributed by  Dag H. Wanvik dag.wanvik@sun.com

Dag H. Wanvik wrote:
Hi,
this one has been waiting for a committer for some time. Can somebody
fix this?

Dag


  
"Dag" == Dag H Wanvik (JIRA) <derby-dev@db.apache.org> wrote:
            
Dag> 
Dag>      [ http://issues.apache.org/jira/browse/DERBY-459?page=all ]
Dag> Dag H. Wanvik reopened DERBY-459:
Dag> ---------------------------------
Dag> 
Dag> 
Dag> Back-port patch to the 10.1 branch
Dag> 
Dag> > lang/errorStream.java fails intermittently on Windows 2003 server
Dag> > -----------------------------------------------------------------
Dag> >
Dag> >          Key: DERBY-459
Dag> >          URL: http://issues.apache.org/jira/browse/DERBY-459
Dag> >      Project: Derby
Dag> >         Type: Bug
Dag> >   Components: Test
Dag> >     Versions: 10.2.0.0, 10.1.2.0
Dag> >  Environment: Windows 2003 server, J2SE 1.4.2
Dag> >     Reporter: Dag H. Wanvik
Dag> >     Assignee: Dag H. Wanvik
Dag> >     Priority: Minor
Dag> >      Fix For: 10.2.0.0
Dag> >  Attachments: 459.diff, 459.stat
Dag> >
Dag> > Philips spotted this problem on a Windows 2003 server:
Dag> > (mail quote):
Dag> > I ran derbyall on a new machine and the lang/errorStream.java test 
Dag> > fails. I've run the same test successfully on 3 other machines and the 
Dag> > only discernable difference I am able to come up with is the operating 
Dag> > system (XP vs Windows 2003 Server on the failing machine). Also the 
Dag> > error in question seems to suggest that the problem is with an empty log 
Dag> > file, I've also attached a copy of that non empty log file. At this 
Dag> > point I'm open to suggestions.
Dag> > Philip
Dag> > ------------------ Java Information ------------------
Dag> > Java Version:    1.4.2_08
Dag> > Java Vendor:     Sun Microsystems Inc.
Dag> > Java home:       c:\j2sdk1.4.2_08\jre
Dag> > Java classpath:  .;c:\derby\derbyMain\classes;c:\derby\db2jcc.jar;c:\derby\db2jcc_license_c.jar;C:\derby\derbyMain\tools\java\jakarta-oro-2.0.8.jar;C:\derby\derbyMain\tools\java\geronimo-spec-servlet-2.4-rc4.jar;C:\j2sdk1.4.2_08\lib\tools.jar;.;C:\j2sdk1.4.2_08\lib;C:\IBM\SQLLIB\java\db2java.zip;C:\IBM\SQLLIB\java\db2jcc.jar;C:\IBM\SQLLIB\java\sqlj.zip;C:\IBM\SQLLIB\bin;C:\IBM\SQLLIB\java\common.jar
Dag> > OS name:         Windows 2003
Dag> > OS architecture: x86
Dag> > OS version:      5.2
Dag> > Java user name:  db2admin
Dag> > Java user home:  C:\Documents and Settings\db2admin
Dag> > Java user dir:   C:\Derby\derbyMain\singleTest
Dag> > java.specification.name: Java Platform API Specification
Dag> > java.specification.version: 1.4
Dag> > --------- Derby Information --------
Dag> > JRE - JDBC: J2SE 1.4.2 - JDBC 3.0
Dag> > [C:\Derby\derbyMain\classes] 10.2.0.0 alpha - (1)
Dag> > [C:\Derby\db2jcc.jar] 2.4 - (17)
Dag> > [C:\Derby\db2jcc_license_c.jar] 2.4 - (17)
Dag> > [C:\IBM\SQLLIB\java\db2jcc.jar] 2.4 - (17)
Dag> > ------------------------------------------------------
Dag> > ----------------- Locale Information -----------------
Dag> > Current Locale :  [English/United States [en_US]]
Dag> > Found support for locale: [de_DE]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [es]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [fr]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [it]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [ja_JP]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [ko_KR]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [pt_BR]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [zh_CN]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > Found support for locale: [zh_TW]
Dag> > 	 version: 10.2.0.0 alpha - (1)
Dag> > ------------------------------------------------------
Dag> > Framework: embedded
Dag> > *** Start: errorStream jdk1.4.2_08 2005-07-13 11:24:44 ***
Dag> > 4 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 5 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 6 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 7 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 8 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 9 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 10 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 11 del
Dag> > < shutdown ok: XJ015:Derby system shutdown.
Dag> > 12 del
Dag> > < Test errorStream finished successfully
Dag> > 12 add
Dag> > > Test errorStream failed: assertNonEmpty failed:C:\Derby\derbyMain\singleTest\errorStream\VombatusUrsinusHirsutus-err-2.log
Dag> > > org.apache.derbyTesting.functionTests.tests.lang.AssertException: assertNonEmpty failed:C:\Derby\derbyMain\singleTest\errorStream\VombatusUrsinusHirsutus-err-2.log
Dag> > Test Failed.
Dag> > *** End:   errorStream jdk1.4.2_08 2005-07-13 11:24:48 ***
Dag> > 2005-07-13 14:24:46.671 GMT Thread[main,5,main] java.io.FileNotFoundException: C:\Derby\derbyMain\singleTest\errorStreamfoo\VombatusUrsinusHirsutus-file-2.log (The system cannot find the path specified)
Dag> > ----------------------------------------------------------------
Dag> > 2005-07-13 14:24:46.687 GMT:
Dag> >  Booting Derby version The Apache Software Foundation - Apache Derby - 10.2.0.0 alpha - (1): instance c013800d-0105-1095-564f-00004167747a
Dag> > on database directory C:\Derby\derbyMain\singleTest\errorStream\VombatusUrsinusHirsutus-2 
Dag> > Database Class Loader started - derby.database.classpath=''
Dag> > 2005-07-13 14:24:47.468 GMT:
Dag> > Shutting down instance c013800d-0105-1095-564f-00004167747a
Dag> > ----------------------------------------------------------------
Dag> 
Dag> -- 
Dag> This message is automatically generated by JIRA.
Dag> -
Dag> If you think it was sent incorrectly contact one of the administrators:
Dag>    http://issues.apache.org/jira/secure/Administrators.jspa
Dag> -
Dag> For more information on JIRA, see:
Dag>    http://www.atlassian.com/software/jira
Dag>