[Geoserver-devel] [JIRA] (GEOS-7813) Unable to start on disconnected network due to web.xml DTD reference

Jody Garnett [Administrator] created an issue

GeoServer / New FeatureGEOS-7813

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

Issue Type:

New FeatureNew Feature

Assignee:

Unassigned

Created:

25/Oct/16 6:36 PM

Priority:

MediumMedium

Reporter:

Jody Garnett [Administrator]

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>
      ...

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v1000.456.2#100016-sha1:c34488c)

Atlassian logo