Check the value of the <max/> configuration entry for your data-source, if you don't have one add it and give it a value of 20.
Steve > -----Original Message----- > From: Listman [mailto:[EMAIL PROTECTED]] > Sent: Monday, February 10, 2003 7:05 PM > To: [EMAIL PROTECTED] > Subject: Component named "mailstore" failed to pass through > the Initialization stage. > > > Ive searched the archives and cannot find any reference to > this other than smtp port is already being used. That is not > the case here. > > I have verfied that I can log into mysql with the > username/password in the config.xml file. Any ideas? > > > > [root@orion logs]# vi phoenix.log > INFO 2003-02-10 20:20:49.269 [Phoenix ] (): Logger started > WARN 2003-02-10 20:20:49.486 [Phoenix ] (): Phoenix was > not started by > the daemon thus it will not be possible to restart the JVM > via the Management interface. > INFO 2003-02-10 20:20:51.900 [Phoenix.] (): Installing Sar > located at > file:/usr/local/james-2.1/apps/james.sar. > WARN 2003-02-10 20:20:52.253 [Phoenix.] (): The file > SAR-INF/lib/mm.mysql.LICENCE can not be extracted from the > Sar "file:/usr/local/james-2.1/apps/james.sar" into directory > /usr/local/james-2.1/apps/james/SAR-INF/lib/mm.mysql.LICENCE > because there is a file in the way. > WARN 2003-02-10 20:20:52.256 [Phoenix.] (): The file > conf/sqlResources.xml can not be extracted from the Sar > "file:/usr/local/james-2.1/apps/james.sar" into directory > /usr/local/james-2.1/apps/james/conf/sqlResources.xml because > there is a file in the way. > WARN 2003-02-10 20:20:52.258 [Phoenix.] (): The file > SAR-INF/config.xml > can not be extracted from the Sar > "file:/usr/local/james-2.1/apps/james.sar" > into directory > /usr/local/james-2.1/apps/james/SAR-INF/config.xml because > there is a file in the way. > WARN 2003-02-10 20:20:52.260 [Phoenix.] (): The file > SAR-INF/assembly.xml > can not be extracted from the Sar > "file:/usr/local/james-2.1/apps/james.sar" > into directory > /usr/local/james-2.1/apps/james/SAR-INF/assembly.xml because > there is a file in the way. > WARN 2003-02-10 20:20:52.261 [Phoenix.] (): The file > SAR-INF/environment.xml can not be extracted from the Sar > "file:/usr/local/james-2.1/apps/james.sar" into directory > /usr/local/james-2.1/apps/james/SAR-INF/environment.xml > because there is a file in the way. > INFO 2003-02-10 20:20:52.524 [Phoenix.] (): No policy specified in > server.xml, giving full permissions to ServerApplication. > INFO 2003-02-10 20:20:53.319 [Phoenix.] (): Verifying that the name > specified for Blocks and BlockListeners are valid. > INFO 2003-02-10 20:20:53.321 [Phoenix.] (): Verifying that the name > specified for Blocks and BlockListeners are unique. > INFO 2003-02-10 20:20:53.321 [Phoenix.] (): Verifying that > the specified > Dependencies are valid according to BlockInfo. > INFO 2003-02-10 20:20:53.323 [Phoenix.] (): Verifying that the > dependencies of Blocks are valid with respect to other Blocks. > INFO 2003-02-10 20:20:53.324 [Phoenix.] (): Verifying that > there are no > circular dependencies between Blocks. > INFO 2003-02-10 20:20:53.333 [Phoenix.] (): Verifying that > the specified > Blocks have valid types. > INFO 2003-02-10 20:20:53.494 [Phoenix.] (): Verifying that > the specified > BlockListeners have valid types. > INFO 2003-02-10 20:20:53.732 [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-02-10 20:21:01.384 [Phoenix.] (): Component > named "mailstore" > failed to pass through the Initialization stage. (Reason: > org.apache.avalon.framework.component.ComponentException: > Cannot find or init repository). > ERROR 2003-02-10 20:21:01.385 [Phoenix.] (): There was an > error running > phase "startup" for Block named "mailstore". (Reason: > Component named "mailstore" failed to pass through the > Initialization stage. (Reason: > org.apache.avalon.framework.component.ComponentException: > Cannot find or init repository).). > 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.fa > il(LifecycleHe > lper.java:289) > at > org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.st > artup(Lifecycl > eHelper.java:159) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.startup( > DefaultApplication.java:480) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.doRunPha > se(DefaultApplication.java:428) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.runPhase > (DefaultApplication.java:364) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.start(De > faultApplication.java:138) > at > org.apache.avalon.framework.container.ContainerUtil.start(Cont > ainerUtil.java > :251) > rethrown from > org.apache.avalon.framework.component.ComponentException: > Cannot find or init repository > at > org.apache.james.core.AvalonMailStore.select(AvalonMailStore.java:311) > at > org.apache.james.core.AvalonMailStore.initialize(AvalonMailSto > re.java:121) > at > org.apache.avalon.framework.container.ContainerUtil.initialize > (ContainerUtil > .java:235) > at > org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.st > artup(Lifecycl > eHelper.java:144) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.startup( > DefaultApplication.java:480) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.doRunPha > se(DefaultApplication.java:428) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.runPhase > (DefaultApplication.java:364) > rethrown from > java.sql.SQLException: Giving up... no connections available. > at > org.apache.james.util.mordred.JdbcDataSource.getConnection(Jdb > cDataSource.ja > va:208) > at > org.apache.james.mailrepository.JDBCMailRepository.initialize( > JDBCMailReposi > tory.java:307) > at > org.apache.james.core.AvalonMailStore.select(AvalonMailStore.java:292) > at > org.apache.james.core.AvalonMailStore.initialize(AvalonMailSto > re.java:121) > at > org.apache.avalon.framework.container.ContainerUtil.initialize > (ContainerUtil > .java:235) > at > org.apache.excalibur.containerkit.lifecycle.LifecycleHelper.st > artup(Lifecycl > eHelper.java:144) > at > org.apache.avalon.phoenix.components.application.DefaultApplic > ation.startup( > DefaultApplication.java:480) > INFO 2003-02-10 20:21:01.402 [Phoenix.] (): exception while > starting:Component named "mailstore" failed to pass through > the Initialization stage. (Reason: > org.apache.avalon.framework.component.ComponentException: > Cannot find or init repository). > > WARN 2003-02-10 20:21:01.421 [Phoenix.] (): Failed to > start application > james. > org.apache.avalon.framework.CascadingException: Failed to > start application james. > at > org.apache.avalon.phoenix.components.kernel.DefaultKernel.star > tup(DefaultKer > nel.java:195) > at > org.apache.avalon.phoenix.components.kernel.DefaultKernel.addA > pplication(Def > aultKernel.java:254) > at > org.apache.avalon.phoenix.components.deployer.DefaultDeployer. > deploy(Default > Deployer.java:353) > at > org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor. > deployFile(Def > aultEmbeddor.java:498) > at > org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor. > deployFile(Def > aultEmbeddor.java:491) > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
