james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12274] New: - Fails to initialize under IBM 1.3.1_01 JDK
Date Tue, 03 Sep 2002 20:06:55 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12274>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12274

Fails to initialize under IBM 1.3.1_01 JDK

           Summary: Fails to initialize under IBM 1.3.1_01 JDK
           Product: James
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: MailStore & MailRepository
        AssignedTo: james-dev@jakarta.apache.org
        ReportedBy: chris@radicalspeed.com


When starting James 2.1a1-2002-08-18 for the first time from a fresh install, 
I get the dump output appended below.  Installing the Javasoft JRE 1.4.0_01 
and resetting the path and JAVA_HOME appropriately, James starts up fine.  
Don't know if this is a bug.  Maybe James simply isn't intended to support 
other JDK implementations.


rethrown from
org.apache.avalon.phoenix.interfaces.ApplicationException: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:144)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail
(LifecycleHelper.java:289)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:159)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:325)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository: access denied 
(java.io.FilePermission /opt/james/apps/james/var/mail/spool read)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager.select
(RepositoryManager.java:205)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke
(BlockInvocationHandler.java:92)
        at $Proxy1.select(Unknown Source)
        at org.apache.james.mailrepository.AvalonMailRepository.initialize
(AvalonMailRepository.java:125)
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:306)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
java.security.AccessControlException: access denied 
(java.io.FilePermission /opt/james/apps/james/var/mail/spool read)
        at java.security.AccessControlContext.checkPermission
(AccessControlContext.java(Compiled Code))
        at java.security.AccessController.checkPermission
(AccessController.java:413)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:565)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:910)
        at java.io.File.exists(File.java:560)
        at java.io.File.mkdirs(File.java:992)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository.initial
ize(AbstractFileRepository.java:96)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager.select
(RepositoryManager.java:191)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke
(BlockInvocationHandler.java:92)
        at $Proxy1.select(Unknown Source)
        at org.apache.james.mailrepository.AvalonMailRepository.initialize
(AvalonMailRepository.java:125)
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:306)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)

---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project.  See
http://jakarta.apache.org/avalon for more information.
Shutting down Phoenix.
[root@test bin]# ./run.sh
Using PHOENIX_HOME:   /opt/james
Using PHOENIX_TMPDIR: /opt/james/temp
Using JAVA_HOME:      /opt/IBMJava2-131

Phoenix 4.0beta

Target file does not exist, defaulting to previous
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository: access denied 
(java.io.FilePermission /opt/james/apps/james/var/mail/spool read)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager.select
(RepositoryManager.java:205)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke
(BlockInvocationHandler.java:92)
        at $Proxy1.select(Unknown Source)
        at org.apache.james.mailrepository.AvalonMailRepository.initialize
(AvalonMailRepository.java:125)
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:306)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail
(LifecycleHelper.java:289)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:159)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
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:334)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.avalon.framework.CascadingException: Failed to start application 
james.
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:194)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.avalon.phoenix.interfaces.ApplicationException: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:144)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component 
named "mailstore" failed to pass through the Initialization stage. (Reason: 
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository).
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.fail
(LifecycleHelper.java:289)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:159)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:325)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
org.apache.avalon.framework.component.ComponentException: Cannot find or init 
repository: access denied 
(java.io.FilePermission /opt/james/apps/james/var/mail/spool read)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager.select
(RepositoryManager.java:205)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke
(BlockInvocationHandler.java:92)
        at $Proxy1.select(Unknown Source)
        at org.apache.james.mailrepository.AvalonMailRepository.initialize
(AvalonMailRepository.java:125)
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:306)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)
rethrown from
java.security.AccessControlException: access denied 
(java.io.FilePermission /opt/james/apps/james/var/mail/spool read)
        at java.security.AccessControlContext.checkPermission
(AccessControlContext.java(Compiled Code))
        at java.security.AccessController.checkPermission
(AccessController.java:413)
        at java.lang.SecurityManager.checkPermission(SecurityManager.java:565)
        at java.lang.SecurityManager.checkRead(SecurityManager.java:910)
        at java.io.File.exists(File.java:560)
        at java.io.File.mkdirs(File.java:992)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.AbstractFileRepository.initial
ize(AbstractFileRepository.java:96)
        at 
org.apache.avalon.cornerstone.blocks.masterstore.RepositoryManager.select
(RepositoryManager.java:191)
        at java.lang.reflect.Method.invoke(Native Method)
        at 
org.apache.avalon.phoenix.components.application.BlockInvocationHandler.invoke
(BlockInvocationHandler.java:92)
        at $Proxy1.select(Unknown Source)
        at org.apache.james.mailrepository.AvalonMailRepository.initialize
(AvalonMailRepository.java:125)
        at org.apache.james.core.AvalonMailStore.select
(AvalonMailStore.java:306)
        at org.apache.james.core.AvalonMailStore.initialize
(AvalonMailStore.java:139)
        at org.apache.avalon.framework.container.ContainerUtil.initialize
(ContainerUtil.java:235)
        at org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup
(LifecycleHelper.java:144)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.startup
(DefaultApplication.java:480)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.doRunPhase
(DefaultApplication.java:428)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.runPhase
(DefaultApplication.java:364)
        at 
org.apache.avalon.phoenix.components.application.DefaultApplication.start
(DefaultApplication.java:138)
        at org.apache.avalon.framework.container.ContainerUtil.start
(ContainerUtil.java:251)
        at org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup
(DefaultKernel.java:177)
        at 
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication
(DefaultKernel.java:252)
        at org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy
(DefaultDeployer.java:312)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:498)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile
(DefaultEmbeddor.java:491)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFiles
(DefaultEmbeddor.java:476)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployDefaultAppl
ications(DefaultEmbeddor.java:466)
        at 
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.execute
(DefaultEmbeddor.java:224)
        at org.apache.avalon.phoenix.frontends.CLIMain.run(CLIMain.java:158)
        at org.apache.avalon.phoenix.frontends.CLIMain.execute
(CLIMain.java:144)
        at org.apache.avalon.phoenix.frontends.CLIMain.main(CLIMain.java:102)
        at java.lang.reflect.Method.invoke(Native Method)
        at org.apache.avalon.phoenix.launcher.Main.startup(Main.java:92)
        at org.apache.avalon.phoenix.launcher.Main.main(Main.java:45)

---------------------------------------------------------
The log file may contain further details of error.
Please check the configuration files and restart Phoenix.
If the problem persists, contact the Avalon project.  See
http://jakarta.apache.org/avalon for more information.
Shutting down Phoenix.
[root@test bin]#

--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message