Re: [thredds] out of the box 4.5.1 - broken for me

You can even see my silly mistake in the original email - :(

 

<service name="dap4" serviceType="DAP4" base="/thredds/dap4/" />

<service name="wms" serviceType="WMS" base="/thredds/wms/" >

 

(Look at the wms one – see it is missing a / at the very end?)

 

Fixed now – all good.

 

Terry

 

From: Christian Ward-Garrison [mailto:cwardgar@xxxxxxxx] 
Sent: Friday, 1 August 2014 4:53 AM
To: Dennis Heimbigner
Cc: Rankine, Terry (Mineral Resources, Kensington); THREDDS community
Subject: Re: [thredds] out of the box 4.5.1 - broken for me

 

For anyone that's interested, the issue was that he had taken the example 
catalog at thredds.war/WEB-INF/altContent/startup/catalog.xml and uncommented 
the lines for the wcs, wms, and ncss services. But when he did so, he 
accidentally deleted the forward-slashes that close those service tags.

 

On Thu, Jul 31, 2014 at 2:47 PM, Christian Ward-Garrison <cwardgar@xxxxxxxx 
<mailto:cwardgar@xxxxxxxx> > wrote:

Hi Dennis,

I believe Terry resolved this issue in a subsequent email.

-Christian

 

On Thu, Jul 31, 2014 at 2:18 PM, Dennis Heimbigner <dmh@xxxxxxxx 
<mailto:dmh@xxxxxxxx> > wrote:

A couple of questions:
1. is the error 'Cannot read servlet resources directory'
    or is it 'Cannot locate servlet resources directory'?
2. If there is a stack trace with that error, can you please
   send it to me (dmh@xxxxxxxx <mailto:dmh@xxxxxxxx> )?
=Dennis Heimbigner
 Unidata

Terry.Rankine@xxxxxxxx <mailto:Terry.Rankine@xxxxxxxx>  wrote:

Hi Guys

 
Trying to do a fresh install of thredds, and from the WAR and (customising
the tds.properties, log4j locations, and catalog.xml) I get this

 
SEVERE: Servlet /thredds threw load() exception

dap4.core.util.DapException: Cannot read servlet resources directory:
/var/lib/tomcat7/webapps/thredds/WEB-INF/resources

 
Ubuntu 12.04 LTS  - Apache Tomcat/7.0.26

SunJavaPPA - java version "1.7.0_65"

Java(TM) SE Runtime Environment (build 1.7.0_65-b17)

 
And I cant seem to get the catalog.html or .xml up for my data. - Any
suggestions?

 
catalog.xml

<?xml version="1.0" encoding="UTF-8"?>

<catalog name="THREDDS Server Default Catalog : You must change this to fit
your server!"

 xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";

        xmlns:xlink="http://www.w3.org/1999/xlink";>

 
  <service name="all" base="" serviceType="compound">

    <service name="odap" serviceType="OpenDAP" base="/thredds/dodsC/" />

    <service name="dap4" serviceType="DAP4" base="/thredds/dap4/" />

    <service name="http" serviceType="HTTPServer"
base="/thredds/fileServer/" />

    <service name="wcs" serviceType="WCS" base="/thredds/wcs/" >

    <service name="wms" serviceType="WMS" base="/thredds/wms/" >

    <service name="ncss" serviceType="NetcdfSubset"
base="/thredds/ncss/grid/" >

  </service>

  <datasetScan name="DEM Data" ID="testDatasetScan" path="dem"
location="/data">

    <metadata inherited="true">

      <serviceName>all</serviceName>

      <dataType>Grid</dataType>

    </metadata>

    <filter>

      <include wildcard="*.nc"/>

      <include wildcard="*.nc4"/>

    </filter>

  </datasetScan>

</catalog>




------------------------------------------------------------------------

_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx> 
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/ 


_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx <mailto:thredds@xxxxxxxxxxxxxxxx> 
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/ 

 

 

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

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