Hey Fernando, I’ve noticed this too few days ago adding COG plugin, Since it was a standalone gist I’ve solved manually by adding in the dockerfile the following jar jackson-module-jaxb-annotations version 2.13.1
Regards, A- Alessio Cruciani Full stack developer & GIS specialist via Tiburtina, 912 | Roma, RM 00156 tel (+39) 06 862 995 86 | mobile (+39) 349 18 59 496 www.geodatalab.it | managem...@geodatalab.it Nota di riservatezza: Questa email contiene informazioni private e/o confidenziali. Se hai ricevuto questo messaggio per errore sei pregato di eliminarlo e notificare il mittente. Grazie per la collaborazione. Il 8 apr 2022, 16:20 +0200, Fernando Ribeiro <fernandin...@gmail.com>, ha scritto: > Hello all, > > I'm having weird behaviour on my brewed Geoserver Docker images when I try to > add the COG community plugin to the mix. > > In a nutshell, currently I am building customized Geoserver Docker images > with some pre-shipped plugins (such as ImagePyramid, Vector Tiles, etc...) > and now there is a new request to ship the COG plugin. > The assembly process is similar to next link, but I am doing it on image > build time: > https://github.com/terrestris/docker-geoserver/blob/master/startup.sh#L10 > > After adding the COG plugin to the list of pre-shipped plugins, Geoserver > does not start correctly with some jackson lib related errors: > > > cc-geoserver-lf-local | 2022-04-07T13:32:29.885268801Z at > > java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown > > Source) cc-geoserver-lf-local | 2022-04-07T13:32:29.885273949Z at > > java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown > > Source) cc-geoserver-lf-local | 2022-04-07T13:32:29.885279052Z at > > java.base/java.lang.reflect.Method.invoke(Unknown Source) > > cc-geoserver-lf-local | 2022-04-07T13:32:29.885283794Z at > > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:154) > > cc-geoserver-lf-local | 2022-04-07T13:32:29.885290433Z ... 58 more > > cc-geoserver-lf-local | 2022-04-07T13:32:29.885296524Z Caused by: > > java.lang.ClassNotFoundException: > > com.fasterxml.jackson.core.util.JacksonFeature cc-geoserver-lf-local | > > 2022-04-07T13:32:29.885300650Z at > > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407) > > cc-geoserver-lf-local | 2022-04-07T13:32:29.885326291Z at > > org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215) > > cc-geoserver-lf-local | 2022-04-07T13:32:29.885335566Z ... 76 more > > For reference, I am using `tomcat:9-jre11-openjdk-slim` as base image for > geoserver docker images. > > I already 'backported' the image without the COG plugin and everything runs > fine, so I can narrow down the issue to be COG plugin related. > > Thanks in advance! > > Regards, > -- > Fernando Ribeiro > _______________________________________________ > 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
_______________________________________________ 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