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