Re: [Geoserver-users] Monitor-hibernate-plugin JARs breaking Geofence hibernate; Geoserver not starting

2017-08-30 Thread Steve Omondi
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 
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
>>
>>
>> 
>>  Virus-free.
>> www.avast.com
>> 
>>
>>
>> --
>> 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 

Re: [Geoserver-users] Monitor-hibernate-plugin JARs breaking Geofence hibernate; Geoserver not starting

2017-08-30 Thread Steve Omondi
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
>
>
> 
>  Virus-free.
> www.avast.com
> 
>
>
> --
> 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

[Geoserver-users] WFS-NG: Server exception gets lost for Transaction requests

2017-08-30 Thread Watermeyer, Andreas
Hi all,

we are using the wfs-ng module as a WFS client. Unfortunately, for Transaction 
requests  WFS exception responses are dropped by the client and instead an 
empty IOException is thrown (TransactionResponseImpl.java:105, see 
https://github.com/geotools/geotools/blob/cfe895c1fe84c65904d1aa383496ed2aff7afa42/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/v1_x/TransactionResponseImpl.java#L105).

A better solutions is already implemented for the GetFeature case 
(AbstractGetFeatureResponseParserFactory#createResponse, see 
https://github.com/geotools/geotools/blob/cfe895c1fe84c65904d1aa383496ed2aff7afa42/modules/unsupported/wfs-ng/src/main/java/org/geotools/data/wfs/internal/parsers/AbstractGetFeatureResponseParserFactory.java#L108).

I'd like to propose a pull request, where this solution is also applied to the 
Transaction case.

One thing is however not so nice from my point of view: 
AbstractGetFeatureResponseParserFactory.parseException(...) creates an 
ExceptionReportType having a list of code+message pairs. This information is 
converted into a plain WFSException retaining a concatenated string field only. 
Suggestion: Introduce a subclass of WFSException which keeps this information 
separately to be easier accessible for consumers.

Before I start to work on it: 
- Are there better/alternative suggestions? Any comments are welcome.
 
 Best regards, 
 Andreas
 
 
 
--
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


Re: [Geoserver-users] Monitor-hibernate-plugin JARs breaking Geofence hibernate; Geoserver not starting

2017-08-30 Thread Nuno Oliveira

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


   Virus-free. www.avast.com 




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


Re: [Geoserver-users] Error installing GDAL

2017-08-30 Thread UriDor
Same error here.
Red Hat 6, Geoserver 2.11.2, GDAL 1.1.17.

Available : false
Message : JNI GDAL Wrapper Version: unavailable
java.library.path:
/data/geoserver/gdal-1.9.2:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib

I'd appreciate any help possible.

Thanks in advance,
Uri.



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

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


Re: [Geoserver-users] [Geoserver-devel] Dynamic Copyright

2017-08-30 Thread Olivier Gagnon
Jody,


my custom function is done and working fine !


Thanks


Envoyé à partir d’Outlook



De : Olivier Gagnon 
Envoyé : 25 août 2017 13:27
À : Jody Garnett
Cc : GeoServer Users
Objet : RE: [Geoserver-devel] Dynamic Copyright


Hi,


I'd like to create a custom function. I followed the Quickstart on geotools 
website and bothj example work but I still have a few questions.


-Will it be easier to create a brand new .jar or I should aim at adding a new 
class to an existing one ?


-In a SLD file, to use the pointstacker I use . Where is the "vec" part defined ? Will I have to 
define one for my function ?


Thanks


Envoyé à partir d’Outlook



De : Olivier Gagnon 
Envoyé : 24 août 2017 10:15
À : Chris Snider; Jody Garnett
Cc : GeoServer Users
Objet : RE: [Geoserver-devel] Dynamic Copyright


Chris,


thanks for your input. Your SLD will definitely be useful in the future.


For now I need to create one geometry, position it bottom right, and label it 
by using the "providerName" attribute of all features returned by the spatial 
query.


I'm going for the custom function approach.


I made a copy of an existing class contained in gt-process-feature-17.1.jar and 
modified it.


I'm trying to compile it with javac.exe and add it the the .jar but even the 
original class file doesn't compile !


I'm more a C# developer so I'm not famililar with all the parts of java.


Is it possible to create a java file, compile it to .class, update the 
gt-process-feature-17.1\META-INF\services\org.geotools.process.vector.VectorProcess
 file and zip everything into gt-process-feature-17.1.jar ?


Thanks




Envoyé à partir d’Outlook






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


Re: [Geoserver-users] Adding a GeoTIFF

2017-08-30 Thread Andrea Aime
On Wed, Aug 30, 2017 at 1:33 AM, Gardner, Alex(GE Transportation) <
alex.gardn...@ge.com> wrote:

> Thanks for the help Andrea,
>
>
>
> What srs_def would I need to use in conjuction with the -a_srs option?
>

That is something that only you can know, even limiting to the official
EPSG database there are more than 5000
possible coordinate reference systems.

If you have no idea, ask whoever provided you with the data :-)

given your example, it's likely some geographic data set,
possibly based on the Bessel ellipsoid, that however still does not provide
a unique answer, see here:

https://epsg.io/?q=datum%3A7004%20OR%20cs%3A7004%20OR%20primem%3A7004%20OR%20ellipsoid%3A7004%20OR%20method%3A7004%20OR%20area_code%3A7004%20deprecated%3A0%20kind%3AGEOGCRS

Cheers
Andrea


-- 

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

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