I just installed James and am trying to configure it to use a MS SQL 2000 database.
When I run run.bat several of the tables were created in the database however, I get
the following error in the phoenix.log:
INFO 2003-09-26 20:46:34.233 [Phoenix ] (): Logger started
WARN 2003-09-26 20:46:34.344 [Phoenix ] (): Phoenix was not started by the daemon
thus it will not be possible to restart the JVM via the Management interface.
INFO 2003-09-26 20:46:35.768 [Phoenix.] (): Installing Sar located at
file:/D:/james-2.1/apps/james.sar.
WARN 2003-09-26 20:46:36.010 [Phoenix.] (): The file SAR-INF/lib/mm.mysql.LICENCE
can not be extracted from the Sar "file:/D:/james-2.1/apps/james.sar" into directory
D:\james-2.1\apps\james\SAR-INF\lib\mm.mysql.LICENCE because there is a file in the
way.
WARN 2003-09-26 20:46:36.010 [Phoenix.] (): The file conf/sqlResources.xml can not
be extracted from the Sar "file:/D:/james-2.1/apps/james.sar" into directory
D:\james-2.1\apps\james\conf\sqlResources.xml because there is a file in the way.
WARN 2003-09-26 20:46:36.010 [Phoenix.] (): The file SAR-INF/config.xml can not be
extracted from the Sar "file:/D:/james-2.1/apps/james.sar" into directory
D:\james-2.1\apps\james\SAR-INF\config.xml because there is a file in the way.
WARN 2003-09-26 20:46:36.020 [Phoenix.] (): The file SAR-INF/assembly.xml can not
be extracted from the Sar "file:/D:/james-2.1/apps/james.sar" into directory
D:\james-2.1\apps\james\SAR-INF\assembly.xml because there is a file in the way.
WARN 2003-09-26 20:46:36.020 [Phoenix.] (): The file SAR-INF/environment.xml can
not be extracted from the Sar "file:/D:/james-2.1/apps/james.sar" into directory
D:\james-2.1\apps\james\SAR-INF\environment.xml because there is a file in the way.
INFO 2003-09-26 20:46:36.161 [Phoenix.] (): No policy specified in server.xml,
giving full permissions to ServerApplication.
INFO 2003-09-26 20:46:36.666 [Phoenix.] (): Verifying that the name specified for
Blocks and BlockListeners are valid.
INFO 2003-09-26 20:46:36.666 [Phoenix.] (): Verifying that the name specified for
Blocks and BlockListeners are unique.
INFO 2003-09-26 20:46:36.666 [Phoenix.] (): Verifying that the specified
Dependencies are valid according to BlockInfo.
INFO 2003-09-26 20:46:36.666 [Phoenix.] (): Verifying that the dependencies of
Blocks are valid with respect to other Blocks.
INFO 2003-09-26 20:46:36.666 [Phoenix.] (): Verifying that there are no circular
dependencies between Blocks.
INFO 2003-09-26 20:46:36.666 [Phoenix.] (): Verifying that the specified Blocks
have valid types.
INFO 2003-09-26 20:46:36.767 [Phoenix.] (): Verifying that the specified
BlockListeners have valid types.
INFO 2003-09-26 20:46:36.909 [Phoenix.] (): 17 Blocks to process for phase
"startup". Order of processing = [dnsserver, objectstorage, database-connections,
mailstore, users-store, thread-manager, connections, sockets, scheduler, James,
spoolmanager, remotemanager, pop3server, smtpserver, nntp-repository, nntpserver,
fetchpop].
ERROR 2003-09-26 20:46:38.948 [Phoenix.] (): Component named "remotemanager" failed
to pass through the Composing stage. (Reason:
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.).
ERROR 2003-09-26 20:46:38.948 [Phoenix.] (): There was an error running phase
"startup" for Block named "remotemanager". (Reason: Component named "remotemanager"
failed to pass through the Composing stage. (Reason:
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.).).
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named
"remotemanager" failed to pass through the Composing stage. (Reason:
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.).
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)
rethrown from
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.
at org.apache.james.remotemanager.RemoteManager.compose(RemoteManager.java:103)
at
org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:164)
at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:116)
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)
INFO 2003-09-26 20:46:38.958 [Phoenix.] (): exception while starting:Component
named "remotemanager" failed to pass through the Composing stage. (Reason:
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.).
WARN 2003-09-26 20:46:39.130 [Phoenix.] (): Failed to start application james.
org.apache.avalon.framework.CascadingException: Failed to start application james.
at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.startup(DefaultKernel.java:195)
at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:254)
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:353)
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.deployDefaultApplications(DefaultEmbeddor.java:466)
rethrown from
org.apache.avalon.phoenix.interfaces.ApplicationException: Component named
"remotemanager" failed to pass through the Composing stage. (Reason:
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.).
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:178)
at
org.apache.avalon.phoenix.components.kernel.DefaultKernel.addApplication(DefaultKernel.java:254)
at
org.apache.avalon.phoenix.components.deployer.DefaultDeployer.deploy(DefaultDeployer.java:353)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:498)
at
org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor.deployFile(DefaultEmbeddor.java:491)
rethrown from
org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named
"remotemanager" failed to pass through the Composing stage. (Reason:
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.).
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)
rethrown from
org.apache.avalon.framework.component.ComponentException: The user repository could
not be found.
at org.apache.james.remotemanager.RemoteManager.compose(RemoteManager.java:103)
at
org.apache.avalon.framework.container.ContainerUtil.compose(ContainerUtil.java:164)
at
org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:116)
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)
WARN 2003-09-26 20:46:39.170 [Phoenix.] (): Error deleting Work Directory
"D:\james-2.1\work\james-1064627195768". (Reason: File
D:\james-2.1\work\james-1064627195768\SAR-INF\lib\mm.mysql-2.0.14.jar unable to be
deleted.)
java.io.IOException: File
D:\james-2.1\work\james-1064627195768\SAR-INF\lib\mm.mysql-2.0.14.jar unable to be
deleted.
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:638)
at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
at org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
at org.apache.avalon.excalibur.io.FileUtil.cleanDirectory(FileUtil.java:806)
at org.apache.avalon.excalibur.io.FileUtil.deleteDirectory(FileUtil.java:762)
at org.apache.avalon.excalibur.io.FileUtil.forceDelete(FileUtil.java:630)
WARN 2003-09-26 20:46:39.978 [Phoenix.] (): Failed to stop application james as it
is not initialized/started.
When I look at the config.xml I can't seem to find the syntax block where I can
configure the user repository.
Any suggestions?
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]