org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource

james-server-user | Álvaro Póliz | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem with JAMES and Database connection

    james-server-user | 9 years ago | Álvaro Póliz
    org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource
  2. 0

    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.

    Apache's JIRA Issue Tracker | 8 years ago | DChenome
    org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource
  3. 0

    Configuring james to connect to Microsoft sql server 2005

    hewgill.com | 1 year ago
    org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    OKKY - james DB 연결 에러 한번 봐주시겠어요?

    okky.kr | 1 year ago
    org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource
  6. 0

    OKKY - james mysql 연동 부분이 안되네요 ㅡ.ㅡ;;

    okky.kr | 1 year ago
    org.apache.avalon.framework.configuration.ConfigurationException: Error configurable datasource

    Root Cause Analysis

    1. org.apache.avalon.framework.configuration.ConfigurationException

      Error configurable datasource

      at org.apache.james.util.dbcp.JdbcDataSource.configure()
    2. org.apache.james
      JdbcDataSource.configure
      1. org.apache.james.util.dbcp.JdbcDataSource.configure(JdbcDataSource.java:200)
      1 frame
    3. org.apache.avalon
      DefaultDataSourceSelector.initialize
      1. org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector.initialize(DefaultDataSourceSelector.java:147)
      1 frame
    4. Avalon
      ContainerUtil.initialize
      1. org.apache.avalon.framework.container.ContainerUtil.initialize(ContainerUtil.java:244)
      1 frame
    5. org.apache.avalon
      LifecycleHelper.startup
      1. org.apache.avalon.phoenix.containerkit.lifecycle.LifecycleHelper.startup(LifecycleHelper.java:200)
      1 frame