Apache James Spring 发行版未启动
Apache James Spring distribution not starting
尝试 Apache James mail server at the moment. After I downloaded the current binary distribution 3.4.0 ("for Spring wiring"),我在 运行:
时得到以下行为
bin\james.bat
日志(为了便于阅读而格式化):
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
(...)
jvm 1 | ERROR 21:30:39,649 |
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor
Unable to init mailet WithPriority
jvm 1 | org.apache.mailet.MailetException:
Could not load mailet (WithPriority) (java.lang.IllegalArgumentException:
'priority' init parameter is compulsory)
(...)
怎么了?
没关系,我找到了 answer - 试试这个:
I will raise the issue up to the project meanwhile a quick fix to make that mailet
work:
- in the James app folder, open the file conf/mailetcontainer.xml
- find the mailet with class WithPriority
- replace the xml tag <value>8</value> by <priority>8</priority>
- try to run james server again
在 conf/mailetcontainer.xml
中看起来像这样:
(...)
<mailetcontainer enableJmx="true">
<processors>
<processor state="root" enableJmx="true">
<mailet match="All" class="PostmasterAlias"/>
<mailet match="RelayLimit=30" class="Null"/>
<mailet matcher="All" class="WithPriority">
<priority>8</priority>
</mailet>
(...)
尝试 Apache James mail server at the moment. After I downloaded the current binary distribution 3.4.0 ("for Spring wiring"),我在 运行:
时得到以下行为bin\james.bat
日志(为了便于阅读而格式化):
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
(...)
jvm 1 | ERROR 21:30:39,649 |
org.apache.james.mailetcontainer.lib.AbstractStateMailetProcessor
Unable to init mailet WithPriority
jvm 1 | org.apache.mailet.MailetException:
Could not load mailet (WithPriority) (java.lang.IllegalArgumentException:
'priority' init parameter is compulsory)
(...)
怎么了?
没关系,我找到了 answer - 试试这个:
I will raise the issue up to the project meanwhile a quick fix to make that mailet work:
- in the James app folder, open the file conf/mailetcontainer.xml
- find the mailet with class WithPriority
- replace the xml tag <value>8</value> by <priority>8</priority>
- try to run james server again
在 conf/mailetcontainer.xml
中看起来像这样:
(...)
<mailetcontainer enableJmx="true">
<processors>
<processor state="root" enableJmx="true">
<mailet match="All" class="PostmasterAlias"/>
<mailet match="RelayLimit=30" class="Null"/>
<mailet matcher="All" class="WithPriority">
<priority>8</priority>
</mailet>
(...)