[
https://issues.apache.org/jira/browse/DERBY-5659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13230224#comment-13230224
]
Rick Hillegas commented on DERBY-5659:
--------------------------------------
Hi Ratish,
What would be interesting right now is the Derby error message log. Usually
that is called derby.log and it is written to the current directory of the
process which booted the VM. Thanks.
> Database corrupted after delete operation - results in sqlcode XSDB2
> --------------------------------------------------------------------
>
> Key: DERBY-5659
> URL: https://issues.apache.org/jira/browse/DERBY-5659
> Project: Derby
> Issue Type: Bug
> Components: Store
> Affects Versions: 10.6.1.0
> Environment: Windows 7 32 bit
> Reporter: ratish ram
> Priority: Critical
> Labels: corruption, xsdb2
> Attachments: log1.dat
>
>
> Derby Embedded Database became non-accessible after a delete operation.
> Trying to connect to the database now results in the following exception.
> Caused by: org.apache.derby.client.am.SqlException: DERBY SQL error: SQLCODE:
> -1, SQLSTATE: XJ040, SQLERRMC: Failed to start database 'XXXX' with class
> loader org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader@73983ad7, see
> the next exception for details.::SQLSTATE: XSDB2Unknown container format at
> container null : 1,702,392,933
> 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)
> ... 52 more
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira