On 06/16/2016 04:45 PM, Ben Calton wrote:
One of the causes of this is the DOCTYPE definition in the WMS config
file. It references an external .dtd accessible over http, however,
there is a local copy included with the install that you can reference
instead.
In /var/lib/tomcat/content/thredds/wmsConfig.xml the first line looks
like this:
<!DOCTYPE wmsConfig SYSTEM
"http://www.unidata.ucar.edu/schemas/thredds/dtd/ncwms/wmsConfig.dtd">
change it to this:
<!DOCTYPE wmsConfig SYSTEM "content/thredds/wmsConfig.dtd">
and your THREDDS instance should start without an internet connection.
The diagnosis seems plausible, but there should be no need to
alterwmsConfig.xml to resolve the URI to a local file – that is what XML
Catalogs are for:
https://en.wikipedia.org/wiki/XML_Catalog
You probably will have a file /etc/xml/catalog on your system. Adding the
following line should to it should solve the problem:
<system
systemId="http://www.unidata.ucar.edu/schemas/thredds/dtd/ncwms/wmsConfig.dtd"
uri="/var/lib/tomcat/content/thredds/"content/thredds/wmsConfig.dtd"/>
-geir