org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.

Server Fault | Chandramohan | 5 years ago
  1. 0

    hadoop - Hive metadata permission issue - Server Fault

    serverfault.com | 1 year ago
    org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.
  2. 0

    Hive metadata permission issue

    Server Fault | 5 years ago | Chandramohan
    org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.
  3. 0

    Make validation query used in oxalis-jdbc-dbcp configurable

    GitHub | 3 years ago | glassius
    java.lang.IllegalStateException: Unable to retrieve connection org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: ValidateObject failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    hibernate.exception.GenericJDBCException: Cannot open connection

    Stack Overflow | 4 years ago | Abhineet Bhamra
    org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Cannot open connection
  6. 0

    DSpace Tech Support - java.util.NoSuchElementException: Timeout waiting for idle object

    nabble.com | 8 months ago
    org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Timeout waiting for idle object

  1. Yosef Moatti 1 times, last 10 months ago
4 unregistered visitors
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. java.util.NoSuchElementException

    Could not create a validated object, cause: A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection.

    at org.apache.commons.pool.impl.GenericObjectPool.borrowObject()
  2. Commons Pool
    GenericObjectPool.borrowObject
    1. org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1191)
    1 frame
  3. Commons DBCP
    PoolingDataSource.getConnection
    1. org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)
    2. org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)
    2 frames
  4. DataNucleus RDBMS plugin
    RDBMSStoreManager.<init>
    1. org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl.getConnection(ConnectionFactoryImpl.java:521)
    2. org.datanucleus.store.rdbms.RDBMSStoreManager.<init>(RDBMSStoreManager.java:290)
    2 frames
  5. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    4 frames
  6. DataNucleus Core
    ObjectManagerFactoryImpl.initialiseStoreManager
    1. org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:588)
    2. org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:300)
    3. org.datanucleus.ObjectManagerFactoryImpl.initialiseStoreManager(ObjectManagerFactoryImpl.java:161)
    3 frames
  7. DataNucleus Enhancer
    JDOPersistenceManagerFactory.getPersistenceManagerFactory
    1. org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:583)
    2. org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:298)
    3. org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:601)
    4. org.datanucleus.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:286)
    5. org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:182)
    5 frames
  8. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:597)
    4 frames
  9. JDO API
    JDOHelper$16.run
    1. javax.jdo.JDOHelper$16.run(JDOHelper.java:1958)
    1 frame
  10. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  11. JDO API
    JDOHelper.getPersistenceManagerFactory
    1. javax.jdo.JDOHelper.invoke(JDOHelper.java:1953)
    2. javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1159)
    3. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:803)
    4. javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:698)
    4 frames
  12. Hive Metastore
    ObjectStore.setConf
    1. org.apache.hadoop.hive.metastore.ObjectStore.getPMF(ObjectStore.java:234)
    2. org.apache.hadoop.hive.metastore.ObjectStore.getPersistenceManager(ObjectStore.java:261)
    3. org.apache.hadoop.hive.metastore.ObjectStore.initialize(ObjectStore.java:196)
    4. org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:171)
    4 frames
  13. Hadoop
    ReflectionUtils.newInstance
    1. org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)
    2. org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
    2 frames
  14. Hive Metastore
    HiveMetaStoreClient.<init>
    1. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:354)
    2. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.executeWithRetry(HiveMetaStore.java:306)
    3. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:451)
    4. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:232)
    5. org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.<init>(HiveMetaStore.java:197)
    6. org.apache.hadoop.hive.metastore.HiveMetaStoreClient.<init>(HiveMetaStoreClient.java:108)
    6 frames
  15. Hive Query Language
    Hive.createTable
    1. org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:1868)
    2. org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:1878)
    3. org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:470)
    3 frames