Run Time Exception

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Run Time Exception

radhamit
This post has NOT been accepted by the mailing list yet.
Hi guys,

we got an exception today.  the broker was running and just crashed. we could not makie anything from the exception.

we use 5.4.0 on GFS2  SAN in an active/passive mode .

We have 15 producer threads and 15 consumer threads on a single queue when this occured.
We deal with persistent messages./

2010-11-19 03:23:21,758 | ERROR | Could not stop service: org.apache.activemq.store.kahadb.KahaDBStore@18b2216d. Reason: java.io.FileNotFoundException: /home/ppoker/GFS/GFS1/db.free (No such file or directory) | org.apache.activemq.store.kahadb.KahaDBStore | ActiveMQ ShutdownHook
java.io.FileNotFoundException: /home/ppoker/GFS/GFS1/db.free (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.kahadb.page.PageFile.storeFreeList(PageFile.java:562)
        at org.apache.kahadb.page.PageFile.unload(PageFile.java:389)
        at org.apache.activemq.store.kahadb.MessageDatabase.close(MessageDatabase.java:371)
        at org.apache.activemq.store.kahadb.MessageDatabase.unload(MessageDatabase.java:399)
        at org.apache.activemq.store.kahadb.MessageDatabase.doStop(MessageDatabase.java:222)
        at org.apache.activemq.store.kahadb.KahaDBStore.doStop(KahaDBStore.java:245)
        at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69)
        at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.stop(KahaDBPersistenceAdapter.java:194)
        at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:578)
        at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1963)
        at org.apache.activemq.broker.BrokerService$4.run(BrokerService.java:1930)
2010-11-19 03:23:21,758 | ERROR | Could not stop service: KahaDBPersistenceAdapter[/home/ppoker/GFS/GFS1]. Reason: java.io.FileNotFoundException: /home/ppoker/GFS/GFS1/db.free (No such file or directory) | org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter | ActiveMQ ShutdownHook
java.io.FileNotFoundException: /home/ppoker/GFS/GFS1/db.free (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
        at org.apache.kahadb.page.PageFile.storeFreeList(PageFile.java:562)
        at org.apache.kahadb.page.PageFile.unload(PageFile.java:389)
        at org.apache.activemq.store.kahadb.MessageDatabase.close(MessageDatabase.java:371)
        at org.apache.activemq.store.kahadb.MessageDatabase.unload(MessageDatabase.java:399)
        at org.apache.activemq.store.kahadb.MessageDatabase.doStop(MessageDatabase.java:222)
        at org.apache.activemq.store.kahadb.KahaDBStore.doStop(KahaDBStore.java:245)
        at org.apache.activemq.util.ServiceSupport.stop(ServiceSupport.java:69)
        at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.stop(KahaDBPersistenceAdapter.java:194)
        at org.apache.activemq.util.ServiceStopper.stop(ServiceStopper.java:41)
        at org.apache.activemq.broker.BrokerService.stop(BrokerService.java:578)
        at org.apache.activemq.broker.BrokerService.containerShutdown(BrokerService.java:1963)
        at org.apache.activemq.broker.BrokerService$4.run(BrokerService.java:1930)




this is our kahaDb config ::

  <persistenceAdapter>
            <kahaDB
                indexWriteBatchSize="10000"
                indexCacheSize="100000"
                enableIndexWriteAsync="true"
                enableJournalDiskSyncs="false"
                cleanupInterval="10000"
                directory="/home/ppoker/GFS/"
                ignoreMissingJournalfiles="false"
                checkForCorruptJournalFiles="true"
                databaseLockedWaitDelay="2000"
                maxAsyncJobs="30000"
                concurrentStoreAndDispatchQueues="true"
            />
        </persistenceAdapter>



Can any one update us what went wrong

Thanks,
D.Radhakrishnan