Troubleshooting


Check log files for errors

  1. ${tomcat.home}/logs/catalina.out: This is where Tomcat prints messages about Tomcat startup and uncaught exceptions from any webapp.
  2. ${tomcat.home}/logs/localhost.{date}.log: This is where log messages for Tomcat are sent.
  3. ${tomcat.home}/content/thredds/logs/serverStartup.log: As TDS starts up, it logs messages here. Errors and warnings in your catalog configuration files are shown here.
  4. ${tomcat.home}/content/thredds/logs/threddsServlet.log: Each request that the TDS responds to gets logged here. Errors and warnings that are associated with a request are logged here.
  5. ${tomcat.home}/content/thredds/logs/models.log: Errors and warning specific to gridded data may be shown here (optional).

Common errors in the TDS Configuration Catalogs:

Duplicate path(s)

If you accidentally use the same path in more than one data root, you will get an error in catalog.

  <datasetRoot path="testdup" location="C:/data/" />
<datasetScan name="duplicate path" path="testdup" location="/home/workshop/data/" serviceName="dodsServer" /> 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

Data directory doesnt exist

   <datasetRoot path="sage" location="C:/data/notexist/" />

  In ${tomcat.home}/content/thredds/logs/serverStartup.log:
  **Error: Data Root =sage directory= <C:/data/notexist/> does not exist

DatasetScan has missing or invalid service

  <datasetScan name="bad service name" path="segundo" location="C:/data/" serviceName="badd" />
  <datasetScan name="no service name" path="tertiary" location="C:/data/" />
  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

Data not compatible with service

  <dataset name="inappropriate service" urlPath="images/labyrinth.jpg" serviceName="dodsServer" dataType="Grid" />

Data file does not exist

  <dataset name="no data (opendap)" ID="Y" urlPath="images/labyrinth.nc" serviceName="dodsServer" dataType="Grid" />

 

DatasetScan points to an empty directory

Aggregation scan points to an empty directory

Duplicate ids


This document is maintained by John Caron and was last updated on May 27, 2009