Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-7698

500 jsp Page throws an error because it cannot resolve the dtd for the entity-engine.xml file..... (most corps are behind a firewall)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.3.1
    • 3.3
    • None

    Description

      I did a quick fix - I dont know yet if it works:

      private Document getDocument(InputStream is) throws DocumentException
      {
      SAXReader reader = new SAXReader();
      EntityResolver entityResolver = new EntityResolver() {
      public InputSource resolveEntity(String publicId, String systemId) throws SAXException, IOException

      { return new InputSource(new ByteArrayInputStream("".getBytes())); }

      };
      reader.setEntityResolver(entityResolver);
      return reader.read(is);
      }

      Attachments

        Activity

          People

            anton@atlassian.com AntonA
            3b1ae0ec93c9 Nick Minutello
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: