M. Manna created JAMES-2512:
-------------------------------

             Summary: JAMES 2.3.2.1 doesn't work OOB on Windows
                 Key: JAMES-2512
                 URL: https://issues.apache.org/jira/browse/JAMES-2512
             Project: James Server
          Issue Type: Bug
         Environment: Windows 10
            Reporter: M. Manna


As opposed to version 2.2.0, Apache JAMES server 2.3.2.1 doesn't start 
out-of-the-box on Windows 10.

here are the logs:

 

C:\james-2.3.2.1\bin>run.bat
Using PHOENIX_HOME:   C:\james-2.3.2.1
Using PHOENIX_TMPDIR: C:\james-2.3.2.1\temp
Using JAVA_HOME:      C:\jdk1.8.0

Phoenix 4.2

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)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:135)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: 
destination>>URL
        at 
org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
        at 
org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
        ... 22 more
Caused by: java.io.IOException: The filename, directory name, or volume label 
syntax is incorrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428)
        at java.io.File.getCanonicalPath(File.java:618)
        at java.io.File.getCanonicalFile(File.java:643)
        at 
org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:132)
        ... 26 more
There was an uncaught exception:
---------------------------------------------------------
--- Message ---
Failed to start application james.
--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: Failed to start 
application james.
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:379)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:135)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)
Caused by: org.apache.avalon.framework.CascadingException: Failed to start 
application james.
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:313)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        ... 14 more
Caused by: org.apache.avalon.phoenix.interfaces.ApplicationException: 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.components.application.DefaultApplication.start(DefaultApplication.java:186)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
        ... 16 more
Caused by: 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)
        ... 18 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: 
destination>>URL
        at 
org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
        at 
org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
        ... 22 more
Caused by: java.io.IOException: The filename, directory name, or volume label 
syntax is incorrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428)
        at java.io.File.getCanonicalPath(File.java:618)
        at java.io.File.getCanonicalFile(File.java:643)
        at 
org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:132)
        ... 26 more
rethrown from
org.apache.avalon.framework.CascadingException: Failed to start application 
james.
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:313)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:376)
        at 
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:357)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:542)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:535)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles(DefaultEmbeddor.java:520)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultApplications(DefaultEmbeddor.java:509)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute(DefaultEmbeddor.java:268)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:198)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute(CLIMain.java:184)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:145)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:135)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:84)
Caused by: org.apache.avalon.phoenix.interfaces.ApplicationException: 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.components.application.DefaultApplication.start(DefaultApplication.java:186)
        at 
org.apache.avalon.framework.container.ContainerUtil.start(ContainerUtil.java:260)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:295)
        ... 16 more
Caused by: 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)
        ... 18 more
Caused by: org.apache.avalon.framework.configuration.ConfigurationException: 
destination>>URL
        at 
org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:134)
        at 
org.apache.avalon.framework.container.ContainerUtil.configure(ContainerUtil.java:201)
        at 
org.apache.james.core.AvalonUsersStore.initialize(AvalonUsersStore.java:130)
        at 
org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
        at 
org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
        ... 22 more
Caused by: java.io.IOException: The filename, directory name, or volume label 
syntax is incorrect
        at java.io.WinNTFileSystem.canonicalize0(Native Method)
        at java.io.WinNTFileSystem.canonicalize(WinNTFileSystem.java:428)
        at java.io.File.getCanonicalPath(File.java:618)
        at java.io.File.getCanonicalFile(File.java:643)
        at 
org.apache.james.userrepository.UsersFileRepository.configure(UsersFileRepository.java:132)
        ... 26 more
rethrown from



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

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

Reply via email to