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

Reply via email to