java.net.ConnectException: Connection timed out

strutstestcase | *anonymous | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Troubles with sample test cases

    strutstestcase | 1 decade ago | *anonymous
    java.net.ConnectException: Connection timed out
  2. 0

    WorkbenchFile(WorkbenchResource).testXMLProperty causes long timeout and ConnectException

    Eclipse Bugzilla | 1 decade ago | todd
    java.net.ConnectException: Connection timed out: connect

    Root Cause Analysis

    1. java.net.ConnectException

      Connection timed out

      at org.apache.crimson.parser.Parser2.fatal()
    2. org.apache.crimson
      XMLReaderImpl.parse
      1. org.apache.crimson.parser.Parser2.fatal(Parser2.java:3182)
      2. org.apache.crimson.parser.Parser2.externalParameterEntity(Parser2.java:2870)
      3. org.apache.crimson.parser.Parser2.maybeDoctypeDecl(Parser2.java:1167)
      4. org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:489)
      5. org.apache.crimson.parser.Parser2.parse(Parser2.java:305)
      6. org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:442)
      6 frames
    3. Java RT
      SAXParser.parse
      1. org.xml.sax.helpers.XMLReaderAdapter.parse(XMLReaderAdapter.java:223)
      2. javax.xml.parsers.SAXParser.parse(SAXParser.java:362)
      3. javax.xml.parsers.SAXParser.parse(SAXParser.java:137)
      3 frames
    4. org.apache.struts
      Digester.parse
      1. org.apache.struts.digester.Digester.parse(Digester.java:755)
      1 frame
    5. struts
      ActionServlet.init
      1. org.apache.struts.action.ActionServlet.initMapping(ActionServlet.java:1332)
      2. org.apache.struts.action.ActionServlet.init(ActionServlet.java:466)
      2 frames
    6. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:258)
      1 frame
    7. servletunit.struts
      MockStrutsTestCase.actionPerform
      1. servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:216)
      2. servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:259)
      2 frames
    8. Vert.x Core
      TestLoginAction.testFailedLogin
      1. examples.TestLoginAction.testFailedLogin(TestLoginAction.java:50)
      1 frame
    9. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      1 frame
    10. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:166)
      2. junit.framework.TestCase.runBare(TestCase.java:140)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:131)
      7. junit.framework.TestSuite.runTest(TestSuite.java:173)
      8. junit.framework.TestSuite.run(TestSuite.java:168)
      8 frames
    11. Junit4Osgi
      TestRunner$17.run
      1. junit.swingui.TestRunner$17.run(TestRunner.java:644)
      1 frame