Avoid PAMParser init causing ImageMosaic to fail

Description

The main cause of this exception is that the class javax.xml.bind.JAXBException is loaded from a different jar than would be expected. This failure should be addressed in it.geosolutions.imageio.pam.PAMParser. The problem is that in my situation, and possibly for others, is that PAMParser has no meaning. Since the mosaic doesn’t consist of that kind of files.

What I will achieve is that PAMParser is lazely initiated in org.geotools.gce.imagemosaic.GranuleDescriptor, and any failure will be thrown appropriately.

 

Environment

Apache TomEE on Temurin 11 JDK

Activity

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created April 15, 2023 at 7:26 AM
Updated May 2, 2023 at 9:38 AM
Resolved May 2, 2023 at 9:38 AM