[Geoserver-users] SLDService Plugin + Geoserver 2.13.1

Hello ! I’m trying to upgrade our Geoserver 2.11.4 to use the 2.13.1 release (with the benefith of Marlin, etc). In the process I have to ensure that the plugin SLDService is still working as expected ( ie. …/rest/sldservice/ and get something, etc)

When I add the plugin in the lib folder (2.13.1), and after restarting Geoserver, nothing happens. Basically, I followed the applicationContext file in the plugin jar, and I notice that there is a Spring context:component-scan (that changed compared with release 2.11.4 release - where it was working). I’m not sure if Spring is not recognizing/finding the beans, but I’m sure that the mapping between urls/beans that previously (release 2.11.4 of the plugin) was done by a bean ( called: sldServiceRestConfigMapping), it’s not working now.

In the same applicationContext file I saw a mvc:annotation-driven spring label, but it’s commented (?)

Do you know if it’s working ? (I tracked when the definition of beans changed and it seems that it happened from release 2.12.0 to 2.12.1 )

Regards

Jose

Hi Jose,
SLDService has been recently updated to be compatible with the new GeoServer REST infrastructure. I am currently able to build / use the one that comes with master (2.14-SNAPSHOT) version. I am not sure if 2.13.1 has already been migrated (probably not, if it does not work for you).
I am in the process of improving the service for master, and the plan is also to make it build / work again for previous versions, but I cannot promise a precise schedule for this.

···

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead

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.

Thanks Mauro for quick answer!

I will check the master release, and try to use the same code in 2.13.1. If we are lucky it will work with minor changes (I will let you know if so)

Regards

···

2018-06-25 5:15 GMT-03:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.com>:

Hi Jose,
SLDService has been recently updated to be compatible with the new GeoServer REST infrastructure. I am currently able to build / use the one that comes with master (2.14-SNAPSHOT) version. I am not sure if 2.13.1 has already been migrated (probably not, if it does not work for you).
I am in the process of improving the service for master, and the plan is also to make it build / work again for previous versions, but I cannot promise a precise schedule for this.

Il giorno lun 25 giu 2018 alle ore 04:38 José Macchi <jose.macchi@anonymised.com> ha scritto:

Hello ! I’m trying to upgrade our Geoserver 2.11.4 to use the 2.13.1 release (with the benefith of Marlin, etc). In the process I have to ensure that the plugin SLDService is still working as expected ( ie. …/rest/sldservice/ and get something, etc)

When I add the plugin in the lib folder (2.13.1), and after restarting Geoserver, nothing happens. Basically, I followed the applicationContext file in the plugin jar, and I notice that there is a Spring context:component-scan (that changed compared with release 2.11.4 release - where it was working). I’m not sure if Spring is not recognizing/finding the beans, but I’m sure that the mapping between urls/beans that previously (release 2.11.4 of the plugin) was done by a bean ( called: sldServiceRestConfigMapping), it’s not working now.

In the same applicationContext file I saw a mvc:annotation-driven spring label, but it’s commented (?)

Do you know if it’s working ? (I tracked when the definition of beans changed and it seems that it happened from release 2.12.0 to 2.12.1 )

Regards

Jose


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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@anonymised.comsourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead

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.

José Macchi

Geo DevOps
Frontec S.A.

Hi Mauro,

Step1) I have tried to add the sldservice-2.14. jar file (and dependencies) to the release 2.13.1 and it’s not responding.
Step2) After that, I got the binary-zip file for geoserver-2.14 and added the same sldservice-2.14.jar file (I have to build it from source code since I did not find any zip file for 2.14 of that plugin), and unfortunately it’s not responding.

Now I will be testing in dev-mode, LOL (so …setting up the EclipseIDE and checking from there).

When you say that it worked for you, it was basically trying it from the IDE ? (just checking, in case you made it working as in step 2)

Thanks !

···

2018-06-25 7:22 GMT-03:00 José Macchi <jose.macchi@anonymised.com>:

Thanks Mauro for quick answer!

I will check the master release, and try to use the same code in 2.13.1. If we are lucky it will work with minor changes (I will let you know if so)

Regards

2018-06-25 5:15 GMT-03:00 Mauro Bartolomeoli <mauro.bartolomeoli@anonymised.comsolutions.it>:

Hi Jose,
SLDService has been recently updated to be compatible with the new GeoServer REST infrastructure. I am currently able to build / use the one that comes with master (2.14-SNAPSHOT) version. I am not sure if 2.13.1 has already been migrated (probably not, if it does not work for you).
I am in the process of improving the service for master, and the plan is also to make it build / work again for previous versions, but I cannot promise a precise schedule for this.

Il giorno lun 25 giu 2018 alle ore 04:38 José Macchi <jose.macchi@anonymised.com> ha scritto:

Hello ! I’m trying to upgrade our Geoserver 2.11.4 to use the 2.13.1 release (with the benefith of Marlin, etc). In the process I have to ensure that the plugin SLDService is still working as expected ( ie. …/rest/sldservice/ and get something, etc)

When I add the plugin in the lib folder (2.13.1), and after restarting Geoserver, nothing happens. Basically, I followed the applicationContext file in the plugin jar, and I notice that there is a Spring context:component-scan (that changed compared with release 2.11.4 release - where it was working). I’m not sure if Spring is not recognizing/finding the beans, but I’m sure that the mapping between urls/beans that previously (release 2.11.4 of the plugin) was done by a bean ( called: sldServiceRestConfigMapping), it’s not working now.

In the same applicationContext file I saw a mvc:annotation-driven spring label, but it’s commented (?)

Do you know if it’s working ? (I tracked when the definition of beans changed and it seems that it happened from release 2.12.0 to 2.12.1 )

Regards

Jose


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

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@anonymised.comrge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Regards,

Mauro Bartolomeoli

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.

Dott. Mauro Bartolomeoli
@mauro_bart
Technical Lead

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.

José Macchi

Geo DevOps
Frontec S.A.

José Macchi

Geo DevOps
Frontec S.A.