I am trying to upgrade from 2.9.2 to 2.18.1 so I can configure per-layer WMS 
interpolation, but after the upgrade, I cannot add a new imagemosaic store.

Here's the beginning of the error from catalina.out:
15 Jan 16:01:17 WARN [geotools.jdbc] - Fetching fields from Database
15 Jan 16:01:18 ERROR [gce.imagemosaic] - java.util.Date cannot be cast to 
org.geotools.util.DateRange
java.lang.ClassCastException: java.util.Date cannot be cast to 
org.geotools.util.DateRange


Contents of indexer.properties:
TimeAttribute=ingestion
Schema=*the_geom:Polygon,location:String,ingestion:java.util.Date
PropertyCollectors=TimestampFileNameExtractorSPI[timeregex](ingestion)

Contents of timeregex.properties:
regex=[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}Z

Example file names:
2021-01-15T15:35:00.000Z.tiff
2021-01-15T15:40:00.000Z.tiff

Is there a different function to use instead of java.util.Date for this version 
of Geoserver?

_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to