Re: [Geoserver-users] New OGC API Feartures dosn't support GML and HTML templates

2022-08-11 Thread Paweł Soczewski via Geoserver-users
Hi Nuno,

I did the ticket for this issue: 
https://osgeo-org.atlassian.net/browse/GEOS-10619


R.
pawel


W dniu 11.08.2022 o 10:30, Nuno Oliveira pisze:
Hi Paweł,
that looks like a classpath issue, would you open up a ticket for this?

Thank you,
Nuno Oliveira

On Thu, Aug 11, 2022 at 9:09 AM Paweł Soczewski via Geoserver-users 
mailto:geoserver-users@lists.sourceforge.net>>
 wrote:
Hi All,

I want to move the production implementation of OGC API-Feature service
based on an early version of Geoserver 2.19.x. up to newer version.
Unfortunately both 2.20.x and 2.21.x don't support custom  GML and HTML
user templates. After choosing HTML and GML encoding the server the
server responds with an error:

{"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError:
org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"}

However custom templates for GeoJSON and JSON-LD work fine. I use the
same configuration as works fine in early 2.19.x.

When I don't use my custom GML and HTML temaplates and Geoserver uses
predefined formating, the service works fine as well.

I also tested the last version of 2.19.x with latest dedicated for it
moduls OGC API and Feature Templating and it dosen't work too but the
reason is diffrent. After instaling .jar libraries the Geoserver
application dosen't started. When delete libraries OGC API and Feature
Templating libraries it works fine.

Any idea how to fix it?


Regards,

pawel




Paweł Soczewski
Główny Specjalista ds. Infrastruktury Przestrzennej
+48502415540

GISPartner Sp. z o.o.
ul. Jana Długosza 60
51-162 Wrocław

NIP 898-20-27-647
KRS 173717
Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy Krajowego Rejestru Sądowego
KAPITAŁ ZAKŁADOWY 1.000.000 zł

[https://www.gispartner.pl/GP-1.png]
[https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png][https://www.gispartner.pl/GP-2c.png][https://www.gispartner.pl/GP-2d.png][https://www.gispartner.pl/GP-2e.png]

___
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,

Nuno Oliveira

== GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information. == Nuno Miguel 
Carvalho Oliveira @nmcoliveira Technical Lead / Project Manager

GeoSolutions Group phone: +39 0584 962313 fax:  +39 0584 1660272 
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.


Paweł Soczewski
Główny Specjalista ds. Infrastruktury Przestrzennej
+48502415540

GISPartner Sp. z o.o.
ul. Jana Długosza 60
51-162 Wrocław

NIP 898-20-27-647
KRS 173717
Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy Krajowego Rejestru Sądowego
KAPITAŁ ZAKŁADOWY 1.000.000 zł

[https://www.gispartner.pl/GP-1.png]
[https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png][https://www.gispartner.pl/GP-2c.png][https://www.gispartner.

Re: [Geoserver-users] New OGC API Feartures dosn't support GML and HTML templates

2022-08-11 Thread Andrea Aime
Hi Paweł,
looks like you're using two community modules
 there, the
OGC API one, and the
features templating one. The error is strange, it makes me think of a
version mis-alignment.

Just to make sure, are you using everything properly aligned, in particular:

   - OGC API and Features templating from the same version of GeoServer
   - A GeoServer 2.21.x nightly built the day as the two plugins?

Using a release of GeoServer with nightly builds of the plugins _might_
work, but might also give the results you're seeing,
if any change occurred in the middle.

If you use everything from the same build and it still occurs, it might
also be a packaging issue.
Do you have the full stack trace, from the logs?

Cheers
Andrea


On Thu, Aug 11, 2022 at 10:09 AM Paweł Soczewski via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi All,
>
> I want to move the production implementation of OGC API-Feature service
> based on an early version of Geoserver 2.19.x. up to newer version.
> Unfortunately both 2.20.x and 2.21.x don't support custom  GML and HTML
> user templates. After choosing HTML and GML encoding the server the
> server responds with an error:
>
> {"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError:
>
> org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"}
>
> However custom templates for GeoJSON and JSON-LD work fine. I use the
> same configuration as works fine in early 2.19.x.
>
> When I don't use my custom GML and HTML temaplates and Geoserver uses
> predefined formating, the service works fine as well.
>
> I also tested the last version of 2.19.x with latest dedicated for it
> moduls OGC API and Feature Templating and it dosen't work too but the
> reason is diffrent. After instaling .jar libraries the Geoserver
> application dosen't started. When delete libraries OGC API and Feature
> Templating libraries it works fine.
>
> Any idea how to fix it?
>
>
> Regards,
>
> pawel
>
>
>
>
> Paweł Soczewski
> Główny Specjalista ds. Infrastruktury Przestrzennej
> +48502415540
>
> GISPartner Sp. z o.o.
> ul. Jana Długosza 60
> 51-162 Wrocław
>
> NIP 898-20-27-647
> KRS 173717
> Sąd Rejonowy dla Wrocławia-Fabrycznej
> VI Wydział Gospodarczy Krajowego Rejestru Sądowego
> KAPITAŁ ZAKŁADOWY 1.000.000 zł
>
> [https://www.gispartner.pl/GP-1.png]
> [https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png
> ][https://www.gispartner.pl/GP-2c.png]<
> https://www.linkedin.com/company/gispartner/>[
> https://www.gispartner.pl/GP-2d.png]<
> https://www.facebook.com/gispartnerPL/>[
> https://www.gispartner.pl/GP-2e.png]
>
> ___
> 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  339 8844549

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
___

Re: [Geoserver-users] New OGC API Feartures dosn't support GML and HTML templates

2022-08-11 Thread Nuno Oliveira
Hi Paweł,
that looks like a classpath issue, would you open up a ticket for this?

Thank you,
Nuno Oliveira

On Thu, Aug 11, 2022 at 9:09 AM Paweł Soczewski via Geoserver-users <
geoserver-users@lists.sourceforge.net> wrote:

> Hi All,
>
> I want to move the production implementation of OGC API-Feature service
> based on an early version of Geoserver 2.19.x. up to newer version.
> Unfortunately both 2.20.x and 2.21.x don't support custom  GML and HTML
> user templates. After choosing HTML and GML encoding the server the
> server responds with an error:
>
> {"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError:
>
> org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"}
>
> However custom templates for GeoJSON and JSON-LD work fine. I use the
> same configuration as works fine in early 2.19.x.
>
> When I don't use my custom GML and HTML temaplates and Geoserver uses
> predefined formating, the service works fine as well.
>
> I also tested the last version of 2.19.x with latest dedicated for it
> moduls OGC API and Feature Templating and it dosen't work too but the
> reason is diffrent. After instaling .jar libraries the Geoserver
> application dosen't started. When delete libraries OGC API and Feature
> Templating libraries it works fine.
>
> Any idea how to fix it?
>
>
> Regards,
>
> pawel
>
>
>
>
> Paweł Soczewski
> Główny Specjalista ds. Infrastruktury Przestrzennej
> +48502415540
>
> GISPartner Sp. z o.o.
> ul. Jana Długosza 60
> 51-162 Wrocław
>
> NIP 898-20-27-647
> KRS 173717
> Sąd Rejonowy dla Wrocławia-Fabrycznej
> VI Wydział Gospodarczy Krajowego Rejestru Sądowego
> KAPITAŁ ZAKŁADOWY 1.000.000 zł
>
> [https://www.gispartner.pl/GP-1.png]
> [https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png
> ][https://www.gispartner.pl/GP-2c.png]<
> https://www.linkedin.com/company/gispartner/>[
> https://www.gispartner.pl/GP-2d.png]<
> https://www.facebook.com/gispartnerPL/>[
> https://www.gispartner.pl/GP-2e.png]
>
> ___
> 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,

Nuno Oliveira

==
GeoServer Professional Services from the experts!

Visit http://bit.ly/gs-services-us for more information.
==

Nuno Miguel Carvalho Oliveira
@nmcoliveira
Technical Lead / Project Manager


GeoSolutions Group
phone: +39 0584 962313
fax:  +39 0584 1660272

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


[Geoserver-users] New OGC API Feartures dosn't support GML and HTML templates

2022-08-11 Thread Paweł Soczewski via Geoserver-users
Hi All,

I want to move the production implementation of OGC API-Feature service
based on an early version of Geoserver 2.19.x. up to newer version.
Unfortunately both 2.20.x and 2.21.x don't support custom  GML and HTML
user templates. After choosing HTML and GML encoding the server the
server responds with an error:

{"type":"NoApplicableCode","title":"java.lang.NoSuchMethodError:
org.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;\norg.codehaus.stax2.ri.SingletonIterator.create(Ljava/lang/Object;)Lorg/codehaus/stax2/ri/SingletonIterator;"}

However custom templates for GeoJSON and JSON-LD work fine. I use the
same configuration as works fine in early 2.19.x.

When I don't use my custom GML and HTML temaplates and Geoserver uses
predefined formating, the service works fine as well.

I also tested the last version of 2.19.x with latest dedicated for it
moduls OGC API and Feature Templating and it dosen't work too but the
reason is diffrent. After instaling .jar libraries the Geoserver
application dosen't started. When delete libraries OGC API and Feature
Templating libraries it works fine.

Any idea how to fix it?


Regards,

pawel




Paweł Soczewski
Główny Specjalista ds. Infrastruktury Przestrzennej
+48502415540

GISPartner Sp. z o.o.
ul. Jana Długosza 60
51-162 Wrocław

NIP 898-20-27-647
KRS 173717
Sąd Rejonowy dla Wrocławia-Fabrycznej
VI Wydział Gospodarczy Krajowego Rejestru Sądowego
KAPITAŁ ZAKŁADOWY 1.000.000 zł

[https://www.gispartner.pl/GP-1.png]
[https://www.gispartner.pl/GP-2a.png][https://www.gispartner.pl/GP-2b.png][https://www.gispartner.pl/GP-2c.png][https://www.gispartner.pl/GP-2d.png][https://www.gispartner.pl/GP-2e.png]

___
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