You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/09/04 05:52:00 UTC

[jira] [Closed] (JAMES-2795) Bug in active kaha db (activeMQ) configuration at james startup. How can It be fixed?

     [ https://issues.apache.org/jira/browse/JAMES-2795?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier closed JAMES-2795.
---------------------------------
    Resolution: Cannot Reproduce

Closing as there is no input on this topic, and no answers for a long time.

Reopen if relevant. 

Regards,

Benoit

> Bug in active kaha db (activeMQ) configuration at james startup. How can It be fixed?
> -------------------------------------------------------------------------------------
>
>                 Key: JAMES-2795
>                 URL: https://issues.apache.org/jira/browse/JAMES-2795
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Hans müller
>            Priority: Major
>
> I have a stack trace as following and james does not start up (kaha db is not guilty, files were accidentially deleted):
> {color:#172b4d}org.apache.activemq.broker.BrokerService | Failed to start Apache ActiveMQ (james, broker)java.io.IOException: Detected missing/corrupt journal files referenced by:{color}[0:ActiveMQ.DLQ]{color:#172b4d} 14771 messages affected.        at org.apache.activemq.store.kahadb.MessageDatabase.recoverIndex(MessageDatabase.java:985)        at org.apache.activemq.store.kahadb.MessageDatabase$5.execute(MessageDatabase.java:724)        at org.apache.activemq.store.kahadb.disk.page.Transaction.execute(Transaction.java:779)        at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:721)        at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:480)        at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:500)        at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:304)        at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:219)        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)        at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.doStart(KahaDBPersistenceAdapter.java:232)        at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:55)        at org.apache.activemq.broker.BrokerService.doStartPersistenceAdapter(BrokerService.java:687)        at org.apache.activemq.broker.BrokerService.startPersistenceAdapter(BrokerService.java:671)        at org.apache.activemq.broker.BrokerService.start(BrokerService.java:635)        at org.apache.james.queue.activemq.EmbeddedActiveMQ.launchEmbeddedBroker(EmbeddedActiveMQ.java:113)        at org.apache.james.queue.activemq.EmbeddedActiveMQ.<init>(EmbeddedActiveMQ.java:57)   {color}
>  
> {color:#172b4d}Question is, how this can be fixed. {color}
> {color:#172b4d}According to [http://activemq.apache.org/kahadb.html] the {{ignoreMissingJournalfiles}} setting can be used, so that this messages are ignored. {color}
> {color:#172b4d}How can the setting be configured?{color}
> {color:#172b4d}I can not see a file which james uses for configuration.{color}
> {color:#172b4d}something like conf/activemq.xml (james does not seem to use that???){color}
> {color:#172b4d}Ist there any possibility to fix that by configuring kaha db?{color}
>   
>   
>   
>   
>   
>   
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org