Troubleshooting
<datasetRoot path="testdup" location="C:/data/" />
<datasetScan name="duplicate path" path="testdup" location="/home/workshop/data/" serviceName="dodsServer" />
you will get an error message in ${tomcat.home}/content/thredds/logs/serverStartup.log:
Error: already have dataRoot =<testdup> mapped to directory= <C:/data/> wanted to map to=</home/workshop/data/> in catalog
<dataset name="Test Single Dataset 2" ID="testDataset2" serviceName="odap" urlPath="test/testData2.grib2" dataType="Grid" />
<dataset name="Test Single Dataset 3" ID="testDataset2" serviceName="odap" urlPath="test/testData3.grib3" dataType="Grid" />
you will get an error message in ${tomcat.home}/content/thredds/logs/serverStartup.log:
WARNING: Duplicate id on 'THREDDS Catalog Name/Test Single Dataset 3' id= 'testDataset2'
If you refer to a non-existant directory:
<datasetRoot path="sage" location="C:/data/notexist/" />
<datasetScan path="sage" location="C:/data/notexist/" />
you will get an error message in ${tomcat.home}/content/thredds/logs/serverStartup.log:
Data Root =sage directory= <C:/data/notexist /> does not exist
or:
Invalid InvDatasetScan <path=testAll; scanLocation=bad/content/testdata>: CrawlableDataset for scanLocation does not exist.
... Dropping this datasetScan [testAll].
If you refer to a non-existant service, or omit a service:
<datasetScan name="bad service name" path="segundo" location="C:/data/" serviceName="badd" /> <datasetScan name="no service name" path="tertiary" location="C:/data/" />
you will get an error message in ${tomcat.home}/content/thredds/logs/serverStartup.log:
**Error: DatasetScan (Top Dataset/bad service name ): must have a default service **Error: DatasetScan (Top Dataset/no service name): must have a default service
If you use a service on a file which that service cant deal with:
<dataset name="Image of my Data" urlPath="images/labyrinth.jpg" serviceName="dodsServer" dataType="Grid" />
If you refer to a non-existant file in a dataset:
<dataset name="My Data" ID="Y" urlPath="images/labyrinth.nc" serviceName="dodsServer" dataType="Grid" />
No warning - but when you try to access the dataset, client gets:
Error { code = 500;
message = "There are no datasets in the aggregation DatasetCollectionManager{
collectionName='/data/goes/**/.gini' recheck=15.0 min dir=/data/goes/ filter=WildcardMatchOnPath{wildcard=*.gini$ regexp=.*\.gini$}";
};
and the threddsServlet.log has:
SEVERE: path= /ncmlTest.html
java.lang.IllegalStateException: There are no datasets in the aggregation DatasetCollectionManager{
collectionName='/data/goes/**/.gini' recheck=15.0 min dir=/data/goes/ filter=WildcardMatchOnPath{wildcard=*.gini$ regexp=.*\.gini$}
This document is maintained by John Caron and was last updated July 2011