NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[thredds] Fwd: TDS without Internet connection


MfG
Benjamin Ebermann 
Von meinem iPhone gesendet

Anfang der weitergeleiteten E‑Mail:

> Von: Benjamin Ebermann <Benjamin.Ebermann@xxxxxxxxxxxxx>
> Datum: 20. Juni 2016 um 11:19:12 MESZ
> An: thredds@xxxxxxxxxxxxxxxx
> Betreff: Re: [thredds] TDS without Internet connection
> 
> Thanks for answering. The TDS is be start, but the wms-controller is not 
> working. The Error-Message is:
> 
> 2016-06-20T11:03:13.696+0200 [     10378][        ] ERROR 
> org.springframework.web.servlet.DispatcherServlet: Context initialization 
> failed
> org.springframework.beans.factory.BeanCreationException: Error creating bean 
> with name 'wmsController' defined in ServletContext resource 
> [/WEB-INF/wms-servlet.xml]: Invocation of init method failed; nested 
> exception is thredds.server.wms.config.WmsConfigException: 
> org.jdom2.input.JDOMParseException: Error on line 2: Document is invalid: no 
> grammar found.
> 
> Thanks
> Benjamin
> 
> 
> 
> 
>> On 17.06.2016 10:59, Geir Aalberg wrote:
>>> 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
>> 
>> _______________________________________________
>> NOTE: All exchanges posted to Unidata maintained email lists are
>> recorded in the Unidata inquiry tracking system and made publicly
>> available through the web.  Users who post to any of the lists we
>> maintain are reminded to remove any personal information that they
>> do not want to be made public.
>> 
>> 
>> thredds mailing list
>> thredds@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe,  visit: 
>> http://www.unidata.ucar.edu/mailing_lists/
> 
> -- 
> ------------------------------------------------------------------------
> Benjamin Ebermann                     phone : +49-351-463.33840
> Institut fuer Planetare Geodaesie     fax   : +49-351-463.37063
> Technische Universitaet Dresden       email : benjamin.ebermann@xxxxxxxxxxxxx
> D-01062 Dresden, Germany              web   : tu-dresden.de/geo/ipg/gef
> ------------------------------------------------------------------------
> 
> 
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
> 
> 
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit: 
> http://www.unidata.ucar.edu/mailing_lists/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: