[jira] [Updated] (DERBY-5498) ClosedByInterruptException in AuthenticationTest

2013-08-01 Thread Kathey Marsden (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kathey Marsden updated DERBY-5498:
--

Assignee: Dag H. Wanvik  (was: Kathey Marsden)
  Labels: derby_backport_reject_10_8  (was: )

Assigning back to Dag and marking backport reject. Merge is not automatic 
because of other DirFile4 changes so did not make an effort to merge manually.  
If really needed I think it could be merged manually, but won't do that now.


> ClosedByInterruptException in AuthenticationTest
> 
>
> Key: DERBY-5498
> URL: https://issues.apache.org/jira/browse/DERBY-5498
> Project: Derby
>  Issue Type: Bug
>  Components: Store
>Affects Versions: 10.8.1.2, 10.8.2.2, 10.9.1.0
> Environment: Solaris 11, JDK 7u1
>Reporter: Knut Anders Hatlen
>Assignee: Dag H. Wanvik
>  Labels: derby_backport_reject_10_8
> Fix For: 10.9.1.0
>
> Attachments: d5498a-debug.diff, d5498a-debug.stat, d5498a.diff, 
> d5498a.diff, d5498b.diff, d5498b.stat
>
>
> AuthenticationTest failed with this error on trunk (intermittent error, 
> passed when I reran suites.All):
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, 
> SQLERRMC: Failed to start database 'singleUse/oneuse2c' with class loader 
> sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next exception for 
> details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable to Acquire 
> Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:99)
>   at 
> org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
>   at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:166)
>   at java.sql.DriverManager.getConnection(DriverManager.java:579)
>   at java.sql.DriverManager.getConnection(DriverManager.java:190)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:81)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
>   at 
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1574)
>   at 
> org.apache.derbyTesting.junit.BaseJDBCTestSetup.getConnection(BaseJDBCTestSetup.java:72)
>   at 
> org.apache.derbyTesting.junit.DatabasePropertyTestSetup.tearDown(DatabasePropertyTestSetup.java:280)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: 
> -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'singleUse/oneuse2c' 
> with class loader sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next 
> exception for details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable 
> to Acquire Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbe

[jira] [Updated] (DERBY-5498) ClosedByInterruptException in AuthenticationTest

2013-08-01 Thread Kathey Marsden (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kathey Marsden updated DERBY-5498:
--

Assignee: Kathey Marsden  (was: Dag H. Wanvik)

Assign to myself temporarily for backport.

> ClosedByInterruptException in AuthenticationTest
> 
>
> Key: DERBY-5498
> URL: https://issues.apache.org/jira/browse/DERBY-5498
> Project: Derby
>  Issue Type: Bug
>  Components: Store
>Affects Versions: 10.8.1.2, 10.8.2.2, 10.9.1.0
> Environment: Solaris 11, JDK 7u1
>Reporter: Knut Anders Hatlen
>Assignee: Kathey Marsden
> Fix For: 10.9.1.0
>
> Attachments: d5498a-debug.diff, d5498a-debug.stat, d5498a.diff, 
> d5498a.diff, d5498b.diff, d5498b.stat
>
>
> AuthenticationTest failed with this error on trunk (intermittent error, 
> passed when I reran suites.All):
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, 
> SQLERRMC: Failed to start database 'singleUse/oneuse2c' with class loader 
> sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next exception for 
> details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable to Acquire 
> Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:99)
>   at 
> org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
>   at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:166)
>   at java.sql.DriverManager.getConnection(DriverManager.java:579)
>   at java.sql.DriverManager.getConnection(DriverManager.java:190)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:81)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
>   at 
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1574)
>   at 
> org.apache.derbyTesting.junit.BaseJDBCTestSetup.getConnection(BaseJDBCTestSetup.java:72)
>   at 
> org.apache.derbyTesting.junit.DatabasePropertyTestSetup.tearDown(DatabasePropertyTestSetup.java:280)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: 
> -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'singleUse/oneuse2c' 
> with class loader sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next 
> exception for details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable 
> to Acquire Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2125)
>   at 
> org.apache.derby.client.net.NetConnecti

[jira] [Updated] (DERBY-5498) ClosedByInterruptException in AuthenticationTest

2011-11-10 Thread Dag H. Wanvik (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dag H. Wanvik updated DERBY-5498:
-

Attachment: d5498b.stat
d5498b.diff

Uploading version b addressing Knut's comments.

> ClosedByInterruptException in AuthenticationTest
> 
>
> Key: DERBY-5498
> URL: https://issues.apache.org/jira/browse/DERBY-5498
> Project: Derby
>  Issue Type: Bug
>  Components: Store
>Affects Versions: 10.8.1.2, 10.8.2.2, 10.9.0.0
> Environment: Solaris 11, JDK 7u1
>Reporter: Knut Anders Hatlen
>Assignee: Dag H. Wanvik
> Fix For: 10.9.0.0
>
> Attachments: d5498a-debug.diff, d5498a-debug.stat, d5498a.diff, 
> d5498a.diff, d5498b.diff, d5498b.stat
>
>
> AuthenticationTest failed with this error on trunk (intermittent error, 
> passed when I reran suites.All):
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, 
> SQLERRMC: Failed to start database 'singleUse/oneuse2c' with class loader 
> sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next exception for 
> details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable to Acquire 
> Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:99)
>   at 
> org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
>   at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:166)
>   at java.sql.DriverManager.getConnection(DriverManager.java:579)
>   at java.sql.DriverManager.getConnection(DriverManager.java:190)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:81)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
>   at 
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1574)
>   at 
> org.apache.derbyTesting.junit.BaseJDBCTestSetup.getConnection(BaseJDBCTestSetup.java:72)
>   at 
> org.apache.derbyTesting.junit.DatabasePropertyTestSetup.tearDown(DatabasePropertyTestSetup.java:280)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: 
> -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'singleUse/oneuse2c' 
> with class loader sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next 
> exception for details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable 
> to Acquire Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2125)
>   at 
> org.apache.derby.client.net.NetC

[jira] [Updated] (DERBY-5498) ClosedByInterruptException in AuthenticationTest

2011-11-09 Thread Dag H. Wanvik (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dag H. Wanvik updated DERBY-5498:
-

Attachment: d5498a-debug.stat
d5498a-debug.diff
d5498a.diff
d5498a.diff

Not sure where the interrupt comes from here. In any case, there is a small 
time-window inside DirFile4#getExclusiveFileLock where we use a NIO file 
channel and the code is not ready to handle interrupts. 

Enclosing a patch, d5498a, which plugs this hole by our usual approach when 
seeing interrupts: make a note, clear the thread's interrupt flag, and then 
retry the operation.

The companion patch which I also upload contains additional instrumentation 
code to provoke an interrupt of the thread just before we attempt to get the 
exclusive lock as a test of the new logic. See code bewteen "test code being" 
and "test code end". 

Running regressions.

> ClosedByInterruptException in AuthenticationTest
> 
>
> Key: DERBY-5498
> URL: https://issues.apache.org/jira/browse/DERBY-5498
> Project: Derby
>  Issue Type: Bug
>  Components: Store
>Affects Versions: 10.8.1.2, 10.8.2.2, 10.9.0.0
> Environment: Solaris 11, JDK 7u1
>Reporter: Knut Anders Hatlen
>Assignee: Dag H. Wanvik
> Fix For: 10.9.0.0
>
> Attachments: d5498a-debug.diff, d5498a-debug.stat, d5498a.diff, 
> d5498a.diff
>
>
> AuthenticationTest failed with this error on trunk (intermittent error, 
> passed when I reran suites.All):
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, 
> SQLERRMC: Failed to start database 'singleUse/oneuse2c' with class loader 
> sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next exception for 
> details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable to Acquire 
> Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:99)
>   at 
> org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
>   at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:166)
>   at java.sql.DriverManager.getConnection(DriverManager.java:579)
>   at java.sql.DriverManager.getConnection(DriverManager.java:190)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:81)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
>   at 
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1574)
>   at 
> org.apache.derbyTesting.junit.BaseJDBCTestSetup.getConnection(BaseJDBCTestSetup.java:72)
>   at 
> org.apache.derbyTesting.junit.DatabasePropertyTestSetup.tearDown(DatabasePropertyTestSetup.java:280)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL err

[jira] [Updated] (DERBY-5498) ClosedByInterruptException in AuthenticationTest

2011-11-09 Thread Dag H. Wanvik (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/DERBY-5498?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dag H. Wanvik updated DERBY-5498:
-

 Issue & fix info: Patch Available
Affects Version/s: 10.8.1.2
   10.8.2.2
Fix Version/s: 10.9.0.0

> ClosedByInterruptException in AuthenticationTest
> 
>
> Key: DERBY-5498
> URL: https://issues.apache.org/jira/browse/DERBY-5498
> Project: Derby
>  Issue Type: Bug
>  Components: Store
>Affects Versions: 10.8.1.2, 10.8.2.2, 10.9.0.0
> Environment: Solaris 11, JDK 7u1
>Reporter: Knut Anders Hatlen
>Assignee: Dag H. Wanvik
> Fix For: 10.9.0.0
>
> Attachments: d5498a-debug.diff, d5498a-debug.stat, d5498a.diff, 
> d5498a.diff
>
>
> AuthenticationTest failed with this error on trunk (intermittent error, 
> passed when I reran suites.All):
> java.sql.SQLException: DERBY SQL error: SQLCODE: -1, SQLSTATE: XJ040, 
> SQLERRMC: Failed to start database 'singleUse/oneuse2c' with class loader 
> sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next exception for 
> details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable to Acquire 
> Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:99)
>   at 
> org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
>   at org.apache.derby.jdbc.ClientDriver.connect(ClientDriver.java:166)
>   at java.sql.DriverManager.getConnection(DriverManager.java:579)
>   at java.sql.DriverManager.getConnection(DriverManager.java:190)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:81)
>   at 
> org.apache.derbyTesting.junit.DriverManagerConnector.openConnection(DriverManagerConnector.java:43)
>   at 
> org.apache.derbyTesting.junit.TestConfiguration.openDefaultConnection(TestConfiguration.java:1574)
>   at 
> org.apache.derbyTesting.junit.BaseJDBCTestSetup.getConnection(BaseJDBCTestSetup.java:72)
>   at 
> org.apache.derbyTesting.junit.DatabasePropertyTestSetup.tearDown(DatabasePropertyTestSetup.java:280)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:24)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>   at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
>   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:23)
>   at junit.extensions.TestSetup.run(TestSetup.java:27)
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE: 
> -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'singleUse/oneuse2c' 
> with class loader sun.misc.Launcher$AppClassLoader@1ff5ea7, see the next 
> exception for details.::SQLSTATE: XJ001Java exception: 'ASSERT FAILED Unable 
> to Acquire Exclusive Lock on 
> /export/home/hudsond/.hudson/jobs/Derby-JUnit/workspace/test/system/singleUse/oneuse2c/dbex.lck:
>  org.apache.derby.shared.common.sanity.AssertFailure'.::SQLSTATE: XJ001Java 
> exception: ': java.nio.channels.ClosedByInterruptException'.
>   at 
> org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2125)
>   at 
> org.apache.derby.client.net.NetConnectio