java.sql.SQLException: The Network Adapter could not establish the connection

Oracle Community | Piyush.Kothari | 6 years ago
  1. 0

    Error while connecting to DB Schema from WebLogic

    Oracle Community | 6 years ago | Piyush.Kothari
    java.sql.SQLException: The Network Adapter could not establish the connection
  2. 0

    Server starts on 8080 port only. 1.30 version

    GitHub | 4 years ago | ggrafu
    java.lang.RuntimeException: org.apache.http.conn.HttpHostConnectException: Connection to http://localhost:8080 refused
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    How to subscribe on JMS topic through Mule?

    Stack Overflow | 2 years ago | jorrebor
    javax.naming.CommunicationException: Could not obtain connection to any of these urls: 127.0.0.1:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [Root exception is javax.naming.CommunicationException: Failed to connect to server /127.0.0.1:1099 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server /127.0.0.1:1099 [Root exception is java.net.ConnectException: Connection refused: connect]]]
  5. 0

    Connection refused to LDAP (Java)

    Stack Overflow | 4 years ago | Nicky
    java.net.ConnectException: Connection refused: connect

  1. richard77 2 times, last 5 days ago
  2. treefolk 1 times, last 2 weeks ago
  3. kjhdofjosvs 20 times, last 2 weeks ago
  4. Andreas Häber 9 times, last 2 weeks ago
  5. Aria Pahlavan 2 times, last 2 weeks ago
45 more registered users
50 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. java.net.ConnectException

    Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect()
  2. Java RT
    Socket.connect
    1. java.net.PlainSocketImpl.socketConnect(Native Method)
    2. java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    3. java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    4. java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    5. java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    6. java.net.Socket.connect(Socket.java:529)
    6 frames
  3. Oracle jdbc
    OracleXADataSource.getXAConnection
    1. oracle.net.nt.MetricsEnabledSocket.connect(TcpNTAdapter.java:465)
    2. oracle.net.nt.TcpNTAdapter.connect(TcpNTAdapter.java:134)
    3. oracle.net.nt.ConnOption.connect(ConnOption.java:130)
    4. oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:310)
    5. oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:425)
    6. oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:646)
    7. oracle.net.ns.NSProtocol.connect(NSProtocol.java:212)
    8. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1076)
    9. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:303)
    10. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:640)
    11. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:205)
    12. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
    13. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:554)
    14. oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:388)
    15. oracle.jdbc.xa.client.OracleXADataSource.getPooledConnection(OracleXADataSource.java:645)
    16. oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:265)
    17. oracle.jdbc.xa.client.OracleXADataSource.getXAConnection(OracleXADataSource.java:141)
    17 frames
  4. com.bea.console
    CreateJDBCDataSource.testConnectionConfiguration
    1. com.bea.console.utils.jdbc.JDBCUtils.testConnection(JDBCUtils.java:550)
    2. com.bea.console.actions.jdbc.datasources.createjdbcdatasource.CreateJDBCDataSource.testConnectionConfiguration(CreateJDBCDataSource.java:458)
    2 frames
  5. 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
  6. org.apache.beehive
    FlowControllerAction.execute
    1. org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
    2. org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
    3. org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
    4. org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
    5. org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
    6. org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
    6 frames
  7. struts
    RequestProcessor.processActionPerform
    1. org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
    1 frame
  8. org.apache.beehive
    PageFlowRequestProcessor.processActionPerform
    1. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
    2. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
    3. org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
    4. org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
    5. org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
    6. org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
    7. org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
    8. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
    8 frames
  9. com.bea.console
    ConsolePageFlowRequestProcessor.processActionPerform
    1. com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
    1 frame
  10. struts
    RequestProcessor.process
    1. org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
    1 frame
  11. org.apache.beehive
    PageFlowActionServlet.process
    1. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
    2. org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
    3. org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
    4. org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
    4 frames
  12. com.bea.console
    ConsoleActionServlet.process
    1. com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
    1 frame
  13. struts
    ActionServlet.doGet
    1. org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
    1 frame
  14. com.bea.console
    ConsoleActionServlet.doGet
    1. com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
    1 frame
  15. org.apache.beehive
    PageFlowUtils.strutsLookup
    1. org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
    1 frame
  16. com.bea.portlet
    NetuiActionHandler.raiseScopedAction
    1. com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
    2. com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.processActionInternal(ScopedContentCommonSupport.java:142)
    3. com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.processAction(PageFlowStubImpl.java:106)
    4. com.bea.portlet.adapter.NetuiActionHandler.raiseScopedAction(NetuiActionHandler.java:111)
    4 frames
  17. com.bea.netuix
    SingleFileServlet.service
    1. com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:181)
    2. com.bea.netuix.servlets.controls.content.NetuiContent.raiseScopedAction(NetuiContent.java:167)
    3. com.bea.netuix.servlets.controls.content.NetuiContent.handlePostbackData(NetuiContent.java:225)
    4. com.bea.netuix.nf.ControlLifecycle$2.visit(ControlLifecycle.java:180)
    5. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:324)
    6. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    7. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    8. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    9. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    10. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    11. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    12. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    13. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    14. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    15. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    16. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    17. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    18. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    19. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    20. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    21. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    22. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    23. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    24. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    25. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    26. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    27. com.bea.netuix.nf.ControlTreeWalker.walkRecursive(ControlTreeWalker.java:334)
    28. com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:130)
    29. com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
    30. com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
    31. com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:352)
    32. com.bea.netuix.nf.Lifecycle.runInbound(Lifecycle.java:184)
    33. com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:159)
    34. com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
    35. com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
    36. com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
    37. com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
    37 frames
  18. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  19. com.bea.console
    MBeanUtilsInitSingleFileServlet.service
    1. com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
    1 frame
  20. weblogic.servlet
    AsyncInitServlet.service
    1. weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
    1 frame
  21. Atmosphere weblogic
    WebAppServletContext$ServletInvocationAction.run
    1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    4. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    5. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    6. weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    7. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    8. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
    9. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
    9 frames
  22. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  23. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    1 frame
  24. Atmosphere weblogic
    ServletRequestImpl.run
    1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    3 frames
  25. weblogic.work
    ExecuteThread.run
    1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    2. weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    2 frames