org.apache.avalon.framework.CascadingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • INFO 2004-10-07 17:30:21.087 [Phoenix.] (): 18 Blocks to process for phase "startup". Order of processing = [priva, dnsserver, o bjectstorage, database-connections, mailstore, users-store, thread-manager, connections, sockets, scheduler, James, spoolmanager, r emotemanager, pop3server, smtpserver, nntp-repository, nntpserver, fetchpop]. ERROR 2004-10-07 17:30:23.285 [Phoenix.] (): Component named "sockets" failed to pass through the Initialization stage. (Reason: java.lang.NoClassDefFoundError: sun/security/provider/Sun). ERROR 2004-10-07 17:30:23.286 [Phoenix.] (): There was an error running phase "startup" for Block named "sockets". (Reason: Compo nent named "sockets" failed to pass through the Initialization stage. (Reason: java.lang.NoClassDefFoundError: sun/security/provide r/Sun).). org.apache.excalibur.containerkit.lifecycle.LifecycleException: Component named "sockets" failed to pass through the Initialization stage. (Reason: java.lang.NoClassDefFoundError: sun/security/provider/Sun). 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 java.lang.NoClassDefFoundError: sun/security/provider/Sun at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1747) at java.lang.Class.getConstructor1(Class.java:2063) at java.lang.Class.newInstance3(Class.java:331) at java.lang.Class.newInstance(Class.java:305) at org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketManager.createFactory(DefaultSocketManager.java:135) at org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketManager.setupServerSocketFactory(DefaultSocketManager.java:93) INFO 2004-10-07 17:30:23.302 [Phoenix.] (): exception while starting:Component named "sockets" failed to pass through the Initia lization stage. (Reason: java.lang.NoClassDefFoundError: sun/security/provider/Sun). WARN 2004-10-07 17:30:23.308 [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 "sockets" failed to pass through the Initialization stag e. (Reason: java.lang.NoClassDefFoundError: sun/security/provider/Sun). 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 "sockets" failed to pass through the Initialization stage. (Reason: java.lang.NoClassDefFoundError: sun/security/provider/Sun). 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 java.lang.NoClassDefFoundError: sun/security/provider/Sun at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:1747) at java.lang.Class.getConstructor1(Class.java:2063) at java.lang.Class.newInstance3(Class.java:331) at java.lang.Class.newInstance(Class.java:305) at org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketManager.createFactory(DefaultSocketManager.java:135) at org.apache.avalon.cornerstone.blocks.sockets.DefaultSocketManager.setupServerSocketFactory(DefaultSocketManager.java:93) WARN 2004-10-07 17:30:23.371 [Phoenix.] (): Failed to stop application james as it is not initialized/started. [ So, sun appears to be hard-coded even if in james-config, I set <sockets> <server-sockets> <factory name="plain" class="org.apache.avalon.cornerstone.blocks.sockets.DefaultServerSocketFactory"/> <factory name="ssl" class="org.apache.avalon.cornerstone.blocks.sockets.TLSServerSocketFactory"> <keystore> <file>conf/keystore</file> <password>asdfasfd</password> <type>JKS</type> <protocol>SSL</protocol> <algorithm>IbmX509</algorithm> ... Also, tried to figure out whether in the future versions of cornerstone, this is already fixed, but only found http://archive.apache.org/dist/avalon/cornerstone-sockets-impl/source/, but it wasn't clear, in which avalon successor, it will have its new home (http://avalon.apache.org/closed.html)
    via by Ralf Hauser,
  • Re: Fail to run run.bat..help please
    via by nurularesya ;p,
  • James - Users - Apache james in lnux
    via by Unknown author,
  • Im trying to connect to an AS400 database and get the following error... ERROR 2009-05-11 13:02:01.063 [Phoenix.] (): Component named "database-connections" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource). ERROR 2009-05-11 13:02:01.063 [Phoenix.] (): There was an error running phase "startup" for Block named "database-connections". (Reason: Component named "database-connections" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource).). org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "database-connections" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource). 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: Error configurable datasource at org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:200) at org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200) 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) rethrown from org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The application requester cannot establish the connection. (Connection timed out)) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855) at org.apache.james.util.dbcp.JdbcDataSource$1.createDataSource(JdbcDataSource.java:113) at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598) at org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:157) at org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200) rethrown from java.sql.SQLNonTransientConnectionException: The application requester cannot establish the connection. (Connection timed out) at com.ibm.as400.access.JDError.createSQLExceptionSubClass(JDError.java:760) at com.ibm.as400.access.JDError.throwSQLException(JDError.java:541) at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:3037) at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:1254) at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java:1105) at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:355) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37) INFO 2009-05-11 13:02:01.075 [Phoenix.] (): exception while starting:Component named "database-connections" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource). WARN 2009-05-11 13:02:01.080 [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: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) rethrown from org.apache.avalon.phoenix.interfaces.ApplicationException: Component named "database-connections" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource). 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) 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) rethrown from org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleException: Component named "database-connections" failed to pass through the Starting stage. (Reason: org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource). 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: Error configurable datasource at org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:200) at org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200) 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) rethrown from org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The application requester cannot establish the connection. (Connection timed out)) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:855) at org.apache.james.util.dbcp.JdbcDataSource$1.createDataSource(JdbcDataSource.java:113) at org.apache.commons.dbcp.BasicDataSource.setLogWriter(BasicDataSource.java:598) at org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:157) at org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147) at org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244) at org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200) rethrown from java.sql.SQLNonTransientConnectionException: The application requester cannot establish the connection. (Connection timed out) at com.ibm.as400.access.JDError.createSQLExceptionSubClass(JDError.java:760) at com.ibm.as400.access.JDError.throwSQLException(JDError.java:541) at com.ibm.as400.access.AS400JDBCConnection.setProperties(AS400JDBCConnection.java:3037) at com.ibm.as400.access.AS400JDBCDriver.prepareConnection(AS400JDBCDriver.java:1254) at com.ibm.as400.access.AS400JDBCDriver.initializeConnection(AS400JDBCDriver.java:1105) at com.ibm.as400.access.AS400JDBCDriver.connect(AS400JDBCDriver.java:355) at org.apache.commons.dbcp.DriverConnectionFactory.createConnection(DriverConnectionFactory.java:37) WARN 2009-05-11 13:02:01.096 [Phoenix.] (): Failed to stop application james as it is not initialized/started.
    via by DChenome,
    • 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)
    No Bugmate found.