Dear all, Thanks for the suggestions but the problem still persists.
@Alessio - Copying manually the JAR didn't solve the problem for me. @Andrea - The current image assembly strategy is based on injecting an env var with the target geoserver version for sourceforge artifacts download and later image build. So there is no way different version artifacts are being mixed up during image build. I spent some hours over the issue and changed my current tomcat base image to be the same as in the geoserver official image (tomcat:9-jdk11-openjdk) and started the 'backport' process from there: - 2.20.3 -> Broken - 2.19.5 -> Broken *- 2.18.5 -> Works!* I am not following the geoserver roadmap closely, but it seems something was introduced during 2.19.x series that might have caused this issue with the COG plugin. Thanks in advance! Regards, Fernando Ribeiro On Sat, 9 Apr 2022 at 06:47, Alexandre Gacon <alexandre.ga...@gmail.com> wrote: > Andrea, once again a problem with the Jackson libs, after the one with the > ogc API extension > > Le ven. 8 avr. 2022 à 18:50, Andrea Aime < > andrea.a...@geosolutionsgroup.com> a écrit : > >> Strange... the jackson libraries the COG plugin depends onto are also >> found in the base GeoServer war file (jackson core, annotations, databind, >> checked 2.20.x nightly builds). >> But we recently upgraded the jackson version, wondering if you are mixing >> a released version (with older >> jackson) with the COG plugin (which as a nightly, depends on newer ones). >> >> Cheers >> Andrea >> >> On Fri, Apr 8, 2022 at 4:18 PM Fernando Ribeiro <fernandin...@gmail.com> >> wrote: >> >>> 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 >>> >> >> >> -- >> >> Regards, >> >> Andrea Aime >> >> == >> GeoServer Professional Services from the experts! >> >> Visit http://bit.ly/gs-services-us for more information. >> == >> >> Ing. Andrea Aime >> @geowolf >> Technical Lead >> >> GeoSolutions Group >> phone: +39 0584 962313 >> >> fax: +39 0584 1660272 >> >> mob: +39 333 8128928 >> >> https://www.geosolutionsgroup.com/ >> >> http://twitter.com/geosolutions_it >> >> ------------------------------------------------------- >> >> Con riferimento alla normativa sul trattamento dei dati personali (Reg. >> UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si >> precisa che ogni circostanza inerente alla presente email (il suo >> contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è >> riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il >> messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra >> operazione è illecita. Le sarei comunque grato se potesse darmene notizia. >> >> This email is intended only for the person or entity to which it is >> addressed and may contain information that is privileged, confidential or >> otherwise protected from disclosure. We remind that - as provided by >> European Regulation 2016/679 “GDPR” - copying, dissemination or use of this >> e-mail or the information herein by anyone other than the intended >> recipient is prohibited. If you have received this email by mistake, please >> notify us immediately by telephone or e-mail >> _______________________________________________ >> 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 >> > -- 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