java.sql.SQLException

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

Solutions on the web15648

  • A connection could not be obtained in the specified login time of 5 seconds.
  • via Oracle Community by 3004, 1 year ago
    A connection could not be obtained in the specified login time of 0 seconds.
  • via Oracle Community by 3004, 1 year ago
    A connection could not be obtained in the specified login time of 0 seconds.
  • Stack trace

    • java.sql.SQLException: A connection could not be obtained in the specified login time of 5 seconds. at com.solarmetric.datasource.DataSourceImpl$AbstractPool.timeout(DataSourceImpl.java:615) at com.solarmetric.datasource.DataSourceImpl$AbstractPool.getConnection(DataSourceImpl.java:589) at com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:326) at com.solarmetric.datasource.DataSourceImpl.getConnection(DataSourceImpl.java:319) at com.solarmetric.kodo.impl.jdbc.runtime.DataSourceConnector.getConnection(DataSourceConnector.java:51) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnectionFromFactory(SQLExecutionManagerImpl.java:183) at com.solarmetric.kodo.impl.jdbc.SQLExecutionManagerImpl.getConnection(SQLExecutionManagerImpl.java:142) at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.getConnection(SchemaTool.java:126) at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool$LocalSchemaCache.cacheTables(SchemaTool.java:1383) at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool$LocalSchemaCache.<init>(SchemaTool.java:1376) at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.getSchemaCache(SchemaTool.java:157) at com.solarmetric.kodo.impl.jdbc.schema.SchemaTool.refreshTable(SchemaTool.java:458) at com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.refreshTable(DBSequenceFactory.java:174) at com.solarmetric.kodo.impl.jdbc.schema.DBSequenceFactory.getNext(DBSequenceFactory.java:128) at com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:445) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistentFilter(PersistenceManagerImpl.java:1154) at com.solarmetric.kodo.runtime.PersistenceManagerImpl.makePersistent(PersistenceManagerImpl.java:1096) at com.cloverworxs.impl.as.security.RoleBasedSecurityManagerImpl.createPermission(RoleBasedSecurityManagerImpl.java:182) at com.cloverworxs.test.KODOConnectionsQAT.testCreate(KODOConnectionsQAT.java:47) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.