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 "Adrien Le Nagard (JIRA)" <se...@james.apache.org> on 2018/03/14 16:52:00 UTC

[jira] [Resolved] (JAMES-2353) cannot start james on MacOS X High Sierra

     [ https://issues.apache.org/jira/browse/JAMES-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrien Le Nagard resolved JAMES-2353.
-------------------------------------
    Resolution: Fixed

Ok, I did not understand that I had to have the actual xml files, and that the -template.xml are just templates :)
I've renamed to basic ones for james to work by default, and it works now fine

> cannot start james on MacOS X High Sierra
> -----------------------------------------
>
>                 Key: JAMES-2353
>                 URL: https://issues.apache.org/jira/browse/JAMES-2353
>             Project: James Server
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Adrien Le Nagard
>            Priority: Major
>             Fix For: 3.0.1
>
>         Attachments: james-server.log, wrapper.log
>
>
> Hi,
>  
> I've downloaded the latest stable release of james-server, which is james-server-app-3.0.1 and followed the install and quick start guide.
> However I cannot start james on MacOS X High Sierra, I keep getting the following error, with the command *./james start* :
> _WARN  13:49:07,000 | org.apache.james.container.spring.context.JamesServerApplicationContext | Exception encountered during context initialization - cancelling refresh attempt
> org.springframework.beans.FatalBeanException: Unable to config the indexer; nested exception is org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component indexer
>  at org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:70)
>  at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:696)
>  at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:686)
>  at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:461)
>  at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
>  at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
>  at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
>  at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:61)
>  at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
> Caused by: org.apache.commons.configuration.ConfigurationException: Unable to load configuration for component indexer
>  at org.apache.james.container.spring.lifecycle.ConfigurationProviderImpl.getConfiguration(ConfigurationProviderImpl.java:135)
>  at org.apache.james.container.spring.bean.factorypostprocessor.IndexerConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(IndexerConfigurationBeanFactoryPostProcessor.java:47)
>  ... 8 more_
>  
> When I use *./run.sh*, I get the following error in wrapper.log (also attached):
> _--> Wrapper Started as Daemon
> STATUS | wrapper  | 2018/03/14 13:57:29 | Launching a JVM...
> INFO   | jvm 1    | 2018/03/14 13:57:30 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
> INFO   | jvm 1    | 2018/03/14 13:57:30 |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
> INFO   | jvm 1    | 2018/03/14 13:57:30 | 
> INFO   | jvm 1    | 2018/03/14 13:57:30 | 
> INFO   | jvm 1    | 2018/03/14 13:57:30 | WARNING - Unable to load the Wrapper's native library because none of the
> INFO   | jvm 1    | 2018/03/14 13:57:30 |           following files:
> INFO   | jvm 1    | 2018/03/14 13:57:30 |             libwrapper-macosx-x86-64.dylib
> INFO   | jvm 1    | 2018/03/14 13:57:30 |             libwrapper-macosx-universal-64.dylib
> INFO   | jvm 1    | 2018/03/14 13:57:30 |             libwrapper.dylib
> INFO   | jvm 1    | 2018/03/14 13:57:30 |           could be located on the following java.library.path:
> INFO   | jvm 1    | 2018/03/14 13:57:30 |             /Users/adrienlenagard/work/james-server-app-3.0.1/bin/../lib
> INFO   | jvm 1    | 2018/03/14 13:57:30 |           Please see the documentation for the wrapper.java.library.path
> INFO   | jvm 1    | 2018/03/14 13:57:30 |           configuration property.
> INFO   | jvm 1    | 2018/03/14 13:57:30 |           System signals will not be handled correctly._
>  [^wrapper.log] 
> As a consequence the server does not start.
> Could you please have a look ?
> I'm attaching james-server.log file
> Thanks a lot
>  
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org