Hi,
we are upgrading to the latest Hazelcast in order to get compatible with JDK11 (see https://github.com/geoserver/geoserver/tree/jdk11 ).
The hz-module depends on a https://github.com/hazelcast/hazelcast-wm plugin that has not been updated since late 2017…
I don’t quite see an equivalent functionality in the latest version of Hazelcast, I’ve also tried to push it up to the latest, 3.8.3, but
the way it integrates with the hazelcast changed, no more possible to give it a hazelcast instance it seems.
Anyone has familiarity with this and can help finding a work around?
Cheers
Andrea
···
== 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.
I’m familiar with the hz-cluster module itself but not with this plugin. I have no idea about a solution on the top of my head, however I might be able to allocate some resources to work on this at some point in the future since I have a client that uses the module.
So if I understand correctly the problem is only with the shared session? So if worst come to worst, we could remove the session sharing functionality from the hz-cluster module but keep the rest of the functionality?
What exactly do you mean with “no more possible to give it a hazelcast instance”
Niels
···
On 22/10/2018 18:04, Andrea Aime wrote:
Hi,
we are upgrading to the latest Hazelcast in order to get compatible with JDK11 (see https://github.com/geoserver/geoserver/tree/jdk11 ).
The hz-module depends on a https://github.com/hazelcast/hazelcast-wm plugin that has not been updated since late 2017…
I don’t quite see an equivalent functionality in the latest version of Hazelcast, I’ve also tried to push it up to the latest, 3.8.3, but
the way it integrates with the hazelcast changed, no more possible to give it a hazelcast instance it seems.
Anyone has familiarity with this and can help finding a work around?
Cheers
Andrea
== 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.
I’m familiar with the hz-cluster module itself but not with this plugin. I have no idea about a solution on the top of my head, however I might be able to allocate some resources to work on this at some point in the future since I have a client that uses the module.
So if I understand correctly the problem is only with the shared session? So if worst come to worst, we could remove the session sharing functionality from the hz-cluster module but keep the rest of the functionality?
I have no familiarity with the module whatsoever, I think it’s related to the session sharing, but may be wrong.
What exactly do you mean with “no more possible to give it a hazelcast instance”
In version 3.8.3 of hazecast-wm (it’s the latest I could find) this method overridden here is gone:
https://github.com/geoserver/geoserver/blob/6e9e25c0c7cdda9ada9f33f8255130d3afc76801/src/community/hz-cluster/src/main/java/org/geoserver/cluster/hazelcast/web/HzSessionShareFilter.java#L70
It seems one has to pass a full configuration, not an instance. But maybe it’s a moot point, as there is no 3.10.x version of hazelcast-wm, no idea how compatible
this hazelcast-wm is with other versions of hazelcast core libraries (and we need the latest for JDK11 compatibility)
Cheers
Andrea
···
== 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.