james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-1866) sqlResources.xml need in bin directory otherwisewill error when start server
Date Wed, 23 Nov 2016 08:05:58 GMT

    [ https://issues.apache.org/jira/browse/JAMES-1866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15689285#comment-15689285
] 

Tellier Benoit commented on JAMES-1866:
---------------------------------------

Yes there is :

IsInWhiteList which is a matcher. However it also makes use of JDBC (storage is not abstracted).
What i definitly don't like much.

However, nothing else exist yet for whiteLists... 

> 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
>              Labels: easyfix, patch
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> 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


Mime
View raw message