Thanks for the info Niels.  now I can confidently adjust my plan. I'll
share any further findings.

Regards,
Steve Ochieng

On Aug 31, 2017 16:37, "Niels Charlier" <ni...@scitus.be> wrote:

> Hey,
>
> This won't work, I have tried it before. Monitoring-hibernate won't even
> compile if you use the same version of hibernate that geofence uses.
> Unfortunately the library will need to be patched to become compatible
> with geofence-server.
>
> Kind Regards
> Niels
>
> On 31-08-17 14:27, Nuno Oliveira wrote:
>
> Hi,
>
> Thanks for the confirmation, so if monitoring plugin is working some of
> this libs need to be upgraded.
>
> In your case you can do the following, remove the hibernate libraries of
> one of the plugins. The
> versions are so close that without the class path clash things will
> probably work just fine. If you are
> building the plugin by your self you may just want o create a fat JAR that
> will shade the hibernate
> libraries an include them on the fat JAR.
>
> A word of caution, all the solutions above are just *temporary solutions*
> and should no be pushed to
> production without being carefully tested. The correct solution here is to
> equalize the hibernate
> dependencies of the two plugins (this is why dependencies should be
> declared on GeoServer
> main pom.xml dependency management so this issue can be avoided). The
> current hibernate
> upgrade will (probably) do that for you.
>
> Regarding the ELK (Elasticsearch, Losgstash and Kibana) stack [1] is a
> solution that is specially useful
> when you need to aggregate the logs o several GeoServers a visualize them
> on some unified UI.
>
> Regards,
>
> Nuno Oliveira
>
> [1] https://www.elastic.co/fr/webinars/introduction-elk-stack
>
> On 08/31/2017 07:01 AM, Steve Omondi wrote:
>
> Hi Nuno,
>
> You mentioned ELK stack, how do you use these to visualize and analyze
> the monitor data. Especially, I'd like to persist the data somehow so I can
> reuse the data.
>
> Could you point me to some simple and perhaps free tool for this. Thanks
>
> Kind regards,
> Steve Omondi
>
> On Thu, Aug 31, 2017 at 8:29 AM, Steve Omondi <steve.omo...@ramani.co.ke>
> wrote:
>
>> Hi Nuno,
>>
>> The second case is correct.
>>
>> I have monitor-hibernate working as expected in one instance of geoserver
>> without Geofence and correctly persisting monitoring data in a Postgis db.
>> I also have Geofence  (embedded) also working as expected in another
>> instance of geoserver without monitor hibernate.
>>
>> I have looked at the common .JARS from the two and there versions are
>> different in almost all of them.
>>
>> I will reproduce the Error logs and share here.
>>
>> Kind regards,
>> Steve Omondi
>>
>> On Wed, Aug 30, 2017 at 5:53 PM, Nuno Oliveira <
>> nuno.olive...@geo-solutions.it> wrote:
>>
>>> Hi Steve,
>>> I saw your mail in the *[Geoserver-devel] upgrade geofence hibernate*
>>> thread,
>>> I'm answering here because there is one thing you may want to check
>>> first.
>>>
>>> Is the monitor-hibernate-plugin actually working ? I have in mind that
>>> the last
>>> time I try it it was  actually not working ... typically I store the
>>> audit files in the
>>> file system and use an ELK stack or something similar to handle them.
>>>
>>> That say, if the monitor-hibernate-plugin is working as expected but is
>>> using
>>> a different version of hibernate non compatible with the version used by
>>> GeoFence ... well one of this modules will need to be upgraded.
>>>
>>> Can you share with the ML the output log show when GeoServer doesn't
>>> starts ?
>>>
>>> Regards,
>>>
>>>
>>> On 08/28/2017 08:24 AM, Steve Omondi wrote:
>>>
>>> Hey guys,
>>>
>>> I have Geofence Embedded working in Geoserver-2.11.2 and when I install
>>> monitor-hibernate-plugin Geofence is broken and Geoserver doesn't start.
>>>
>>> I need the Monitoring plugin to work with External Postgis database as
>>> well as Geofence internal server?
>>>
>>> How can I make sure these two work in harmony. So far I think the .jar
>>> files in the two are of different versions which is causing problems. I
>>> need a solution for this.
>>>
>>>
>>> Kind regards,
>>> Steve Omondi
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
>>>  Virus-free.
>>> www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> 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:
>>> - 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
>>> Geoserver-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>> --
>>> Regards,
>>> Nuno Oliveira
>>> ==
>>> GeoServer Professional Services from the experts! Visit 
>>> http://goo.gl/it488V for more information.
>>> ==
>>>
>>> Nuno Miguel Carvalho Oliveira
>>> @nmcoliveira
>>> 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.ithttp://twitter.com/geosolutions_it
>>>
>>> -------------------------------------------------------
>>> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
>>> Le informazioni contenute in questo messaggio di posta elettronica e/o 
>>> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il 
>>> loro utilizzo è consentito esclusivamente al destinatario del messaggio, 
>>> per le finalità indicate nel messaggio stesso. Qualora riceviate questo 
>>> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di 
>>> darcene notizia via e-mail e di procedere alla distruzione del messaggio 
>>> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, 
>>> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od 
>>> utilizzarlo per finalità diverse, costituisce comportamento contrario ai 
>>> principi dettati dal D.Lgs. 196/2003.
>>>
>>> The information in this message and/or attachments, is intended solely for 
>>> the attention and use of the named addressee(s) and may be confidential or 
>>> proprietary in nature or covered by the provisions of privacy act 
>>> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection 
>>> Code).Any use not in accord with its purpose, any disclosure, reproduction, 
>>> copying, distribution, or either dissemination, either whole or partial, is 
>>> strictly forbidden except previous formal approval of the named 
>>> addressee(s). If you are not the intended recipient, please contact 
>>> immediately the sender by telephone, fax or e-mail and delete the 
>>> information in this message that has been received in error. The sender 
>>> does not give any warranty or accept liability as the content, accuracy or 
>>> completeness of sent messages and accepts no responsibility  for changes 
>>> made after they were sent or for other risks which arise as a result of 
>>> e-mail transmission, viruses, etc.
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> 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:
>>> - 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
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>
> --
> Regards,
> Nuno Oliveira
> ==
> GeoServer Professional Services from the experts! Visit http://goo.gl/it488V 
> for more information.
> ==
>
> Nuno Miguel Carvalho Oliveira
> @nmcoliveira
> 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.ithttp://twitter.com/geosolutions_it
>
> -------------------------------------------------------
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
> file/s allegato/i sono da considerarsi strettamente riservate. Il loro 
> utilizzo è consentito esclusivamente al destinatario del messaggio, per le 
> finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio 
> senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia 
> via e-mail e di procedere alla distruzione del messaggio stesso, 
> cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo 
> anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per 
> finalità diverse, costituisce comportamento contrario ai principi dettati dal 
> D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for 
> the attention and use of the named addressee(s) and may be confidential or 
> proprietary in nature or covered by the provisions of privacy act 
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection 
> Code).Any use not in accord with its purpose, any disclosure, reproduction, 
> copying, distribution, or either dissemination, either whole or partial, is 
> strictly forbidden except previous formal approval of the named addressee(s). 
> If you are not the intended recipient, please contact immediately the sender 
> by telephone, fax or e-mail and delete the information in this message that 
> has been received in error. The sender does not give any warranty or accept 
> liability as the content, accuracy or completeness of sent messages and 
> accepts no responsibility  for changes made after they were sent or for other 
> risks which arise as a result of e-mail transmission, viruses, etc.
>
>
>
> ------------------------------------------------------------------------------
> 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:
> - 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
> Geoserver-users@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
>
> ------------------------------------------------------------
> ------------------
> 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:
> - 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
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
------------------------------------------------------------------------------
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:
- 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

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to