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 Oracle Community by 850366, 1 year ago
Listener refused the connection with the following error: ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
via Oracle Community by 559287, 1 year ago
Исключение ввода/вывода: The Network Adapter could not establish the connection
via Google Groups by hofmanndavid, 2 years ago
Not supported by BasicDataSource
via Oracle Community by user12027124, 1 year ago
IO Error: The Network Adapter could not establish the connection
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(NSProtocol.java:394)	at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1056)	at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:308)	at oracle.jdbc.driver.PhysicalConnection.(PhysicalConnection.java:538)	at oracle.jdbc.driver.T4CConnection.(T4CConnection.java:228)	at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:32)	at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:521)	at com.solarmetric.jdbc.PoolingDataSource.newConnection(PoolingDataSource.java:272)	at com.solarmetric.jdbc.ConnectionPoolImpl.makeConnection(ConnectionPoolImpl.java:413)	at com.solarmetric.jdbc.ConnectionPoolImpl.getConnection(ConnectionPoolImpl.java:290)	at com.solarmetric.jdbc.PoolingDataSource.getConnection(PoolingDataSource.java:199)	at org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:113)	at org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)	at org.apache.openjpa.jdbc.schema.DataSourceFactory.installDBDictionary(DataSourceFactory.java:227)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getConnectionFactory(JDBCConfigurationImpl.java:684)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource(JDBCConfigurationImpl.java:782)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getDataSource2(JDBCConfigurationImpl.java:789)	at org.apache.openjpa.jdbc.sql.OracleDictionary.ensureDriverVendor(OracleDictionary.java:253)	at kodo.jdbc.sql.OracleAdvancedSQL.setDriverVendorDefaults(OracleAdvancedSQL.java:50)	at kodo.jdbc.sql.OracleAdvancedSQL.getBatchLimit(OracleAdvancedSQL.java:28)	at kodo.jdbc.kernel.AutoOrderUpdateManager.setConfiguration(AutoOrderUpdateManager.java:56)	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:473)	at org.apache.openjpa.lib.conf.Configurations.configureInstance(Configurations.java:430)	at org.apache.openjpa.lib.conf.PluginValue.instantiate(PluginValue.java:103)	at org.apache.openjpa.lib.conf.ObjectValue.instantiate(ObjectValue.java:83)	at org.apache.openjpa.jdbc.conf.JDBCConfigurationImpl.getUpdateManagerInstance(JDBCConfigurationImpl.java:577)	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 org.apache.openjpa.lib.conf.ConfigurationImpl.instantiateAll(ConfigurationImpl.java:288)	at org.apache.openjpa.conf.OpenJPAConfigurationImpl.instantiateAll(OpenJPAConfigurationImpl.java:1409)	at org.apache.openjpa.kernel.AbstractBrokerFactory.makeReadOnly(AbstractBrokerFactory.java:646)	at org.apache.openjpa.kernel.AbstractBrokerFactory.pool(AbstractBrokerFactory.java:131)	at kodo.jdbc.kernel.KodoJDBCBrokerFactory.getInstance(KodoJDBCBrokerFactory.java:43)	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 org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:124)	at org.apache.openjpa.kernel.Bootstrap.getBrokerFactory(Bootstrap.java:90)	at com.bea.common.security.storeservice.util.StoreServiceDelegate$StoreSerivceHelper.getPersistenceManagerFactory(StoreServiceDelegate.java:347)	at com.bea.common.security.storeservice.util.StoreServiceDelegate.initJDO(StoreServiceDelegate.java:145)	at com.bea.common.security.storeservice.util.StoreServiceDelegate.(StoreServiceDelegate.java:98)	at com.bea.common.security.internal.service.StoreServiceImpl.init(StoreServiceImpl.java:76)	at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:363)	at com.bea.common.engine.internal.ServiceEngineImpl.findOrStartService(ServiceEngineImpl.java:315)	at com.bea.common.engine.internal.ServiceEngineImpl.lookupService(ServiceEngineImpl.java:257)	at com.bea.common.engine.internal.ServicesImpl.getService(ServicesImpl.java:72)	at weblogic.security.service.internal.WLSIdentityServiceImpl.initialize(WLSIdentityServiceImpl.java:46)	at weblogic.security.service.CSSWLSDelegateImpl.initializeServiceEngine(CSSWLSDelegateImpl.java:299)	at weblogic.security.service.CSSWLSDelegateImpl.initialize(CSSWLSDelegateImpl.java:220)	at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.InitializeServiceEngine(CommonSecurityServiceManagerDelegateImpl.java:1785)	at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealm(CommonSecurityServiceManagerDelegateImpl.java:442)	at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadRealm(CommonSecurityServiceManagerDelegateImpl.java:840)	at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initializeRealms(CommonSecurityServiceManagerDelegateImpl.java:869)	at weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1028)	at weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:873)	at weblogic.security.SecurityService.start(SecurityService.java:141)	at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)	at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)	at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)