Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2794

validator plug-in throws unknownHostException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 1.1.0
    • None
    • Unknown
    • None
    • Operating System: Solaris
      Platform: Sun
    • 38960

    Description

      In our validator-rules.xml, we have:

      <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons
      Validator Rules Configuration
      1.1.3//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd">

      In our validation.xml, we have:
      <?xml version="1.0" encoding="ISO-8859-1" ?>
      <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons
      Validator Rules Configuration
      1.0//EN" "http://jakarta.apache.org/commons/dtds/validator_1_0.dtd">

      When we try to deploy our application to jboss, we got the
      unknownHostException, and the jboss failed to start. After several attempts to
      do so, however, the server was started successfully.

      I searched the knowledge base for the problem and found that it was an old bug
      that had been fixed. However I found the suggested solution to the problem
      confusing. Some suggested that we should remove the doctype declaration at the
      top of the two xml files. Some say we should add back the declaration if it
      does not exist in the files. Some say we should modify the content of the
      declaration. Some other say we should get the latest version of the jar file.

      My question is which suggestion should we take? If we need to get the latest
      version of the jar file, what is/are these jar files and what version?

      Thanks in advance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cyoyeung@yahoo.com Cindy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: