Apache James Spring发行版未启动 [英] Apache James Spring distribution not starting
本文介绍了Apache James Spring发行版未启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
目前正在试用 Apache James 邮件服务器.下载当前的二进制发行版3.4.0 (用于弹簧接线"),我在运行时得到以下行为:
Trying out the Apache James mail server at the moment. After I downloaded the current binary distribution 3.4.0 ("for Spring wiring"), I got the following behaviour when I ran:
bin\james.bat
日志(为便于阅读而格式化):
Log (formatted for readability):
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 -试试这个:
Nevermind, I found the answer - try this:
我将根据项目提出问题,同时快速解决该问题 工作:
I will raise the issue up to the project meanwhile a quick fix to make that mailet work:
- 在James应用程序文件夹中,打开文件conf/mailetcontainer.xml
- 使用WithPriority类查找邮件
- 替换xml标签< value> 8</value>通过< priority> 8</priority>
- 尝试再次运行james服务器
- 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 Spring发行版未启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文