Hi.
I am absolutely no expert with derby, but I'm going out on a limb here:
Could it be the "No space left on device" message?
Is the device,
/mnt/rw-ti/rw/DerbyDatabase/TICYCLESMFR/log/ resides on full?

/Morten

On Sat, Jan 29, 2011 at 4:51 PM, Sakthivel.P <p.stivel@gmail.com> wrote:
Hi,

I'm new to derby, when I start writing data into db i'm getting the follwoing exception from derby.log
can any one help me to fix it.

thanks

------------  BEGIN SHUTDOWN ERROR STACK -------------

ERROR XSLA0: Cannot flush the log file to disk /mnt/rw-ti/rw/DerbyDatabase/TICYCLESMFR/log/log1460.dat.
    at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
    at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
    at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
    at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown Source)
    at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown Source)
    at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)
    at org.apache.derby.impl.drda.Database.commit(Unknown Source)
    at org.apache.derby.impl.drda.DRDAConnThread.processCommands(Unknown Source)
    at org.apache.derby.impl.drda.DRDAConnThread.run(Unknown Source)
Caused by: java.io.IOException: No space left on device
    at java.io.RandomAccessFile.writeBytes(Native Method)
    at java.io.RandomAccessFile.write(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogAccessFile.writeToLog(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogAccessFile.flushDirtyBuffers(Unknown Source)
    ... 14 more
============= begin nested exception, level (1) ===========
java.io.IOException: No space left on device
    at java.io.RandomAccessFile.writeBytes(Native Method)
    at java.io.RandomAccessFile.write(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogAccessFile.writeToLog(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogAccessFile.flushDirtyBuffers(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
    at org.apache.derby.impl.store.raw.log.LogToFile.flush(Unknown Source)
    at org.apache.derby.impl.store.raw.log.FileLogger.flush(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.Xact.prepareCommit(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.Xact.commit(Unknown Source)
    at org.apache.derby.impl.store.access.RAMTransaction.commit(Unknown Source)
    at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.doCommit(Unknown Source)
    at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.userCommit(Unknown Source)
    at org.apache.derby.impl.jdbc.TransactionResourceImpl.commit(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedConnection.commit(Unknown Source)
    at org.apache.derby.impl.drda.Database.commit(Unknown Source)






--
/Morten