If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

Check if your MongoDB is available.


You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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.
    via by Paul Rule,
  • Unable to Consume Web-service in Eclipse
    via Stack Overflow by sayannayas
  • RMI & connection refused
    via by Duane Evenson,
    • Connection timed out: connect at Method) at

    Users with the same issue

    Михайло Тітов
    16 times, last one,
    8 times, last one,
    4 times, last one,
    377 times, last one,
    2 times, last one,
    274 more bugmates