james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raphaël Ouazana (JIRA) <j...@apache.org>
Subject [jira] [Commented] (MAILBOX-383) Message delivery starts before the EventBus
Date Tue, 11 Jun 2019 13:24:00 GMT

    [ https://issues.apache.org/jira/browse/MAILBOX-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16861034#comment-16861034
] 

Raphaël Ouazana commented on MAILBOX-383:
-----------------------------------------

some other improvments in https://github.com/linagora/james-project/pull/2423

> Message delivery starts before the EventBus
> -------------------------------------------
>
>                 Key: MAILBOX-383
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-383
>             Project: James Mailbox
>          Issue Type: Bug
>            Reporter: Matthieu Baechler
>            Priority: Major
>             Fix For: 3.4.0
>
>
> When restarting James, it can happen that event delivery starts before the EventBus is
started :
> {code}
> 17:17:45.037 [ERROR] o.a.j.t.m.d.MailDispatcher - Error while storing mail.
> java.lang.IllegalStateException: Event Bus is not running
>         at org.apache.james.mailbox.events.RabbitMQEventBus.dispatch(RabbitMQEventBus.java:125)
>         at org.apache.james.mailbox.events.EventBus.dispatch(EventBus.java:54)
>         at org.apache.james.mailbox.store.StoreMessageManager.lambda$appendMessage$2(StoreMessageManager.java:456)
>         at org.apache.james.mailbox.store.AbstractMailboxPathLocker.executeWithLock(AbstractMailboxPathLocker.java:38)
>         at org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:451)
>         at org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:320)
>         at org.apache.james.transport.mailets.delivery.MailboxAppender.appendMessageToMailbox(MailboxAppender.java:82)
>         at org.apache.james.transport.mailets.delivery.MailboxAppender.append(MailboxAppender.java:68)
>         at org.apache.james.transport.mailets.delivery.MailboxAppender.append(MailboxAppender.java:50)
>         at org.apache.james.transport.mailets.delivery.SimpleMailStore.storeMail(SimpleMailStore.java:97)
>         at org.apache.james.transport.mailets.delivery.MailDispatcher.deliver(MailDispatcher.java:132)
>         at org.apache.james.transport.mailets.delivery.MailDispatcher.customizeHeadersAndDeliver(MailDispatcher.java:120)
>         at org.apache.james.transport.mailets.delivery.MailDispatcher.dispatch(MailDispatcher.java:91)
>         at org.apache.james.transport.mailets.LocalDelivery.service(LocalDelivery.java:62)
>         at org.apache.james.mailetcontainer.impl.camel.CamelProcessor.process(CamelProcessor.java:81)
>         at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor$MailetContainerRouteBuilder.handleMailet(CamelMailetProcessor.java:178)
>         at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor$MailetContainerRouteBuilder.lambda$configure$0(CamelMailetProcessor.java:155)
>         at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
>         at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:715)
>         at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:638)
>         at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:248)
>         at org.apache.camel.processor.Splitter.process(Splitter.java:130)
>         at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.component.direct.DirectBlockingProducer.process(DirectBlockingProducer.java:53)
>         at org.apache.camel.processor.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:186)
>         at org.apache.camel.processor.SharedCamelInternalProcessor.process(SharedCamelInternalProcessor.java:86)
>         at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:541)
>         at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:506)
>         at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:369)
>         at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:506)
>         at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:229)
>         at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:144)
>         at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:161)
>         at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:168)
>         at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.service(CamelMailetProcessor.java:68)
>         at org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.service(AbstractStateCompositeProcessor.java:84)
>         at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.toProcessor(AbstractStateMailetProcessor.java:156)
>         at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.access$400(CamelMailetProcessor.java:51)
>         at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor$MailetContainerRouteBuilder.handleMailet(CamelMailetProcessor.java:185)
>         at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor$MailetContainerRouteBuilder.lambda$configure$0(CamelMailetProcessor.java:155)
>         at org.apache.camel.processor.DelegateSyncProcessor.process(DelegateSyncProcessor.java:63)
>         at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:715)
>         at org.apache.camel.processor.MulticastProcessor.doProcessSequential(MulticastProcessor.java:638)
>         at org.apache.camel.processor.MulticastProcessor.process(MulticastProcessor.java:248)
>         at org.apache.camel.processor.Splitter.process(Splitter.java:130)
>         at org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)
>         at org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:138)
>         at org.apache.camel.processor.Pipeline.process(Pipeline.java:101)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message