org.apache.openjpa.util.StoreException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

Oracle Community | 850366 | 6 years ago
  1. 0

    Weblogic Server Failed to start! Help!

    Oracle Community | 6 years ago | 850366
    org.apache.openjpa.util.StoreException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  2. 0

    ORA-12505 startWebLogic.sh

    Oracle Community | 6 months ago | user12187090
    java.lang.RuntimeException: There were errors initializing your configuration: <openjpa-1.1.1-SNAPSHOT-r422266:1172209 fatal store error> org.apache.openjpa.util.StoreException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  3. 0

    hibernate_慕课问答

    imooc.com | 1 year ago
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    Stack Overflow | 3 years ago | Learner
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
  6. 0

    [Resolved] ORA-12505, TNS:listener does not currently know of SID given in connect descriptor - oracle - Developer World

    webatall.com | 12 months ago
    java.sql.SQLException: Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
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. oracle.net.ns.NetException

    Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor

    at oracle.net.ns.NSProtocol.connect()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.ns.NSProtocol.connect(NSProtocol.java:394)
    2. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)
    3. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)
    4. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:538)
    5. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:228)
    6. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)
    7. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)
    7 frames
  3. com.solarmetric.jdbc
    PoolingDataSource.getConnection
    1. com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:272)
    2. com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:413)
    3. com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:290)
    4. com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:199)
    4 frames
  4. OpenJPA Aggregate Jar
    OracleDictionary.ensureDriverVendor
    1. org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)
    2. org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    3. org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)
    4. org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)
    5. org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:782)
    6. org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource2(JDBCConfigurationImpl.java:789)
    7. org.apache.openjpa.jdbc.sql.OracleDictionary.ensureDriverVendor(OracleDictionary.java:253)
    7 frames
  5. kodo.jdbc.sql
    OracleAdvancedSQL.getBatchLimit
    1. kodo.jdbc.sql.OracleAdvancedSQL.setDriverVendorDefaults(OracleAdvancedSQL.java:50)
    2. kodo.jdbc.sql.OracleAdvancedSQL.getBatchLimit(OracleAdvancedSQL.java:28)
    2 frames
  6. kodo.jdbc.kernel
    AutoOrderUpdateManager.setConfiguration
    1. kodo.jdbc.kernel.AutoOrderUpdateManager.setConfiguration(AutoOrderUpdateManager.java:56)
    1 frame
  7. OpenJPA Aggregate Jar
    JDBCConfigurationImpl.getUpdateManagerInstance
    1. org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:473)
    2. org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:430)
    3. org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:103)
    4. org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)
    5. org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getUpdateManagerInstance(JDBCConfigurationImpl.java:577)
    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. OpenJPA Aggregate Jar
    AbstractBrokerFactory.pool
    1. org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)
    2. org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)
    3. org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)
    4. org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)
    4 frames
  10. kodo.jdbc.kernel
    KodoJDBCBrokerFactory.getInstance
    1. kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)
    1 frame
  11. 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
  12. OpenJPA Aggregate Jar
    Bootstrap.getBrokerFactory
    1. org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)
    2. org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)
    2 frames
  13. com.bea.common
    ServicesImpl.getService
    1. com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)
    2. com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)
    3. com.bea.common.security.storeservice.util.StoreServiceDelegate.<init>(StoreServiceDelegate.java:98)
    4. com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)
    5. com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)
    6. com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)
    7. com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)
    8. com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)
    8 frames
  14. weblogic.security.service
    SecurityServiceManager.initialize
    1. weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)
    2. weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:299)
    3. weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)
    4. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)
    5. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)
    6. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)
    7. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)
    8. weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)
    9. weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)
    9 frames
  15. weblogic.security
    SecurityService.start
    1. weblogic.security.SecurityService.start(SecurityService.java:141)
    1 frame
  16. weblogic.t3.srvr
    SubsystemRequest.run
    1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    1 frame
  17. weblogic.work
    ExecuteThread.run
    1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    2. weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    2 frames