Mamta A. Satoor created DERBY-6405:
--------------------------------------
Summary: PoolXADSCreateShutdownDBTest.testXADS failure on 10.10 on
Windows machine
Key: DERBY-6405
URL: https://issues.apache.org/jira/browse/DERBY-6405
Project: Derby
Issue Type: Bug
Components: Test
Affects Versions: 10.10.1.3
Reporter: Mamta A. Satoor
http://download.java.net/javadesktop/derby/request_5582873/javadb-task-3742645.html
The stack trace is as follows
java.sql.SQLNonTransientConnectionException: DERBY SQL error: ERRORCODE:
40000, SQLSTATE: XJ041, SQLERRMC: Failed to create database
'srvdscreateshutdowndb1', see the next exception for details.::SQLSTATE: XBM0A
at
org.apache.derby.client.am.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:104)
at
org.apache.derby.client.am.SqlException.getSQLException(SqlException.java:364)
at
org.apache.derby.client.ClientPooledConnection.<init>(ClientPooledConnection.java:168)
at
org.apache.derby.client.ClientXAConnection.<init>(ClientXAConnection.java:49)
at
org.apache.derby.client.ClientXAConnection40.<init>(ClientXAConnection40.java:56)
at
org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newClientXAConnection(ClientJDBCObjectFactoryImpl40.java:88)
at
org.apache.derby.jdbc.ClientBaseDataSourceRoot.getXAConnectionX(ClientBaseDataSourceRoot.java:1453)
at
org.apache.derby.jdbc.ClientBaseDataSourceRoot.getXAConnectionMinion(ClientBaseDataSourceRoot.java:1414)
at
org.apache.derby.jdbc.ClientXADataSource.getXAConnection(ClientXADataSource.java:63)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.PoolXADSCreateShutdownDBTest.assertUpdateCount(PoolXADSCreateShutdownDBTest.java:488)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.PoolXADSCreateShutdownDBTest.assertPositive(PoolXADSCreateShutdownDBTest.java:386)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.PoolXADSCreateShutdownDBTest.doCreateAndShutdown(PoolXADSCreateShutdownDBTest.java:202)
at
org.apache.derbyTesting.functionTests.tests.jdbcapi.PoolXADSCreateShutdownDBTest.testXADS(PoolXADSCreateShutdownDBTest.java:156)
at
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
at
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
at
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
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)
at
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: ERRORCODE:
40000, SQLSTATE: XJ041, SQLERRMC: Failed to create database
'srvdscreateshutdowndb1', see the next exception for details.::SQLSTATE: XBM0A
at
org.apache.derby.client.am.Connection.completeSqlca(Connection.java:2184)
at
org.apache.derby.client.net.NetConnectionReply.parseRdbAccessFailed(NetConnectionReply.java:497)
at
org.apache.derby.client.net.NetConnectionReply.parseAccessRdbError(NetConnectionReply.java:390)
at
org.apache.derby.client.net.NetConnectionReply.parseACCRDBreply(NetConnectionReply.java:253)
at
org.apache.derby.client.net.NetConnectionReply.readAccessDatabase(NetConnectionReply.java:80)
at
org.apache.derby.client.net.NetConnection.readSecurityCheckAndAccessRdb(NetConnection.java:849)
at
org.apache.derby.client.net.NetConnection.flowSecurityCheckAndAccessRdb(NetConnection.java:785)
at
org.apache.derby.client.net.NetConnection.flowUSRIDPWDconnect(NetConnection.java:614)
at
org.apache.derby.client.net.NetConnection.flowConnect(NetConnection.java:409)
at
org.apache.derby.client.net.NetConnection.initialize(NetConnection.java:308)
at
org.apache.derby.client.net.NetConnection.<init>(NetConnection.java:292)
at
org.apache.derby.client.net.NetConnection40.<init>(NetConnection40.java:122)
at
org.apache.derby.client.net.ClientJDBCObjectFactoryImpl40.newNetConnection(ClientJDBCObjectFactoryImpl40.java:310)
at
org.apache.derby.client.net.NetXAConnection.createNetConnection(NetXAConnection.java:273)
at
org.apache.derby.client.net.NetXAConnection.<init>(NetXAConnection.java:75)
at
org.apache.derby.client.ClientPooledConnection.getNetXAConnection(ClientPooledConnection.java:473)
at
org.apache.derby.client.ClientPooledConnection.<init>(ClientPooledConnection.java:162)
--
This message was sent by Atlassian JIRA
(v6.1#6144)