ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kjcsb <kj...@yahoo.com>
Subject [DiskJournal] active log file is unclean, previous server crash
Date Mon, 29 Jul 2013 07:27:02 GMT
I get the following message when starting BTM. How can I fix the corrupted log file? 

Jul 29, 2013 6:42:37 PM bitronix.tm.integration.tomcat55.BTMLifecycleListener lifecycleEvent

INFO: Starting Bitronix Transaction Manager 
18:42:37,572 WARN  [DiskJournal] active log file is unclean, previous server crash ? 
18:42:38,376 WARN  [Recoverer] recovery failed, registered resource(s): jdbc/BPMSDB 
bitronix.tm.journal.CorruptedTransactionLogException: corrupted log found at position 546125
(no record terminator found) 
        at bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:81)

        at bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:46)

        at bitronix.tm.journal.DiskJournal.collectDanglingRecords(DiskJournal.java:336)

        at bitronix.tm.journal.DiskJournal.collectDanglingRecords(DiskJournal.java:184)

        at bitronix.tm.recovery.Recoverer.run(Recoverer.java:110) 
        at bitronix.tm.BitronixTransactionManager.<init>(BitronixTransactionManager.java:48)

        at bitronix.tm.TransactionManagerServices.getTransactionManager(TransactionManagerServices.java:42)

        at bitronix.tm.integration.tomcat55.BTMLifecycleListener.lifecycleEvent(BTMLifecycleListener.java:18)

        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

        at org.apache.catalina.core.StandardServer.start(StandardServer.java:691) 
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585) 
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) 
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) 
18:42:42,479 ERROR [[/ode]] StandardWrapper.Throwable 
org.apache.ode.bpel.iapi.ContextException: DbError 
        at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:673) 
        at org.apache.ode.store.ProcessStoreImpl.loadAll(ProcessStoreImpl.java:573) 
        at org.apache.ode.axis2.ODEServer.init(ODEServer.java:190) 
        at org.apache.ode.axis2.ODEServer.init(ODEServer.java:133) 
        at org.apache.ode.axis2.hooks.ODEAxisServlet.init(ODEAxisServlet.java:53) 
        at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)

        at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966) 
        at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3996)

        at org.apache.catalina.core.StandardContext.start(StandardContext.java:4266) 
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740) 
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544) 
        at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:626)

        at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:553)

        at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488) 
        at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1150) 
        at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)

        at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)

        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022) 
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:736) 
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014) 
        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) 
        at org.apache.catalina.core.StandardService.start(StandardService.java:448) 
        at org.apache.catalina.core.StandardServer.start(StandardServer.java:700) 
        at org.apache.catalina.startup.Catalina.start(Catalina.java:552) 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at java.lang.reflect.Method.invoke(Method.java:585) 
        at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295) 
        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433) 
Caused by: java.util.concurrent.ExecutionException: 
java.lang.RuntimeException: 
bitronix.tm.internal.BitronixSystemException: error logging status 
        at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:205) 
        at java.util.concurrent.FutureTask.get(FutureTask.java:80) 
        at org.apache.ode.store.ProcessStoreImpl.exec(ProcessStoreImpl.java:671) 
        ... 30 more 
Caused by: java.lang.RuntimeException: bitronix.tm.internal.BitronixSystemException: error
logging status 
        at org.apache.ode.store.hib.DbConfStoreConnectionFactory.beginTransaction(DbConfStoreConnectionFactory.java:192)

        at org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:842)

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) 
        at java.util.concurrent.FutureTask.run(FutureTask.java:123) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

        at java.lang.Thread.run(Thread.java:595) 
Caused by: bitronix.tm.internal.BitronixSystemException: error logging status 
        at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:283) 
        at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:261) 
        at bitronix.tm.BitronixTransaction.setActive(BitronixTransaction.java:256) 
        at bitronix.tm.BitronixTransactionManager.begin(BitronixTransactionManager.java:85)

        at org.apache.ode.store.hib.DbConfStoreConnectionFactory.beginTransaction(DbConfStoreConnectionFactory.java:190)

        ... 6 more 
Caused by: bitronix.tm.journal.CorruptedTransactionLogException: 
corrupted log found at position 546125 (no record terminator found) 
        at bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:81)

        at bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:46)

        at bitronix.tm.journal.DiskJournal.collectDanglingRecords(DiskJournal.java:336)

        at bitronix.tm.journal.DiskJournal.copyDanglingRecords(DiskJournal.java:308) 
        at bitronix.tm.journal.DiskJournal.swapJournalFiles(DiskJournal.java:271) 
        at bitronix.tm.journal.DiskJournal.log(DiskJournal.java:80) 
        at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:272) 
        ... 10 more 
18:42:42,481 ERROR [[/ode]] Servlet /ode threw load() exception 
bitronix.tm.journal.CorruptedTransactionLogException: corrupted log found at position 546125
(no record terminator found) 
        at bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:81)

        at bitronix.tm.journal.TransactionLogCursor.readLog(TransactionLogCursor.java:46)

        at bitronix.tm.journal.DiskJournal.collectDanglingRecords(DiskJournal.java:336)

        at bitronix.tm.journal.DiskJournal.copyDanglingRecords(DiskJournal.java:308) 
        at bitronix.tm.journal.DiskJournal.swapJournalFiles(DiskJournal.java:271) 
        at bitronix.tm.journal.DiskJournal.log(DiskJournal.java:80) 
        at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:272) 
        at bitronix.tm.BitronixTransaction.setStatus(BitronixTransaction.java:261) 
        at bitronix.tm.BitronixTransaction.setActive(BitronixTransaction.java:256) 
        at bitronix.tm.BitronixTransactionManager.begin(BitronixTransactionManager.java:85)

        at org.apache.ode.store.hib.DbConfStoreConnectionFactory.beginTransaction(DbConfStoreConnectionFactory.java:190)

        at org.apache.ode.store.ProcessStoreImpl$Callable.call(ProcessStoreImpl.java:842)

        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269) 
        at java.util.concurrent.FutureTask.run(FutureTask.java:123) 
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)

        at java.lang.Thread.run(Thread.java:595) 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message