Is there anything else I can do to help investigate this issue? Our simplest test is: 1) Put 1 granule (we use 1 jpg and 1 jgw world file) in a folder (data_dir/myFolder) w/ a datastore.properties [datastore.properties] StoreName=cite:ImageMosaicPostGIS
cite:ImageMosaicPostGIS is a PostGIS datastore points to a local vanilla Postgres (15) that has postgis installed. 2) Manually create an ImageMosaic Store pointing to data_dir/myFolder using the GeoServer web interface. GeoServer versions prior to 2.22 will create the table in Postgres and create a .properties file for the Store then send you to the Edit Layer page. GeoServer 2.22 will stacktrace a variety of problems w/ GeoTools developer logging. I tried remote Java debugging GeoTools 28.2 with GeoServer 2.22.2 in intellij but I end up with a variety of stack traces that aren’t explicitly helpful and stepping through was a bit confusing. Creating the Image Mosaic Store without the datastore.properties (and using the Shapefile indexing) works fine. Is there anything else I can do to document the problem? I could make a videocast or something but idk if that’s helpful at all. Thanks again! From: Jody Garnett <jody.garn...@gmail.com> Sent: Saturday, April 22, 2023 3:14 AM To: Mort, Ashley C RTX <ashley.c.m...@rtx.com> Cc: geoserver-users@lists.sourceforge.net Subject: [External] Re: [Geoserver-users] Error while creating store with raster data -image mosaic Thanks for the detail, the information in screen snap (and the information when a raster cannot be accessed) is not always useful for troubleshooting. I assume you updated to Java 11, is the com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi still available in Java 11? What happens if you take a few granules and place them in a folder to generate a new image mosaic? You could compare a newly generated datastore.properties to the one you have been using. Jody On Fri, Apr 21, 2023 at 8:41 PM Mort, Ashley C RTX via Geoserver-users <geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>> wrote: I wanted to provide a little more detail on this question. We’re working with an ImageMosaic Store that we’ve used successfully with every major GeoServer version from 2.17 - 2.21 but we are having the problems Ashish mentioned on GeoServer 2.22 or 2.23. We configure our Store to index the granules in Postgres using the ImageMosaic configuration files. [datastore.properties] StoreName=cite:ImageMosaicPostGIS [BrowseImageMosaicStore.properties] ExpandToRGB=false TypeName=BrowseImageMosaicStore SuggestedFormat=org.geotools.gce.image.WorldImageFormat Name=BrowseImageMosaicStore SuggestedSPI=com.sun.imageio.plugins.jpeg.JPEGImageReaderSpi LevelsNum=1 PathType=ABSOLUTE Heterogeneous=false Caching=false HeterogeneousCRS=false LocationAttribute=location Levels=1.2793554128E-4,1.0810019425E-4 CheckAuxiliaryMetadata=false MosaicCRS=EPSG\:404000 [indexer.properties] Caching=false AbsolutePath=true Schema=*the_geom:Polygon,location:String PropertyCollectors= From: Jonchhen, Ashish RTX via Geoserver-users <geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net>> Sent: Friday, April 21, 2023 3:19 PM To: geoserver-users@lists.sourceforge.net<mailto:geoserver-users@lists.sourceforge.net> Subject: [External] [Geoserver-users] Error while creating store with raster data -image mosaic Hi, So we are trying to switch to Geoserver 2.22.2 version, but running into following problem while trying to create a store with image mosaic. I tried to test on the 2.21 version, it works on that with our properties. However, on 2.22 and above, it’s the same error I am seeing. Attached are the logs and a screenshot of the UI. Please let me know if you have solution for this. I have seen online that users are having some error while upgrading to the 2.22 and above. Please let me know if you have any question for me. Thank you Ashish Jonchhen Software Engineer I C : +1 620.757.3966 ashish.jonch...@rtx.com<mailto:ashish.jonch...@rtx.com> He/Him/His Raytheon Intelligence & Space 1717 E. Cityline Drive<https://urldefense.com/v3/__https:/www.google.com/maps/search/1717*E.*Cityline*Drive**A0D*0A*Richardson,*TX*75082?entry=gmail&source=g__;KysrKyUlKysr!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoJfxBVeg$> Richardson, TX 75082<https://urldefense.com/v3/__https:/www.google.com/maps/search/1717*E.*Cityline*Drive**A0D*0A*Richardson,*TX*75082?entry=gmail&source=g__;KysrKyUlKysr!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoJfxBVeg$> RTX.com<https://www.rtx.com/> | LinkedIn<https://urldefense.com/v3/__https:/www.linkedin.com/company/raytheontechnologies__;!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoflSJ3vM$> | Twitter<https://urldefense.com/v3/__https:/twitter.com/raytheontech__;!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoPULLWWY$> | Instagram<https://urldefense.com/v3/__https:/www.instagram.com/raytheontechnologies__;!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoQq7FTMg$> _______________________________________________ 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#/<https://urldefense.com/v3/__http:/www.ianturton.com/talks/foss4g.html*/__;Iw!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoFuQw-Q4$> - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html<https://urldefense.com/v3/__http:/geoserver.org/comm/userlist-guidelines.html__;!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9UoxDEoQN8$> 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<https://urldefense.com/v3/__https:/github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer__;!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9Uo3W1zU00$> Geoserver-users@lists.sourceforge.net<mailto:Geoserver-users@lists.sourceforge.net> https://lists.sourceforge.net/lists/listinfo/geoserver-users<https://urldefense.com/v3/__https:/lists.sourceforge.net/lists/listinfo/geoserver-users__;!!MvWE!H2mlJ7xYAuJ3J6KI2-nDYLjfzhVMgTv4YUNRfTMaqvXLRW65v2tNUFYDUErd7hp0VDhwN0B2jyDjP9Uo0tIhu0E$> -- -- Jody Garnett
_______________________________________________ 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