James Server
  1. James Server
  2. JAMES-1069

Exception when start JAMES and emails are still in queue

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-M1, Trunk
    • Fix Version/s: 3.0-M1
    • Component/s: None
    • Labels:
      None

      Description

      When starting JAMES and have message in queues we see the following exception:

      WARN 20:50:48,190 | org.apache.camel.component.direct.DirectProducer | No consumers available on endpoint: Endpoint[direct://processor.root] to process: Exchange[Message: org.apache.james.core.MailImpl@5e8dc627]
      ERROR 20:50:48,190 | james.mailetcontainer | Exception processing mail in JamesSpoolManager.run Unable to process mail Mail1287427831601-545
      javax.mail.MessagingException: Unable to process mail Mail1287427831601-545;
      nested exception is:
      org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: org.apache.james.core.MailImpl@5e8dc627]
      at org.apache.james.mailetcontainer.camel.CamelMailProcessorList$ChildProcessor.service(CamelMailProcessorList.java:287)
      at org.apache.james.mailetcontainer.ProcessorDetail.service(ProcessorDetail.java:58)
      at org.apache.james.mailetcontainer.camel.CamelMailProcessorList.service(CamelMailProcessorList.java:230)
      at org.apache.james.transport.JamesSpoolManager.run(JamesSpoolManager.java:170)
      at java.lang.Thread.run(Thread.java:637)
      Caused by: org.apache.camel.CamelExecutionException: Exception occurred during execution on the exchange: Exchange[Message: org.apache.james.core.MailImpl@5e8dc627]
      at org.apache.camel.util.ObjectHelper.wrapCamelExecutionException(ObjectHelper.java:1142)
      at org.apache.camel.util.ExchangeHelper.extractResultBody(ExchangeHelper.java:452)
      at org.apache.camel.impl.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:441)
      at org.apache.camel.impl.DefaultProducerTemplate.extractResultBody(DefaultProducerTemplate.java:437)
      at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:125)
      at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:130)
      at org.apache.james.mailetcontainer.camel.CamelMailProcessorList$ChildProcessor.service(CamelMailProcessorList.java:284)
      ... 4 more
      Caused by: org.apache.camel.CamelExchangeException: No consumers available on endpoint: Endpoint[direct://processor.root]. Exchange[Message: org.apache.james.core.MailImpl@5e8dc627]
      at org.apache.camel.component.direct.DirectProducer.process(DirectProducer.java:56)
      at org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)
      at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:91)
      at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:85)
      at org.apache.camel.processor.UnitOfWorkProducer.process(UnitOfWorkProducer.java:63)
      at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:333)
      at org.apache.camel.impl.ProducerCache$1.doInProducer(ProducerCache.java:304)
      at org.apache.camel.impl.ProducerCache.doInProducer(ProducerCache.java:208)
      at org.apache.camel.impl.ProducerCache.sendExchange(ProducerCache.java:303)
      at org.apache.camel.impl.ProducerCache.send(ProducerCache.java:154)
      at org.apache.camel.impl.DefaultProducerTemplate.send(DefaultProducerTemplate.java:110)
      at org.apache.camel.impl.DefaultProducerTemplate.sendBody(DefaultProducerTemplate.java:123)
      ... 6 more

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Norman Maurer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development