Erro: Log corrompido, há dados inválidos no fluxo de log Derby DB

3 respostas
M

Pessoal,
Estou tendo um problema no Derby que as vezes corrompe os arquivos da pasta log do banco de dados,
dei uma pesquisada e esta pasta armazena logs das transações.
Caso eu remova esses Logs, o sistema volta a conectar normalmente no banco de dados mas eu perco as últimas transações efetuadas.
Existe alguma forma de contornar esse problema?
Ou de desabilitar o Log de transações?

Obrigado.

Segue a exceção lançada:

2011-03-05 15:38:11.644 GMT Thread[main,5,main] Cleanup action starting java.sql.SQLException: Falha ao iniciar o banco de dados '/home/RB/LinuBox/bdjuke/bdjuke', consulte a próxima exceção para obter detalhes. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.class:0) at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Util.class:0) at org.apache.derby.impl.jdbc.Util.seeNextException(Util.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.class:0) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(EmbedConnection40.class:0) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.class:0) at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.class:0) at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.class:0) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.class:0) at classes.Conecta.getConnection(Conecta.java:26) at dao.DaoGeral.getVersao(DaoGeral.java:97) at jukebox.Main.main(Main.java:52) Caused by: java.sql.SQLException: Falha ao iniciar o banco de dados '/home/RB/LinuBox/bdjuke/bdjuke', consulte a próxima exceção para obter detalhes. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.class:0) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.class:0) ... 15 more Caused by: java.sql.SQLException: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.class:0) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.class:0) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.class:0) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.class:0) ... 12 more Caused by: ERROR XSLA3: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.class:0) at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.class:0) at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.class:0) at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.class:0) at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.class:0) ... 12 more Caused by: java.lang.ClassNotFoundException: ERROR XBM0U: Não foi registrada nenhuma classe para o identificador 28231. at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject(FormatIdInputStream.class:0) at org.apache.derby.iapi.services.io.ArrayInputStream.readObject(ArrayInputStream.class:0) at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.class:0) ... 34 more ============= begin nested exception, level (1) =========== java.sql.SQLException: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.class:0) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.class:0) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(EmbedConnection40.class:0) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.class:0) at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.class:0) at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.class:0) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.class:0) at classes.Conecta.getConnection(Conecta.java:26) at dao.DaoGeral.getVersao(DaoGeral.java:97) at jukebox.Main.main(Main.java:52) Caused by: java.sql.SQLException: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.class:0) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.class:0) ... 14 more Caused by: ERROR XSLA3: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.class:0) at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.class:0) at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.class:0) at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.class:0) at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.class:0) ... 12 more Caused by: java.lang.ClassNotFoundException: ERROR XBM0U: Não foi registrada nenhuma classe para o identificador 28231. at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject(FormatIdInputStream.class:0) at org.apache.derby.iapi.services.io.ArrayInputStream.readObject(ArrayInputStream.class:0) at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.class:0) ... 34 more ============= end nested exception, level (1) =========== ============= begin nested exception, level (2) =========== java.sql.SQLException: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.class:0) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.class:0) at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.class:0) at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.class:0) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(EmbedConnection40.class:0) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.class:0) at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.class:0) at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.class:0) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.class:0) at classes.Conecta.getConnection(Conecta.java:26) at dao.DaoGeral.getVersao(DaoGeral.java:97) at jukebox.Main.main(Main.java:52) Caused by: ERROR XSLA3: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.class:0) at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.class:0) at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.class:0) at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.class:0) at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.class:0) ... 12 more Caused by: java.lang.ClassNotFoundException: ERROR XBM0U: Não foi registrada nenhuma classe para o identificador 28231. at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject(FormatIdInputStream.class:0) at org.apache.derby.iapi.services.io.ArrayInputStream.readObject(ArrayInputStream.class:0) at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.class:0) ... 34 more ============= end nested exception, level (2) =========== ============= begin nested exception, level (3) =========== ERROR XSLA3: Log corrompido, há dados inválidos no fluxo de log. at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.class:0) at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.class:0) at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.class:0) at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.class:0) at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.class:0) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(EmbedConnection40.class:0) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.class:0) at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.class:0) at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.class:0) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.class:0) at classes.Conecta.getConnection(Conecta.java:26) at dao.DaoGeral.getVersao(DaoGeral.java:97) at jukebox.Main.main(Main.java:52) Caused by: java.lang.ClassNotFoundException: ERROR XBM0U: Não foi registrada nenhuma classe para o identificador 28231. at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject(FormatIdInputStream.class:0) at org.apache.derby.iapi.services.io.ArrayInputStream.readObject(ArrayInputStream.class:0) at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.class:0) ... 34 more ============= end nested exception, level (3) =========== ============= begin nested exception, level (4) =========== java.lang.ClassNotFoundException: ERROR XBM0U: Não foi registrada nenhuma classe para o identificador 28231. at org.apache.derby.iapi.services.io.FormatIdInputStream.readObject(FormatIdInputStream.class:0) at org.apache.derby.iapi.services.io.ArrayInputStream.readObject(ArrayInputStream.class:0) at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.class:0) at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.class:0) at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.class:0) at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.class:0) at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.class:0) at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.class:0) at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.class:0) at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.class:0) at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.class:0) at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.class:0) at org.apache.derby.impl.jdbc.EmbedConnection40.<init>(EmbedConnection40.class:0) at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.class:0) at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.class:0) at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.class:0) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(DriverManager.class:0) at classes.Conecta.getConnection(Conecta.java:26) at dao.DaoGeral.getVersao(DaoGeral.java:97) at jukebox.Main.main(Main.java:52) ============= end nested exception, level (4) ===========

3 Respostas

V

Eae blz ?

você conseguiu algum crack para liberar o sistema ?

M

vitor7401:
Eae blz ?

você conseguiu algum crack para liberar o sistema ?

Consegui sim,

Inicie o sistema, faça o download desse programa: http://download.netbeans.org/netbeans/8.0/final/bundles/netbeans-8.0-linux.sh

e comece a desenvolver seu próprio sistema. Ai você vai ver como é gostoso ver o pessoal tentando piratear seu trabalho.

De mais valor pra quem trabalhou pesado no desenvolvimento do sistema.

Abraço.

V

KKK calma amigo só foi uma pergunta !
eu pensei que fosse um programador de cracker não sabia que você desenvolvidor do sistema, outra coisa eu li tudo posso ter até me enganado pensando que estava trabalhando com o cracker desculpa amigo !

Criado 10 de março de 2011
Ultima resposta 27 de ago. de 2014
Respostas 3
Participantes 2