Meanwhile, could you please open a ticket so we keep track of that (as
Andrea said, it is more or less an abandoned module).
Thanks.

Regards,
Daniele

On Tue, Jan 19, 2021 at 11:05 AM Daniele Romagnoli <
daniele.romagn...@geo-solutions.it> wrote:

> Hi Andy,
> I will take a look on the issue.
> It might be that the packaging of the s3-geotiff community plugin was
> inheriting the ehcache jar from another module not actually needing it
> anymore so we might just need to update the release pom for that community
> piece to inlcude it again.
>
> Daniele
>
>
> On Tue, Jan 19, 2021 at 9:40 AM Andrea Aime <andrea.a...@geo-solutions.it>
> wrote:
>
>> Hi Andy,
>> looks like you're missing some EHCache jars, Not sure why though, the
>> GeoServer war should have it built-in?
>>
>> Regardless, the module in question has been abandoned for some time, the
>> original authors left and no one took it over.
>> In the meantime other members of the community worked on a new set of COG
>> support modules, that
>> is landing in the 2.18.2 release (to be released this week, maybe today).
>> Check the release announcements
>> as soon as they are published
>>
>> Cheers
>> Andrea
>>
>> On Mon, Jan 18, 2021 at 12:24 PM Arismendi, Andy <
>> andy.arisme...@rgi-corp.com> wrote:
>>
>>> Using the current geoserver-2.18.x-latest-war.zip the S3 geotiff appears
>>> to have stopped working. The error below appears to complain it can’t find
>>> a ehcache class. ehcache-3.4.0.jar is present in
>>> tomcat/webapps/geoserver/WEB-INF/lib.
>>>
>>> To reproduce:
>>>
>>>    - Install the s3 geotiff plugin:
>>>    
>>> https://build.geoserver.org/geoserver/2.18.x/community-latest/geoserver-2.18-SNAPSHOT-s3-geotiff-plugin.zip
>>>    - Set the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment
>>>    variables and start tomcat in the same shell
>>>    - Add a store with URL
>>>    s3://your-bucket/path/cog_file.tiff?awsRegion=YourAWSRegion
>>>
>>>
>>> This results in a WicketRuntimeException with the stack trace below.
>>>
>>> Thanks,
>>> -Andy
>>>
>>> It used to work with:
>>>
>>> version = 2.18-SNAPSHOT
>>> git revision = cf16e5a6c0f14b802d6d665b1d9d3f8c1aa2ed14
>>> git branch = origin/2.18.x
>>> build date = 15-Dec-2020 04:11
>>> geotools version = 24-SNAPSHOT
>>> geotools revision = ab11cbbec4b5f20c67412c8ba11f6c6dea3b1fcd
>>> geowebcache version = 1.18-SNAPSHOT
>>> geowebcache revision = 4ac71fc3bc6848927c8a4531ceb37de93c04a426/4ac71
>>> hudson build = -1
>>>
>>>
>>> Not working in:
>>>
>>> version = 2.18-SNAPSHOT
>>> git revision = d55bf28215089c5c69b94f17dc97aa4c44936cad
>>> git branch = origin/2.18.x
>>> build date = 15-Jan-2021 04:11
>>> geotools version = 24-SNAPSHOT
>>> geotools revision = e82df60dc5d206908f2d691bd3df4096515cbb7b
>>> geowebcache version = 1.18-SNAPSHOT
>>> geowebcache revision = a4571508b2aae66c899d2d95c0ef873294f96853/a4571
>>> hudson build = -1
>>>
>>>
>>> Caused by: java.lang.NoClassDefFoundError:
>>> net/sf/ehcache/constructs/blocking/CacheEntryFactory
>>> at
>>> org.geotools.s3.S3ImageInputStreamImpl.<init>(S3ImageInputStreamImpl.java:79)
>>> at
>>> org.geotools.s3.geotiff.S3GeoTiffFormat.getReader(S3GeoTiffFormat.java:112)
>>> at
>>> org.geotools.s3.geotiff.S3GeoTiffFormat.getReader(S3GeoTiffFormat.java:43)
>>> at
>>> org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1566)
>>> at
>>> org.geoserver.catalog.ResourcePool.getGridCoverageReader(ResourcePool.java:1511)
>>> at
>>> org.geoserver.catalog.impl.CoverageStoreInfoImpl.getGridCoverageReader(CoverageStoreInfoImpl.java:53)
>>> at
>>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
>>> Method)
>>> at
>>> java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
>>> Source)
>>> at
>>> java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
>>> Source)
>>> at java.base/java.lang.reflect.Method.invoke(Unknown Source)
>>> at
>>> org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:127)
>>> at com.sun.proxy.$Proxy36.getGridCoverageReader(Unknown Source)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPageProvider.getItemsInternal(NewLayerPageProvider.java:86)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPageProvider.getItems(NewLayerPageProvider.java:47)
>>> at
>>> org.geoserver.web.wicket.GeoServerDataProvider.getFilteredItems(GeoServerDataProvider.java:190)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPageProvider.getFilteredItems(NewLayerPageProvider.java:186)
>>> at
>>> org.geoserver.web.wicket.GeoServerDataProvider.size(GeoServerDataProvider.java:208)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.updateMatched(GeoServerTablePanel.java:664)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel$PagerDelegate.<init>(GeoServerTablePanel.java:659)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:237)
>>> at
>>> org.geoserver.web.wicket.GeoServerTablePanel.<init>(GeoServerTablePanel.java:106)
>>> at
>>> org.geoserver.web.data.layer.NewLayerPage$1.<init>(NewLayerPage.java:99)
>>> at org.geoserver.web.data.layer.NewLayerPage.<init>(NewLayerPage.java:98)
>>> at
>>> org.geoserver.web.data.store.CoverageStoreNewPage.onSuccessfulSave(CoverageStoreNewPage.java:86)
>>> at
>>> org.geoserver.web.data.store.CoverageStoreNewPage.onSave(CoverageStoreNewPage.java:71)
>>> at
>>> org.geoserver.web.data.store.AbstractCoverageStorePage$1.onSubmit(AbstractCoverageStorePage.java:141)
>>> at
>>> org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:111)
>>> at
>>> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$AjaxFormSubmitter.onSubmit(AjaxFormSubmitBehavior.java:215)
>>> at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1309)
>>> at org.apache.wicket.markup.html.form.Form.process(Form.java:976)
>>> at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:797)
>>> at
>>> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:171)
>>> at
>>> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:155)
>>> at
>>> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:601)
>>> ... 119 more
>>> Caused by: java.lang.ClassNotFoundException:
>>> net.sf.ehcache.constructs.blocking.CacheEntryFactory
>>> at
>>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1365)
>>> at
>>> org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1188)
>>> ... 153 more
>>> _______________________________________________
>>> 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://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
>> Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
>> (LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
>> http://www.geo-solutions.it 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
>>
>
>
> --
> Regards,
> Daniele Romagnoli
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Daniele Romagnoli
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> 55054  Massarosa (LU)
> Italy
> phone: +39 0584 962313
> fax:      +39 0584 1660272
>
> http://www.geo-solutions.it
> 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.
>


-- 
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:      +39 0584 1660272

http://www.geo-solutions.it
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