Details
-
Bug
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
3.0.0-beta5
-
None
-
jdk1.6, centos7
-
Patch
Description
use default config with jpa, we will get error as below
INFO | jvm 1 | 2016/11/23 14:33:35 | Caused by: java.io.FileNotFoundException: /home/levi/softwear/server/james-server-app-3.0.0-beta6-SNAPSHOT/bin/sqlResources.xml (没有那个文件或目录)
INFO | jvm 1 | 2016/11/23 14:33:35 | at java.io.FileInputStream.open0(Native Method)
INFO | jvm 1 | 2016/11/23 14:33:35 | at java.io.FileInputStream.open(FileInputStream.java:195)
INFO | jvm 1 | 2016/11/23 14:33:35 | at java.io.FileInputStream.<init>(FileInputStream.java:138)
INFO | jvm 1 | 2016/11/23 14:33:35 | at java.io.FileInputStream.<init>(FileInputStream.java:93)
INFO | jvm 1 | 2016/11/23 14:33:35 | at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)
INFO | jvm 1 | 2016/11/23 14:33:35 | at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:623)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:189)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:812)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:243)
INFO | jvm 1 | 2016/11/23 14:33:35 | at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
INFO | jvm 1 | 2016/11/23 14:33:35 | at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
INFO | jvm 1 | 2016/11/23 14:33:35 | at org.apache.james.util.sql.SqlResources.init(SqlResources.java:84)
INFO | jvm 1 | 2016/11/23 14:33:35 | at org.apache.james.transport.mailets.WhiteListManager.initSqlQueries(WhiteListManager.java:760)
INFO | jvm 1 | 2016/11/23 14:33:35 | at org.apache.james.transport.mailets.WhiteListManager.init(WhiteListManager.java:231)
INFO | jvm 1 | 2016/11/23 14:33:35 | ... 37 more
^C
[levi@vm01 log]$ sed by: org.apache.commons.configuration.ConfigurationException: Unable to init mailet WhiteListManager