org.apache.commons.dbcp.SQLNestedException

Cannot create PoolableConnectionFactory (Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor )

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web114

  • via Unknown by Carlos Lopez,
  • via Unknown by Carlos Lopez,
  • Stack trace

    • org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error: ORA-12514, TNS:listener does not currently know of service requested in connect descriptor ) at org.apache.commons.dbcp.BasicDataSource.createPoolableConnectionFactory(BasicDataSource.java:1549)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:1388)[commons-dbcp-1.4.jar:1.4] at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:1044)[commons-dbcp-1.4.jar:1.4] at org.apache.jackrabbit.core.util.db.OracleConnectionHelper.init(OracleConnectionHelper.java:54)[jackrabbit-core-2.4.2.jar:2.4.2] at org.apache.jackrabbit.core.fs.db.OracleFileSystem.createConnectionHelper(OracleFileSystem.java:151)[jackrabbit-core-2.4.2.jar:2.4.2] at org.apache.jackrabbit.core.fs.db.DatabaseFileSystem.init(DatabaseFileSystem.java:187)[jackrabbit-core-2.4.2.jar:2.4.2] at org.apache.jackrabbit.core.config.RepositoryConfigurationParser$6.getFileSystem(RepositoryConfigurationParser.java:1078)[jackrabbit-core-2.4.2.jar:2.4.2] at org.apache.jackrabbit.core.config.RepositoryConfig.getFileSystem(RepositoryConfig.java:916)[jackrabbit-core-2.4.2.jar:2.4.2] at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:262)[jackrabbit-core-2.4.2.jar:2.4.2] at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:589)[jackrabbit-core-2.4.2.jar:2.4.2] at org.springframework.extensions.jcr.jackrabbit.RepositoryFactoryBean.createRepository(RepositoryFactoryBean.java:68)[se-jcr-0.9.jar:] at org.springframework.extensions.jcr.RepositoryFactoryBean.afterPropertiesSet(RepositoryFactoryBean.java:61)[se-jcr-0.9.jar:] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)[spring-2.5.6.jar:2.5.6] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)[spring-2.5.6.jar:2.5.6] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)[spring-2.5.6.jar:2.5.6] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)[spring-2.5.6.jar:2.5.6] at java.security.AccessController.doPrivileged(Native Method)[rt.jar:1.7.0_40]

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    5 more bugmates