Connection timed out: connect

AppFuse JIRA | Paul Rule | 1 decade ago
  1. 0

    It would be convenient to include validator_1_1_3.dtd in the web application so that the application can be run without having a connection to the internet. It seems to be required when starting the application. I first came across the problem described in more detail below when trying to run the app behind a password protected proxy. I never did find out how to configure the proxy password settings in for the JVM. When the application starts, I get the exception shown below: ERROR - DefaultValidatorFactory.init(89) | Error loading validation rules in file: validation.xml Connection timed out: connect at Method) at ... It seems that because I am running behind a proxy (which is password protected) it blows up when it tries to get the DTD from the internet. This caused the application to fail with this exception when clicking on the 'View Demonstration' button: javax.servlet.ServletException: Servlet.init() for servlet action threw exception at org.apache.catalina.core.StandardWrapper.loadServlet( at org.apache.catalina.core.StandardWrapper.allocate( ... As a quick fix to test if this was really the issue, I changed the web/WEB-INF/validation.xml file to load the DTD from the local webserver therefore not going through the proxy i.e. In validation.xml I changed: to: and put the DTD on my webserver. Everything seemed to work then. I can successfully run the application and add/edit/delete users. I guess the real solution would be to configure the JVM with the proxy settings including username/password but I'll figure that out another time.

    AppFuse JIRA | 1 decade ago | Paul Rule Connection timed out: connect
  2. 0

    Unable to Consume Web-service in Eclipse

    Stack Overflow | 4 years ago | sayannayas Connection refused: connect
  3. 0

    ActiveMQ - User - Connection refused: connect, while running performance test on AMQ 5.2/5.3 | 9 months ago Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat - User - getting SEVERE: Catalina.stop: Connection refused error | 7 months ago Connection refused
  6. 0

    HttpURLConnection - Connection timed out | Apache | Users | 2 years ago Connection timed out

    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


      Connection timed out: connect

    2. Java RT
      1. Method)
      2 frames