org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'

Oracle Community | 807567 | 7 years ago
  1. 0

    problem accessing jdbc resource via default-web.xml

    Oracle Community | 7 years ago | 807567
    org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'null'
  2. 0

    Re: Problem Using JDBC Repositories.

    james-server-user | 7 years ago | fujimoto hs
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01017: ユーザー名/パスワードが無効です。ログオンは拒否されました。 )
  3. 0

    Spring framework - Datasource creation fails in WAS environment

    Google Groups | 1 decade ago | VijayaR
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Io exception: The Network Adapter could not establish the connection)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SSO DLL on Windows Server 2003

    jtds | 1 decade ago | ivan333m
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.)
  6. 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.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (The application requester cannot establish the connection. (Connection timed out))

  1. davidvanlaatum 4 times, last 9 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.commons.dbcp.SQLNestedException

    Cannot create JDBC driver of class '' for connect URL 'null'

    at org.apache.commons.dbcp.BasicDataSource.createDataSource()
  2. Commons DBCP
    BasicDataSource.createDataSource
    1. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1150)
    1 frame