You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "leviluo (JIRA)" <se...@james.apache.org> on 2016/11/23 06:35:58 UTC
[jira] [Created] (JAMES-1866) sqlResources.xml need in bin
directory otherwisewill error when start server
leviluo created JAMES-1866:
------------------------------
Summary: sqlResources.xml need in bin directory otherwisewill error when start server
Key: JAMES-1866
URL: https://issues.apache.org/jira/browse/JAMES-1866
Project: James Server
Issue Type: Bug
Components: Build System
Affects Versions: 3.0.0-beta5
Environment: jdk1.6, centos7
Reporter: leviluo
Priority: Trivial
use default config with jpa, we will get error as below
{quote}
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
{quote}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org