It appears Quartz is using the 'name' attribute on a featureCollection for a
unique ID internally. Since the 'name' attribute on a featureColllection does
not have to be unique within a THREDDS catalog, it is possible to break the job
scheduler.
Should Quartz be using the "path" of a dataset to uniquely identify an update
job rather than the "name"?
[2012-06-13T16:51:37.791+0200] ERROR thredds.inventory.CollectionUpdater:
cronExecutor failed to schedule startup Job for Config{name='Domain1',...}
org.quartz.ObjectAlreadyExistsException: Unable to store Job with name:
'Domain1' and group: 'UpdateCollection', because one already exists with this
identification.
Example config that will generate the error (two different datasets with the
same "name='Domain1'"). Live here:
http://ocean.uca.es:8080/thredds/catalog.html
<dataset name="UCA2D">
<featureCollection name="Domain1" path="fmrc/uca2d/Domain1"
featureType="FMRC" harvest="true">
...
<collection spec="C:/ProductionData/UCA2D/Domain1/**/.*\.nc$"
recheckAfter="15 min"
olderThan="5 min"/>
<update startup="true" rescan="0 */12 * * * ? *" />
</featureCollection>
</dataset>
<dataset name="UCA3D">
<featureCollection name="Domain1" path="fmrc/uca3d/Domain1"
featureType="FMRC" harvest="true">
...
<collection spec="C:/ProductionData/UCA3D/Domain1/**/.*\.nc$"
recheckAfter="15 min"
olderThan="5 min"/>
<update startup="true" rescan="0 */12 * * * ? *" />
</featureCollection>
</dataset>