db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carfield Yim" <carfi...@carfield.com.hk>
Subject Can I found out why the database is corrupted?
Date Sat, 04 Aug 2007 06:56:39 GMT
If I get the exception like following, and the file is exist as well
as the user have admin right, does that mean DB is corrupted? If it is
, possible to found out the reason?

>Caused by: SQL Exception: Failed to create database 'derbydb', see the next
>exce
>ption for details.
>        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
>        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.java)
>        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java)
>        at
>org.apache.derby.impl.jdbc.EmbedConnection.newSQLException(EmbedConne
>ction.java)
>        at
>org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnec
>tion.java)
>        at
>org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.jav
>a)
>        at
>org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20
>.java)
>        at
>org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30
>.java)
>        at
>org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
>        at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
>        at
>org.apache.commons.dbcp.DriverConnectionFactory.createConnection(Driv
>erConnectionFactory.java:37)
>        at
>org.apache.commons.dbcp.PoolableConnectionFactory.makeObject(Poolable
>ConnectionFactory.java:290)
>        at
>org.apache.commons.dbcp.BasicDataSource.validateConnectionFactory(Bas
>icDataSource.java:881)
>        at
>org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSou
>rce.java:855)
>        ... 35 more

Mime
View raw message