Further testing has revealed that to specify an absolute path to a
catalog file (.xml) that is located in a sub-directory of
$TOMCAT_HOME\content\thredds the xlink:href has to start with
"/thredds/" and not just "/" as documented
logConfiguration.html), at least on a Windows server. That is to say the
catlogRef entry needs to read: <catalogRef xlink:title="GRIB Test
Catalog" xlink:href="/thredds/test/grib_catalog.xml" name=""/>
Even so, use of the $TOMCAT_HOME\content\thredds\catalog sub-directory
still fails, i.e. xlink:href="/thredds/catalog/grib_catalog.xml" does
not work. So does using a sub-directory of .\thredds\catalog, i.e.
xlink:href="/thredds/catalog/test/grib_catalog.xml" fails. I'm assuming
that "catalog" may be some kind of reserved word, presumably because the
default root catalog is "catalog.xml".
From: Comiskey, Glenn
Sent: 04 July 2011 13:22
Subject: RE:[thredds] THREDDS Catalogs
Have upgraded to v4.2.7 and subsequently discovered that use of
$TOMCAT_HOME\content\thredds\catalog directory (NOTE: Path specified
using backslash as working on a Windows server) in a catalogRef, whether
it be "catalog/grib_catalog.xml" or /catalog/grib_catalog.xml", does not
work. However, creating a new sub-directory, i.e.
$TOMCAT_HOME\content\thredds\test, and using
xlink:href="test/grib_catalog.xml" works, though
xlink:href="/test/grib_catalog.xml" still fails.
Cannot readily find any difference between the .\catalog and the .\test
directories to explain behaviour, i.e. both appear to have the same
Date: Thu, 30 Jun 2011 12:17:47 +0100
From: "Comiskey, Glenn" <g.comiskey@xxxxxxxx>
Subject: [thredds] THREDDS Catalogs
Content-Type: text/plain; charset="us-ascii"
Have a root catalog ($TOMCAT_HOME\content\thredds\catalog.xml) with a
catalogRef entry "<catalogRef xlink:title="Datasets Catalog"
xlink:href="datasets_catalog.xml" name="" />" with the catalog file
datasets_catalog.xml in the same directory.
The datasets_catalog.xml has a catalogReg entry " <catalogRef
xlink:title="GRIB Test Catalog" xlink:href="/catalog/grib_catalog.xml"
name="" />" with catalog file grib_catalog.xml in the directory
$TOMCAT_HOME\content\thredds\catalog. However when browsing the THREDDS
catalog and accessing the "GRIB Test Catalog" I get an HTTP 404 error.
According to the TDS Catalogs web page
logConfiguration.html) is states that use of a slash (/) when detailing
a xlink:href attribute points to a catalog beneath the root catalog
path, i.e. $TOMCAT\content\thredds +\catalog\grib_catalog.xml =
$TOMCAT\content\thredds\catalog\grib_catalog.xml. Am I missing something
or is something not working properly in THREDDS v4.2.6?
Note: Have specified the xlink:ref using both backslash and slash as the
server is running on Windows which uses the backslash as the path
seperator, but get the same result regardless.
Data System Administrator