Re: 20051116:Help getting THREDDS going



Unidata Support wrote:
------- Forwarded Message


To: support@xxxxxxxxxxxxxxxx
From: "Arthur A. Person" <person@xxxxxxxxxxxxx>
Subject: Help getting THREDDS going
Organization: UCAR/Unidata
Keywords: 200511162245.jAGMjh7s018557


Hi...

I'm trying to get a basic thredds server going using a simple configuration but am having trouble. Here's my $tomcat_home/content/thredds/catalog.xml:


<?xml version="1.0" encoding="UTF-8"?>
<catalog name="PSU Meteorology Department Data Archives"

xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
         xmlns:xlink="http://www.w3.org/1999/xlink";>

   <service name="Test" serviceType="HTTPServer" base="" />
   <datasetScan name="Model Data" path="model_archive" scanDir="/data/test/" />

</catalog>

You need to tell datasetScan which service to use:

   <datasetScan name="Model Data" path="model_archive" scanDir="/data/test/" >
      <metadata inherited="true">
        <serviceName>Test</serviceName>
      </metadata>
   </datasetScan>




/data/test/model_archive contains:

-rw-r--r-- 1 ldm ldmsys 72148302 Nov 28 2004 AVN_20041128_002.00Z -rw-r--r-- 1 ldm ldmsys 71951716 Nov 29 2004 AVN_20041129_002.00Z -rw-r--r-- 1 ldm ldmsys 72199382 Nov 30 2004 AVN_20041130_002.00Z -rw-r--r-- 1 ldm ldmsys 72004292 Dec 1 2004 AVN_20041201_002.00Z -rw-r--r-- 1 ldm ldmsys 72119872 Dec 2 2004 AVN_20041202_002.00Z




In $tomcat_home/logs/catalina.out, I see:

INFO thredds.servlet.ServletUtil : thredds.servlet.ThreddsDefault.init() 2005-11-16 17:26:19.542 [ 0] INFO thredds.servlet.ThreddsDefault : --- initialized thredds.servlet.ThreddsDefault 2005-11-16 17:26:19.564 [ 22] 2005-11-16T17:26:19.968 -0500 [ 426][ 1] ERROR - thredds.servlet.ThreddsDefault - Error initializing catalog catalog.xml; null
java.lang.NullPointerException
at thredds.servlet.CatalogHandler.findDatasetScans(CatalogHandler.java:329) at thredds.servlet.CatalogHandler._initCatalog(CatalogHandler.java:301) at thredds.servlet.CatalogHandler._initCatalog(CatalogHandler.java:239)
   .
   .
   .





http://server.meteo.psu.edu:8080/thredds/catalog.html gives:

Catalog http://server.meteo.psu.edu:8080/thredds/catalog.xml has fatal errors:
----Catalog Validation version 1.0.01

**Fatal: InvCatalogFactory.readXML failed

Exception= java.io.FileNotFoundException 
http://server.meteo.psu.edu:8080/thredds/catalog.xml

fatalMessages

errMessages

warnMessages

** Cant open URL <http://server.meteo.psu.edu:8080/thredds/catalog.xml>

Response code = 404

Not Found


One question I have is whether I need some other server running besides tomcat/thredds to get this going (e.g. apache or DODS)...? I guess I'm just expecting thredds to list the data files when I give it the above catalog.xml file... What am I doing wrong?


                                  Art.

Arthur A. Person
Research Assistant, System Administrator
Penn State Department of Meteorology
email:  person@xxxxxxxxxxxxx, phone:  814-863-1563

--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.

------- End of Forwarded Message


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