2017-01-13 4 views
0

Quand je lance Apache James 2.3.2.1 en utilisant le fichier bin/run.bat dans un environnement Windows 64 bits, il émet une exceptionLifecycleException lors du démarrage Apache James 2.3.2.1

ERROR 2017-01-13 14:48:18.285 [Phoenix.](): Component named "users-store" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: destination>>URL). 
ERROR 2017-01-13 14:48:18.286 [Phoenix.](): There was an error running phase "startup" for Block named "users-store". (Reason: Component named "users-store" failed to pass through the Starting stage. (Reason:  org.apache.avalon.framework.configuration.ConfigurationException: destination>>URL).). 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "users-store" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: destination>>URL). 
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.fail(LifecycleHelper.java:354) 
at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:226) 
at org.apache.avalon.phoenix.components.application.DefaultApplication.startup(DefaultApplication.java:530) 
at org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase(DefaultApplication.java:478) 
at org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase(DefaultApplication.java:409) 
at org.apache.avalon.phoenix.components.application.DefaultApplication.start(DefaultApplication.java:180) 
at org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260) 
rethrown from  org.apache.avalon.framework.configuration.ConfigurationException: destination>>URL 
at org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134) 

J'ai vérifié dans toutes les config et recherché n'importe quel fichier de propriétés référant une telle propriété, mais sans chance.

Répondre

0

La question était la version James étant used.I commuté à la version 2.3.2, qui travaillait sans aucune version hassles.This était disponible sur James 2.3.2

La question est mentionnée dans this après le Jira. ici, le rapporté compris la question, en raison du changement dans l'une des classes de source, se référant à l'URL de config.xml file.Quoting de reporter d'erreur:

J'ai découvert qu'en changeant le fichier de configuration par défaut fourni (apps \ james \ SAR-INF \ config.xml) et en adaptant Et en y mettant un vrai nom , l'erreur originale disparaît. Notez qu'il n'a pas arriver dans James 2.3.2 J'ai jeté un coup d'oeil dans le code source et il est dû à ce nouveau code dans UsersFileRepository