java.net.ConnectException: Connection refused

Oracle Community | Sanjeev-OFM | 1 year ago
  1. 0

    UCM & IPM Server url is not accessible

    Oracle Community | 1 year ago | Sanjeev-OFM
    java.net.ConnectException: Connection refused
  2. 0

    BEA-001129:Received exception while creating connection for pool

    Oracle Community | 3 years ago | 22594585-d026-47cd-8968-40b4a8b46976
    java.net.ConnectException: Connection refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    weblogic 10g R3 to Oracle RAC 11G

    Oracle Community | 8 years ago | 652313
    java.net.ConnectException: No such file or directory
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. java.net.ConnectException

    Connection refused

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
    3. java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
    4. java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    6. java.net.Socket.connect(Socket.java:579)
    6 frames
  3. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.nt.MetricsEnabledSocket.connect(TcpNTAdapter.java:631)
    2. oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:164)
    3. oracle.net.nt.ConnOption.connect(ConnOption.java:137)
    4. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:374)
    5. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:438)
    6. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:711)
    7. oracle.net.ns.NSProtocol.connect(NSProtocol.java:257)
    8. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1229)
    9. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:326)
    10. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:678)
    11. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:234)
    12. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:34)
    13. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:567)
    13 frames
  4. weblogic.jdbc.common
    ConnectionEnvFactory.createResource
    1. weblogic.jdbc.common.internal.ConnectionEnvFactory.makeConnection(ConnectionEnvFactory.java:357)
    2. weblogic.jdbc.common.internal.ConnectionEnvFactory.createResource(ConnectionEnvFactory.java:239)
    2 frames
  5. weblogic.common.resourcepool
    ResourcePoolImpl.reserveResource
    1. weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1310)
    2. weblogic.common.resourcepool.ResourcePoolImpl.makeResources(ResourcePoolImpl.java:1227)
    3. weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:451)
    4. weblogic.common.resourcepool.ResourcePoolImpl.reserveResource(ResourcePoolImpl.java:343)
    4 frames
  6. weblogic.jdbc.common
    DataSourceRuntimeMBeanImpl.getDatabaseProductVersion
    1. weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:471)
    2. weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:368)
    3. weblogic.jdbc.common.internal.ConnectionPool.reserve(ConnectionPool.java:353)
    4. weblogic.jdbc.common.internal.DataSourceRuntimeMBeanImpl.lookupMetaData(DataSourceRuntimeMBeanImpl.java:740)
    5. weblogic.jdbc.common.internal.DataSourceRuntimeMBeanImpl.getMetaData(DataSourceRuntimeMBeanImpl.java:762)
    6. weblogic.jdbc.common.internal.DataSourceRuntimeMBeanImpl.getDatabaseProductVersion(DataSourceRuntimeMBeanImpl.java:783)
    6 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:606)
    4 frames
  8. weblogic.management.jmx
    WLSModelMBean.getAttributes
    1. weblogic.management.jmx.modelmbean.WLSModelMBean.getAttribute(WLSModelMBean.java:525)
    2. weblogic.management.jmx.modelmbean.WLSModelMBean.getAttributes(WLSModelMBean.java:585)
    2 frames
  9. Java RT
    JmxMBeanServer.getAttributes
    1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getAttributes(DefaultMBeanServerInterceptor.java:709)
    2. com.sun.jmx.mbeanserver.JmxMBeanServer.getAttributes(JmxMBeanServer.java:705)
    2 frames
  10. weblogic.management.jmx
    WLSMBeanServerInterceptorBase$13.run
    1. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$13.run(WLSMBeanServerInterceptorBase.java:353)
    1 frame
  11. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  12. weblogic.management.jmx
    WLSMBeanServerInterceptorBase.getAttributes
    1. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttributes(WLSMBeanServerInterceptorBase.java:351)
    1 frame
  13. weblogic.management.mbeanservers
    JMXContextInterceptor.getAttributes
    1. weblogic.management.mbeanservers.internal.JMXContextInterceptor.getAttributes(JMXContextInterceptor.java:192)
    1 frame
  14. weblogic.management.jmx
    WLSMBeanServerInterceptorBase$13.run
    1. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$13.run(WLSMBeanServerInterceptorBase.java:353)
    1 frame
  15. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  16. weblogic.management.jmx
    WLSMBeanServerInterceptorBase.getAttributes
    1. weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.getAttributes(WLSMBeanServerInterceptorBase.java:351)
    1 frame
  17. weblogic.management.mbeanservers
    SecurityInterceptor.getAttributes
    1. weblogic.management.mbeanservers.internal.SecurityInterceptor.getAttributes(SecurityInterceptor.java:307)
    1 frame
  18. weblogic.management.jmx
    WLSMBeanServer.getAttributes
    1. weblogic.management.jmx.mbeanserver.WLSMBeanServer.getAttributes(WLSMBeanServer.java:292)
    1 frame
  19. oracle.as.jmx
    SuperPrivilegedMBeanServerInterceptor$2.run
    1. oracle.as.jmx.framework.generic.BaseMBeanServerInterceptor.getAttributes(BaseMBeanServerInterceptor.java:191)
    2. oracle.as.jmx.framework.wls.spi.security.SuperPrivilegedMBeanServerInterceptor$2.run(SuperPrivilegedMBeanServerInterceptor.java:94)
    2 frames
  20. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
    1 frame
  21. oracle.as.jmx
    SuperPrivilegedMBeanServerInterceptor.getAttributes
    1. oracle.as.jmx.framework.wls.spi.security.SuperPrivilegedMBeanServerInterceptor.getAttributes(SuperPrivilegedMBeanServerInterceptor.java:99)
    1 frame
  22. oracle.dms.impl
    J2EETableSource.getTable
    1. oracle.dms.impl.producer.MetricConvertor.getColumnValues(MetricConvertor.java:384)
    2. oracle.dms.impl.producer.MetricConvertor.getTable(MetricConvertor.java:342)
    3. oracle.dms.impl.producer.J2EETableSource.getTable(J2EETableSource.java:91)
    3 frames
  23. oracle.dms.table
    TableSource.getTables
    1. oracle.dms.table.MultiTableSource.getTable(MultiTableSource.java:107)
    2. oracle.dms.table.TableSource.getTables(TableSource.java:276)
    2 frames
  24. oracle.dms.aggregator
    Sampler$SampleTask.run
    1. oracle.dms.aggregator.Storage.getTables(Storage.java:712)
    2. oracle.dms.aggregator.Sampler._sampleTable(Sampler.java:710)
    3. oracle.dms.aggregator.Sampler._setOff(Sampler.java:675)
    4. oracle.dms.aggregator.Sampler.access$200(Sampler.java:43)
    5. oracle.dms.aggregator.Sampler$SampleTask.run(Sampler.java:846)
    5 frames
  25. Java RT
    ThreadPoolExecutor$Worker.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
    3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
    5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    6 frames
  26. oracle.dms.aggregator
    DmsThreadFactory$1$1.run
    1. oracle.dms.aggregator.DmsThreadFactory$1$1.run(DmsThreadFactory.java:56)
    1 frame
  27. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  28. oracle.dms.aggregator
    DmsThreadFactory$1.run
    1. oracle.dms.aggregator.DmsThreadFactory$1.run(DmsThreadFactory.java:51)
    1 frame
  29. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:745)
    1 frame