Uploaded image for project: 'GeoServer'
  1. GEOS-7813

Unable to start on disconnected network due to web.xml DTD reference

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Medium
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: 2.12.2
    • Component/s: None
    • Labels:
      None

      Description

      I had the joy of working without internet recently, and was unable to start the application due to web.xml containing a DTD reference. The parsing of web.xml happens deep within the jetty application server (so I cannot easily supply my own entity resolver), the only way I was able to start up was by commenting out the DTD at the top of the web.xml file:

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- !DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"-->
      <web-app>
          <display-name>GeoServer</display-name>  
          <context-param>
            <param-name>serviceStrategy</param-name>
            ...
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jody.garnett Jody Garnett
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: