[Geoserver-users] Workspace WMS option after restart.

2018-09-19 Thread Hemin Tofiq
Dear list,
I use GeoServer 2.12.1, with WMS dsabled globally via unchecking services/WMS 
however, I have a workspace where WMS is enabled, data from this workspace is 
not public, a READ rule in security/data control access to all the layers from 
the workspace. So far every thing work fine.
What looks like a bug is that the worksace loses the WMS enabled option after 
restarting the service.
Adding rules to every layer in the workpace instead of '*' in 'Layers and 
groups', the enabled checkbox for WMS in the workspace renains selected after 
restarting the service.
Any suggestions?

Med venlig hilsen/ Kind regards,Hemin Tofiq___
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


Re: [Geoserver-users] complex featrure, GetPropertyValue class cast exception

2018-09-19 Thread Nuno Oliveira

Hi,

For reference:
http://docs.opengeospatial.org/is/09-025r2/09-025r2.html#335

In the first query the /valueReference=':' /parameter has 
no effect that's why it works :)
So, in this case it works means: it doesn't throw an exception but it actually 
doesn't select only that value property.


Regarding the second request, indeed the request is valid but its falling, can 
you open a JIRA ticket for this ?


Thank you,

Nuno Oliveira

On 09/19/2018 01:35 PM, Diego Sanmartino wrote:

HI all,

We are working with geoserver 2.13 and with some complex features.
Apparently the complex features are correctly working.
If we use the wfs getfeature we obtain the corrects responses.
For examble this query work correctly:

http://www.opengis.net/fes/2.0";
        xmlns:gml="http://www.opengis.net/gml/3.2";
        xmlns:wfs="http://www.opengis.net/wfs/2.0";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd";>
            
    

Instead this query obtain a class cast exception:

http://www.opengis.net/fes/2.0";
    xmlns:gml="http://www.opengis.net/gml/3.2";
    xmlns:wfs="http://www.opengis.net/wfs/2.0";
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
    xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd";>
        
    

Do you have any hints?
Thanks in advance




___
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://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

---

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


Re: [Geoserver-users] One of two overlapping polylines not rendered

2018-09-19 Thread Arnaud L.

Hi Olyster, and thanks for your answer.

Le 19/09/2018 à 14:43, Olyster a écrit :

I have encoutered this behavior and it was a problem with geometry type,
SRID, bounding boxes.

Verify eveything is fine in the layer config.


I don't see what could be wrong in the layer config.
All geometries are in the same PostGIS table and have the same SRID 
(EPSG:32631). The layer has the same SRID (EPSG:32631).
One of the geometries is drawn and the other not, picking which one is 
drawn somehow randomely depending on BBOX.


What could be wrong ?

--
Arnaud


___
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


Re: [Geoserver-users] One of two overlapping polylines not rendered

2018-09-19 Thread Olyster
HI,

I have encoutered this behavior and it was a problem with geometry type,
SRID, bounding boxes.

Verify eveything is fine in the layer config.



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


___
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] complex featrure, GetPropertyValue class cast exception

2018-09-19 Thread Diego Sanmartino
HI all,

We are working with geoserver 2.13 and with some complex features.
Apparently the complex features are correctly working.
If we use the wfs getfeature we obtain the corrects responses.
For examble this query work correctly:

http://www.opengis.net/fes/2.0";
xmlns:gml="http://www.opengis.net/gml/3.2";
xmlns:wfs="http://www.opengis.net/wfs/2.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd";>



Instead this query obtain a class cast exception:

http://www.opengis.net/fes/2.0";
xmlns:gml="http://www.opengis.net/gml/3.2";
xmlns:wfs="http://www.opengis.net/wfs/2.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://www.opengis.net/wfs/2.0
http://schemas.opengis.net/wfs/2.0/wfs.xsd
http://www.opengis.net/gml/3.2
http://schemas.opengis.net/gml/3.2.1/gml.xsd";>



Do you have any hints?
Thanks in advance
___
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


Re: [Geoserver-users] Moving BlobStores around

2018-09-19 Thread Nikolaos Ves
Thank you for your reply Jonathan,

I did a small experiment today and indeed you can move, at least the
contents around.

What I did was that I defined a blobstore for a layer, cached it and then
I've moved the folder with the tile folder to a different (the default)
blobstore.

After that, I redeclared for that layer the new blobstore and GS/GWC picked
it without problems!

Nik

On Tue, 18 Sep 2018 at 19:37, Jonathan Moules 
wrote:

> Hi Nik,
>
> Starting with a disclaimer: I've never used blobstores. But ... if they're
> handled/treated anything like the other file-like data stores GeoServer
> supports, they should be nice and portable. I'd suggest giving it a try -
> keeping the paths the same across environments usually works the best to
> start with until you've got your bearings.
>
> Cheers,
>
> Jonathan
>
> On 17/09/2018 11:43, Nikolaos Ves wrote:
>
> Hi everyone,
>
> I am wondering if it is possible to move pre-seeded BlobStores from a
> 'master' Geoserver Stack to a 'production' geoserver stack.
>
> Has anyone done it?
>
> Nik
>
>
>
>
> ___
> 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.nethttps://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ___
> 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 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] One of two overlapping polylines not rendered

2018-09-19 Thread Arnaud L.

Hi all,

I have a layer with closed polylines. Some of them almost fully overlap 
(but not quite).
The problem I witness is that for some couple of polylines, only one of 
the two is rendered. Depending on the bbox, it can be one or the other, 
but never both.

Here is an example of what I see :
https://i.imgur.com/PZVNTOs.png
https://i.imgur.com/d2VJ5IG.png

As you can see, the second one is zoomed out and the polyline is shown.
I over-simplified the style to rule this out, so it now reads :

- name: 81
  rules:
  - zoom: [13, 17]
filter: ${layer IN ('81')}
symbolizers:
- line:
uom: meter
stroke-color: '#00'
stroke-width: 0.1

I checked in the log (GEOTOOLS_DEVELOPPER_LOGGING level), but saw 
nothing wrong.
I manually ran both queries that I found in the log againt my PostGIS 
database, and both did return all the geometries (even the one not 
rendered).

The only thing that suprised me was :
2018-09-19 11:56:12,816 DEBUG [org.geotools.rendering] - Style cache hit 
ratio: 0.98 , hits 49, requests 50

And then :
2018-09-19 11:57:39,422 DEBUG [org.geotools.rendering] - Style cache hit 
ratio: 0.9655172413793104 , hits 28, requests 29

So in both cases, one hit less than requests.

Does anyone have an idea of what could be happening here ?

Thanks for helping !

Regards

--
Arnaud


___
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


Re: [Geoserver-users] Disabling error response of WMS/WFS to the Clients/users

2018-09-19 Thread Naresh N
Dear All,
Thanks a lot for responding and sharing the thoughts.

Best Regards,
Naresh.N

On Wed, Sep 19, 2018 at 2:12 PM Andrea Aime 
wrote:

> On Wed, Sep 19, 2018 at 10:21 AM Naresh N  wrote:
>
>> I request GeoServer developers community to include/enable generic error
>> messages in case of exception in future builds of GeoServer.
>>
>
> That is now how it works, the GPL license is clear:
>
> NO WARRANTY
>
>   11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
> FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
> OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
> PROVIDE* THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
> EXPRESSED*
> *OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF*
> *MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.*  *THE ENTIRE RISK
> AS*
> *TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU*.*  SHOULD THE*
> *PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,*
> *REPAIR OR CORRECTION.*
>
>   12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
> WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
> REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
> INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
> OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
> TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
> YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
> PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
> POSSIBILITY OF SUCH DAMAGES.
>
> If you want something done in GeoServer, either provide a pull request
> with the changes, following
> the contributiong guidelines [1], or contact a commercial support provider
> to have the changes developed for you [2]
>
> Cheers
> Andrea
>
> [1]: https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md
> [2]: http://geoserver.org/support/
>
> ==
>
> 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.*
>
___
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


Re: [Geoserver-users] Disabling error response of WMS/WFS to the Clients/users

2018-09-19 Thread Andrea Aime
On Wed, Sep 19, 2018 at 10:21 AM Naresh N  wrote:

> I request GeoServer developers community to include/enable generic error
> messages in case of exception in future builds of GeoServer.
>

That is now how it works, the GPL license is clear:

NO WARRANTY

  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE* THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED*
*OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF*
*MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.*  *THE ENTIRE RISK
AS*
*TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU*.*  SHOULD THE*
*PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,*
*REPAIR OR CORRECTION.*

  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.

If you want something done in GeoServer, either provide a pull request with
the changes, following
the contributiong guidelines [1], or contact a commercial support provider
to have the changes developed for you [2]

Cheers
Andrea

[1]: https://github.com/geoserver/geoserver/blob/master/CONTRIBUTING.md
[2]: http://geoserver.org/support/

==

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.*
___
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


Re: [Geoserver-users] Disabling error response of WMS/WFS to the Clients/users

2018-09-19 Thread Naresh N
Dear All,

Thanks a lot for sharing your views. The discussion I have started here
,because of our organisation security guidelines, the displayed error
messages were reported as security threat. Presently GeoServer displaying
exception as per OGC WMS standards for WMS Layer, but only instead of
displaying background programming details like Java,etc, it could have
better it displays the error message with out any background technology
used  at server side. And I feel it is  possible in jar files of Geoserver
which deals the exception. I request GeoServer developers community to
include/enable generic error messages in case of exception in future builds
of GeoServer.

Thanks a lot once again.

Best Regards,
Naresh

On Tue, Sep 18, 2018 at 11:43 PM Jonathan Moules <
jonathan-li...@lightpear.com> wrote:

> Hi Jukka,
>
> I think this is highlighting that there are different kinds of error
> messages, and I suspect (just guessing here) that the way GeoServer handles
> them is that it simply does not differentiate - they probably mostly get
> caught in the same way/place.
>
> Server side errors (which can be walls of technical text and stuffed away
> in the logs - they're for the techy server admin), and the admin-user
> errors. Currently GeoServer doesn't really differentiate which is why I
> took a gentle(!) poke at the user-friendliness component of the current
> admin-user errors, as such folks aren't necessarily techy. Unless something
> has changed since last I looked, the stack-traces you get for something
> like an SLD error are ... intimidating to a less-technical user. There are
> also the public-end-user errors (didn't include the "Request=" parameter
> for instance), but those are typically defined as OGC exceptions and
> usually get back a suitable (if XML-verbose) response.
>
> But it's all pie-in-the-sky thinking unless someone contributes a patch
> (or money for). So...
>
> Cheers,
>
> Jonathan
>
> On 18/09/2018 18:06, Rahkonen Jukka (MML) wrote:
>
> Hi,
>
>
>
> But users can’t check the server log and if they could it would probably
> be higher security risk. Error messages exist for helping the users to
> understand what they did wrong. Disabling error messages would leave them
> all alone. If it feels reasonable in your environment I guess it would not
> be very difficult to program a proxy the rips the error messages out or
> rewrites them to some neutral message.
>
>
>
> -Jukka Rahkonen-
>
>
>
>
>
> *Lähettäjä:* Jason Newmoyer [mailto:ja...@newmoyergeospatial.com
> ]
> *Lähetetty:* 18. syyskuuta 2018 18:29
> *Vastaanottaja:* jonathan-li...@lightpear.com
> *Kopio:* GeoServer Mailing List List
> 
> 
> *Aihe:* Re: [Geoserver-users] Disabling error response of WMS/WFS to the
> Clients/users
>
>
>
> I think a "suppress error messages" mode would be a nice-to-have feature.
> It would certainly make our customers happy to see those findings disappear
> from scan reports.
>
>
>
> Also, the full error messages should pretty much always be available in
> the server log. Displaying a generic error and saying "please check the
> server log" doesn't seem unreasonable.
>
>
>
> Jason
>
>
>
>
> Jason Newmoyer
> Newmoyer Geospatial Solutions
>
> 843.606.0424
>
> ja...@newmoyergeospatial.com
>
>
>
>
>
> On Mon, Sep 17, 2018 at 3:31 PM, Jonathan Moules <
> jonathan-li...@lightpear.com> wrote:
>
> Hi Naresh,
>
> I do not believe it is possible which is why Ian was suggesting
> improvements are always welcome.
>
> Needless to say, security through obscurity is pretty poor security, which
> is likely why this hasn't been done yet. Even as merely one layer of
> security. If your security relies on an attacker not knowing your database
> vendor and/or version, you have bigger problems than the content of an
> error message. If your db version is anything other than something very
> close to "latest-stable" then you are already likely open to have known
> vulnerabilities, and there are only a tiny handful of real database options.
>
> Now, from a user-friendliness perspective, a more user-friendly error than
> GeoServer's "here's a big wall of scary technical stuff that only really
> means anything to a few dozen people in the world" would be great, at least
> for the basic errors like "your SLD is borked". That said, posting parts of
> said big wall to this list does frequently elicit the help of such
> people... so... swings and roundabouts.
>
> Cheers,
>
> Jonathan
>
>
>
> On 12/09/2018 09:36, Naresh N wrote:
>
> Dear All,
>
> Is it possible to display generice error messages by doing any settings in
> Geoserver.   If it is not possible , is there any way  not
> displaying/showing any kind of error messages to users.
>
>
>
> Please let me know.
>
>
>
> Thanks&Regards,
>
> Naresh
>
>
>
> On Tue, Sep 11, 2018 at 6:34 PM Ian Turton  wrote:
>
> We're always happy to receive improvements.
>
>
>
> Ian
>
>
>
> On Tue, 11 Sep 2018 at 13:52, Calliess Daniel Ing. <
> daniel.calli...@stadt-salzburg.at> wrote:
>
> Hello Juk