Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2915

Misconfig when initially running James 3.4.0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.4.0
    • 3.5.0
    • configuration
    • None
    • Ubuntu 18.04.3 LTS
    • Patch

    Description

      I'm trying out James for the first time and ran into a minor issue that seems unnecessary. Specifically, I got the exception below. I managed to fix it, and it turns out that it's a minor configuration issue. In order to solve it, I edited "conf/mailetcontainer.xml", found the mailet with class "WithPriority", and changed the "value" tag name to "priority". The issue was fixed and James started gracefully.

      It seems odd that such a little thing would prevent James from starting at the first run, so I'd suggest this gets fixed in the rep. However, I'm very new to James and I'm not sure this is what it should be or I missed something. I'll be glad to submit a pull request if it comes to that, but I wanted some validation from the community first.

       

      INFO   | jvm 1    | 2019/10/07 22:05:02 | ERROR 22:05:02,838 | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Unable to init mailet WithPriority
      INFO   | jvm 1    | 2019/10/07 22:05:02 | org.apache.mailet.MailetException: Could not load mailet (WithPriority) (java.lang.IllegalArgumentException: 'priority' init parameter is compulsory)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.container.spring.bean.factory.mailetcontainer.MailetLoaderBeanFactory.getMailet(MailetLoaderBeanFactory.java:52)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:357)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:118)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:108)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:110)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:169)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:80)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:344)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:295)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:638)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:942)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:56)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.lang.Thread.run(Thread.java:834)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | Caused by: java.lang.IllegalArgumentException: 'priority' init parameter is compulsory
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.transport.mailets.WithPriority.lambda$init$0(WithPriority.java:54)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.util.Optional.orElseThrow(Optional.java:408)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.transport.mailets.WithPriority.init(WithPriority.java:54)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.mailet.base.GenericMailet.init(GenericMailet.java:229)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.container.spring.bean.factory.mailetcontainer.MailetLoaderBeanFactory.getMailet(MailetLoaderBeanFactory.java:45)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | ... 35 more
      INFO   | jvm 1    | 2019/10/07 22:05:02 | ERROR 22:05:02,858 | org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor | Caused by nested exception: 
      INFO   | jvm 1    | 2019/10/07 22:05:02 | java.lang.IllegalArgumentException: 'priority' init parameter is compulsory
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.transport.mailets.WithPriority.lambda$init$0(WithPriority.java:54)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.util.Optional.orElseThrow(Optional.java:408)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.transport.mailets.WithPriority.init(WithPriority.java:54)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.mailet.base.GenericMailet.init(GenericMailet.java:229)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.container.spring.bean.factory.mailetcontainer.MailetLoaderBeanFactory.getMailet(MailetLoaderBeanFactory.java:45)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:357)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:118)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:108)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:110)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:169)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:80)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:344)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:295)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:638)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:942)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:56)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | at java.base/java.lang.Thread.run(Thread.java:834)
      INFO   | jvm 1    | 2019/10/07 22:05:02 | WARN  22:05:02,864 | org.apache.james.container.spring.context.JamesServerApplicationContext | Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailprocessor': Invocation of init method failed; nested exception is org.apache.commons.configuration2.ex.ConfigurationException: Unable to init mailet WithPriority
      INFO   | jvm 1    | 2019/10/07 22:05:03 | 
      INFO   | jvm 1    | 2019/10/07 22:05:03 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailprocessor': Invocation of init method failed; nested exception is org.apache.commons.configuration2.ex.ConfigurationException: Unable to init mailet WithPriority
      INFO   | jvm 1    | 2019/10/07 22:05:03 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailprocessor': Invocation of init method failed; nested exception is org.apache.commons.configuration2.ex.ConfigurationException: Unable to init mailet WithPriority
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:133)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:396)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1507)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:638)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:942)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:56)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/java.lang.Thread.run(Thread.java:834)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | Caused by: org.apache.commons.configuration2.ex.ConfigurationException: Unable to init mailet WithPriority
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:365)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.init(AbstractStateMailetProcessor.java:118)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.impl.camel.CamelMailetProcessor.init(CamelMailetProcessor.java:108)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.createMailProcessor(CamelCompositeProcessor.java:110)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.lib.AbstractStateCompositeProcessor.init(AbstractStateCompositeProcessor.java:169)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.impl.camel.CamelCompositeProcessor.init(CamelCompositeProcessor.java:80)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:344)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:295)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:130)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | ... 22 more
      INFO   | jvm 1    | 2019/10/07 22:05:03 | Caused by: org.apache.mailet.MailetException: Could not load mailet (WithPriority) (java.lang.IllegalArgumentException: 'priority' init parameter is compulsory)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.container.spring.bean.factory.mailetcontainer.AbstractLoaderBeanFactory.loadFailed(AbstractLoaderBeanFactory.java:62)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.container.spring.bean.factory.mailetcontainer.MailetLoaderBeanFactory.getMailet(MailetLoaderBeanFactory.java:52)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor.parseConfiguration(AbstractStateMailetProcessor.java:357)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | ... 34 more
      INFO   | jvm 1    | 2019/10/07 22:05:03 | Caused by: java.lang.IllegalArgumentException: 'priority' init parameter is compulsory
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.transport.mailets.WithPriority.lambda$init$0(WithPriority.java:54)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at java.base/java.util.Optional.orElseThrow(Optional.java:408)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.transport.mailets.WithPriority.init(WithPriority.java:54)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.mailet.base.GenericMailet.init(GenericMailet.java:229)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | at org.apache.james.container.spring.bean.factory.mailetcontainer.MailetLoaderBeanFactory.getMailet(MailetLoaderBeanFactory.java:45)
      INFO   | jvm 1    | 2019/10/07 22:05:03 | ... 35 more
      

       

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            fratelli André Francisco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 20m
                20m
                Remaining:
                Remaining Estimate - 20m
                20m
                Logged:
                Time Spent - Not Specified
                Not Specified