org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (invalid authorization specification - not found: SA)

Tridion | ARRX | 4 months ago
  1. 0

    Web 8 - Context Engine Catridge - Creating Device database Issue

    Tridion | 4 months ago | ARRX
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (invalid authorization specification - not found: SA)
  2. 0

    Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)

    Stack Overflow | 2 years ago | user2342259
    org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'root'@'localhost' (using password: YES))
  3. 0

    Not able to connect to Database with oci8

    Stack Overflow | 3 years ago | SCoder
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-12154: TNS:could not resolve the connect identifier specified
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SonarQube Installation with Oracle DB - Getting user does not exists

    Stack Overflow | 3 years ago | Venkat
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (ORA-01435: user does not exist )
  6. 0

    Apache-Mina FTPServer Database User Manager failure

    Stack Overflow | 5 years ago | Jason
    org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'user'@'localhost' (using password: YES))

  1. Mathias S 1 times, last 11 months ago
8 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. org.apache.commons.dbcp.SQLNestedException

    Cannot create PoolableConnectionFactory (invalid authorization specification - not found: SA)

    at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory()
  2. Commons DBCP
    BasicDataSource.getConnection
    1. org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)[commons-dbcp-1.4.jar:1.4]
    2. org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)[commons-dbcp-1.4.jar:1.4]
    3. org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)[commons-dbcp-1.4.jar:1.4]
    3 frames
  3. org.hibernate.engine
    DatasourceConnectionProviderImpl.getConnection
    1. org.hibernate.engine.jdbc.connections.internal.DatasourceConnectionProviderImpl.getConnection(DatasourceConnectionProviderImpl.java:139)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    1 frame
  4. Hibernate
    Configuration.buildSessionFactory
    1. org.hibernate.tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.prepare(SuppliedConnectionProviderConnectionHelper.java:51)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    2. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:219)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    3. org.hibernate.tool.hbm2ddl.SchemaUpdate.execute(SchemaUpdate.java:203)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    4. org.hibernate.internal.SessionFactoryImpl.<init>(SessionFactoryImpl.java:522)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    5. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1859)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    6. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1930)[hibernate-core-4.3.9.Final.jar:4.3.9.Final]
    6 frames
  5. Spring ORM
    LocalSessionFactoryBean.afterPropertiesSet
    1. org.springframework.orm.hibernate4.LocalSessionFactoryBuilder.buildSessionFactory(LocalSessionFactoryBuilder.java:372)[spring-orm-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    2. org.springframework.orm.hibernate4.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:454)[spring-orm-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    3. org.springframework.orm.hibernate4.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:439)[spring-orm-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    3 frames
  6. Spring Beans
    AbstractBeanFactory.doGetBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    4. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    6. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    7. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    8. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    9. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1120)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    10. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1044)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    11. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:942)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    12. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:533)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    13. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    14. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    15. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1210)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    16. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:537)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    17. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    18. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    19. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    20. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)[spring-beans-4.1.7.RELEASE.jar:4.1.7.RELEASE]
    20 frames