java.sql.SQLException: A connection could not be obtained in the specified login time of 5 seconds.

Oracle Community | 3004 | 1 decade 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

    Help with exception: A connection could not be obtained in the specified login time of 5 seconds

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: A connection could not be obtained in the specified login time of 5 seconds.
  2. 0

    NPE with kodo-2.5.3, jboss-3.2.1, mysql-4.0.13

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: java.lang.NullPointerException: null
  3. 0

    Problems using PM with PostreSQL

    Oracle Community | 1 decade ago | 3004
    java.sql.SQLException: java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems With Oracle Data Source WAS 6.1 RHEL : Error Code = 17,068

    Google Groups | 9 years ago | karl....@googlemail.com
    java.sql.SQLException: Invalid argument(s) in callDSRA0010E: SQL State = null, Error Code = 17,068<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:99)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1207)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1239)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2559)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:532)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:460)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
  6. 0

    Problems With Oracle Data Source WAS 6.1 RHEL : Error Code = 17,068

    objectmix.com | 11 months ago
    java.sql.SQLException: Invalid argument(s) in callDSRA0010E: SQL State = null, Error Code = 17,068<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:99)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1207)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.getPooledConnection(DSConfigurationHelper.java:1239)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at com.ibm.ws.rsadapter.DSConfigurationHelper.testConnectionForGUI(DSConfigurationHelper.java:2559)<br /> <strike>07/04/08 14:57:36:054 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnectionToDataSource2(DataSourceConfigHelperMBean.java:532)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at com.ibm.ws.management.DataSourceConfigHelperMBean.testConnection(DataSourceConfigHelperMBean.java:460)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at java.lang.reflect.Method.invoke(Method.java:618)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:62)<br /> <strike>07/04/08 14:57:36:055 BST</strike> 000000eb SystemErr R at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)

    Root Cause Analysis

    1. java.sql.SQLException

      A connection could not be obtained in the specified login time of 5 seconds.

      at com.solarmetric.datasource.DataSourceImpl$AbstractPool.timeout()
    2. com.solarmetric.datasource
      DataSourceImpl.getConnection
      1. com.solarmetric.datasource.DataSourceImpl$AbstractPool.timeout(DataSourceImpl.java:615)
      2. com.solarmetric.datasource.DataSourceImpl$AbstractPool.getConnection(DataSourceImpl.java:589)
      3. com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:326)
      4. com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:319)
      4 frames
    3. com.solarmetric.kodo
      PersistenceManagerImpl.makePersistent
      1. com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnector.java:51)
      2. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFactory(SQLExecutionManagerImpl.java:183)
      3. com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:142)
      4. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.getConnection(SchemaTool.java:126)
      5. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool$LocalSchemaCache.cacheTables(SchemaTool.java:1383)
      6. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool$LocalSchemaCache.<init>(SchemaTool.java:1376)
      7. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.getSchemaCache(SchemaTool.java:157)
      8. com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refreshTable(SchemaTool.java:458)
      9. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.refreshTable(DBSequenceFactory.java:174)
      10. com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:128)
      11. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:445)
      12. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1154)
      13. com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1096)
      13 frames
    4. com.cloverworxs.impl
      RoleBasedSecurityManagerImpl.createPermission
      1. com.cloverworxs.impl.as.security.RoleBasedSecurityManagerImpl.createPermission(RoleBasedSecurityManagerImpl.java:182)
      1 frame
    5. com.cloverworxs.test
      KODOConnectionsQAT.testCreate
      1. com.cloverworxs.test.KODOConnectionsQAT.testCreate(KODOConnectionsQAT.java:47)
      1 frame
    6. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl..java:25)
      3 frames