Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via serverfault.com by Unknown author, 2 years ago
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.
via Server Fault by Chandramohan
, 1 year ago
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.
via hive-user by Periya.Data, 2 years ago
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.
via hive-user by Vivek Mishra, 2 years ago
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.
via hive-user by Vivek Mishra, 2 years ago
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.
via hive-user by Jasper Knulst, 2 years ago
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.
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(GenericObjectPool.java:1191)	at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106)	at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114)	at org.datanucleus.store.rdbms.ConnectionFactoryImpl$ManagedConnectionImpl.getConnection(ConnectionFactoryImpl.java:521)	at org.datanucleus.store.rdbms.RDBMSStoreManager.(RDBMSStoreManager.java:290)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at org.datanucleus.plugin.NonManagedPluginRegistry.createExecutableExtension(NonManagedPluginRegistry.java:588)	at org.datanucleus.plugin.PluginManager.createExecutableExtension(PluginManager.java:300)	at org.datanucleus.ObjectManagerFactoryImpl.initialiseStoreManager(ObjectManagerFactoryImpl.java:161)	at org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:583)	at org.datanucleus.jdo.NucleusJDOHelper.getJDOExceptionForNucleusException(NucleusJDOHelper.java:298)	at org.datanucleus.jdo.JDOPersistenceManagerFactory.freezeConfiguration(JDOPersistenceManagerFactory.java:601)	at org.datanucleus.jdo.JDOPersistenceManagerFactory.createPersistenceManagerFactory(JDOPersistenceManagerFactory.java:286)	at org.datanucleus.jdo.JDOPersistenceManagerFactory.getPersistenceManagerFactory(JDOPersistenceManagerFactory.java:182)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at javax.jdo.JDOHelper$16.run(JDOHelper.java:1958)	at java.security.AccessController.doPrivileged(Native Method)	at javax.jdo.JDOHelper.invoke(JDOHelper.java:1953)	at javax.jdo.JDOHelper.invokeGetPersistenceManagerFactoryOnImplementation(JDOHelper.java:1159)	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:803)	at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:698)	at org.apache.hadoop.hive.metastore.ObjectStore.getPMF(ObjectStore.java:234)	at org.apache.hadoop.hive.metastore.ObjectStore.getPersistenceManager(ObjectStore.java:261)	at org.apache.hadoop.hive.metastore.ObjectStore.initialize(ObjectStore.java:196)	at org.apache.hadoop.hive.metastore.ObjectStore.setConf(ObjectStore.java:171)	at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:62)	at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.getMS(HiveMetaStore.java:354)	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.executeWithRetry(HiveMetaStore.java:306)	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.createDefaultDB(HiveMetaStore.java:451)	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.init(HiveMetaStore.java:232)	at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.(HiveMetaStore.java:197)	at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.(HiveMetaStoreClient.java:108)	at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:1868)	at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:1878)	at org.apache.hadoop.hive.ql.metadata.Hive.createTable(Hive.java:470)