db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ole Solberg (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4461) 'testD151(...Derby151Test)java.sql.SQLException: Failed to start database' (and more ...) on Suse EE S 10 Linux/IBM 1.6.0, Fedora Core 5/Sun 1.6.0-b105, Win XP/Sun 1.6.0_10
Date Thu, 10 Dec 2009 13:47:18 GMT

    [ https://issues.apache.org/jira/browse/DERBY-4461?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788720#action_12788720
] 

Ole Solberg commented on DERBY-4461:
------------------------------------

I see a variant(?) of this in last nights regression tests with ":SQLSTATE: XJ001Java exception:
': java.nio.channels.ClosedByInterruptException'.". 

See e.g. 
http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/testlog/lin/888874-suitesAll_diff.txt
http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.5/testing/testlog/lin/888874-suitesAll_diff.txt
http://dbtg.foundry.sun.com/derby/test/trunk16/jvmAll/testing/testlog/JDK16Jvm1.6Linux-2.6.17-1.2174_FC5_i686-i686/888925-org.apache.derbyTesting.functionTests.suites.All_diff.txt
http://dbtg.foundry.sun.com/derby/test/trunk16/jvmAll/testing/testlog/JDK16Jvm1.6CYGWIN_NT-5.1_i686-unknown/888925-org.apache.derbyTesting.functionTests.suites.All_diff.txt

The signature is

1) testD151(org.apache.derbyTesting.functionTests.tests.store.Derby151Test)java.sql.SQLException:
DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'wombat',
see the next exception for details.::SQLSTATE: XJ001Java exception: ': java.nio.channels.ClosedByInterruptException'.
	at org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(Unknown Source)
	at org.apache.derby.client.am.SqlException.getSQLException(Unknown Source)
	at org.apache.derby.jdbc.ClientDriver.connect(Unknown Source)
	at java.sql.DriverManager.getConnection(DriverManager.java:620)
	at java.sql.DriverManager.getConnection(DriverManager.java:200)
	at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:76)
	at org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
	at org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1350)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.openDefaultConnection(BaseJDBCTestCase.java:421)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.getConnection(BaseJDBCTestCase.java:103)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.createStatement(BaseJDBCTestCase.java:135)
	at org.apache.derbyTesting.functionTests.tests.store.Derby151Test.tearDown(Derby151Test.java:101)
	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 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)
Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: -1, SQLSTATE:
XJ040, SQLERRMC: Failed to start database 'wombat', see the next exception for details.::SQLSTATE:
XJ001Java exception: ': java.nio.channels.ClosedByInterruptException'.
	at org.apache.derby.client.am.Connection.completeSqlca(Unknown Source)
	at org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(Unknown Source)
	at org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(Unknown Source)
	at org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(Unknown Source)
	at org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(Unknown Source)
	at org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(Unknown Source)
	at org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(Unknown Source)
	at org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(Unknown Source)
	at org.apache.derby.client.net.NetConnection.flowConnect(Unknown Source)
	at org.apache.derby.client.net.NetConnection.<init>(Unknown Source)
	at org.apache.derby.client.net.NetConnection40.<init>(Unknown Source)
	at org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(Unknown Source)
	... 43 more


> 'testD151(...Derby151Test)java.sql.SQLException: Failed to start database' (and more
...) on Suse EE S 10 Linux/IBM 1.6.0, Fedora Core 5/Sun 1.6.0-b105, Win XP/Sun 1.6.0_10
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4461
>                 URL: https://issues.apache.org/jira/browse/DERBY-4461
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.0.0
>         Environment: OS:
> Microsoft Windows XP Professional - 5.1.2600 Service Pack 3 Build 2600
> CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2008-06-12 19:34 Cygwin
> JVM:
> Sun Microsystems Inc.
> java version "1.6.0_10"
> Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
> Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)
> OS:
> Fedora Core release 5 (Bordeaux) 32bits
> Linux 2.6.17-1.2174_FC5 #1 Tue Aug 8 15:30:55 EDT 2006
> JVM:
> Sun Microsystems Inc.
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
> OS:
> SUSE Linux Enterprise Server 10 (i586) [Version 10 / Patchlevel 2] 32bits
> Linux 2.6.16.60-0.21-bigsmp #1 SMP Tue May 6 12:41:02 UTC 2008 GNU/Linux
> JVM:
> IBM Corporation
> JIT  - r9_20090518_2017
> GC   - 20090417_AA)
> JCL  - 20090529_01
>            Reporter: Ole Solberg
>            Assignee: Dag H. Wanvik
>             Fix For: 10.6.0.0
>
>         Attachments: derby-151-test-clear-interrupt.diff
>
>
> On e.g. SunOS 5.11 w/Sun 1.6.0-b105 and SunOS 5.10 w/Sun 1.6.0_15 I don't see the failure.
> See http://dbtg.foundry.sun.com/derby/test/trunk16/jvmAll/testing/Limited/testSummary-886880.html

> Could this be an "too old" os-problem?
> The failure occurs in a new test introduced in DERBY-151 / r886831.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message