Unidata / TdsConfig

Contents of TDS configuration directories for several variants including a TDS serving all Unidata IDD data
https://artifacts.unidata.ucar.edu/#browse/browse:downloads-tds-config
6 stars 12 forks source link

Workaround to fix HTTPServer service in textProds #117

Closed tdrwenski closed 2 years ago

tdrwenski commented 2 years ago

This is a workaround, I don't think that it should be necessary to define a compound service to use one of the base services. If you agree, I will open a GH issue in TDS to fix the actual bug (and add a task to remove this workaround here).

This should fix the error we are currently getting on thredds-dev:

Caused by: java.lang.AssertionError
    at thredds.server.catalogservice.CatalogViewContextParser.makeFileServerUrl(CatalogViewContextParser.java:317)
    at thredds.server.catalogservice.CatalogViewContextParser.getCatalogItemHref(CatalogViewContextParser.java:231)
    at thredds.server.catalogservice.CatalogViewContextParser.populateItemContext(CatalogViewContextParser.java:135)
    at thredds.server.catalogservice.CatalogViewContextParser.addCatalogItems(CatalogViewContextParser.java:126)
    at thredds.server.catalogservice.CatalogViewContextParser.populateItemContext(CatalogViewContextParser.java:145)
    at thredds.server.catalogservice.CatalogViewContextParser.addCatalogItems(CatalogViewContextParser.java:126)
    at thredds.server.catalogservice.CatalogViewContextParser.getCatalogViewContext(CatalogViewContextParser.java:64)
    at thredds.server.catalogservice.CatalogServiceController.handleHTMLRequest(CatalogServiceController.java:98)
    at thredds.server.catalogservice.CatalogServiceController.handleRequest(CatalogServiceController.java:67)
    at jdk.internal.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)