Re: [Geoserver-users] Error 401 Authentication required access from solr data source

2019-01-29 Thread tkg_cangkul

Anybody can help me to solve this pls?
i think the problem is from solrj library that must be added some jaas 
configuration, But i'm not really sure about that.
i've try to add 
*-Djava.security.auth.login.config=/etc/client_jaas.conf* inside 
startup.sh script in java -jar start.jar but it doesn't help me.


Need advice.

Best Regards,

Tkg Cangkul

On 29/01/19 13:05, tkg_cangkul wrote:

Hi Greg,

There in no error or warning log in the solr.
The error message only shown in Geoserver.

On 29/01/19 12:55, Hans Gregers Hedegaard Petersen wrote:

Hi there,

I would start by looking at what the log in the SOLR end of things 
looks like?


Best,

Greg


tir. 29. jan. 2019 kl. 06.51 skrev tkg_cangkul >:


Hi,

i've been trying to read data store solr from my geoserver. But
i've got some error message *401 Authentication required *when i
try create new solr store. it's just because my solr cluster was
kerberized. I think the problem is the solrj library on geoserver.

Anybody can help me to solve this problem?
This is the full log error of my geoserver



Please Help.
Need advice.


Best Regards,

Tkg Cangkul..
___
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

--
*Hans Gregers Hedegaard Petersen
*
Partner, Seniorkonsulent
greg...@septima.dk 
--
Septima P/S
Frederiksberggade 19, 2.
1459 København K
www.septima.dk 
Tlf: +45 7230 0672
Direkte: +45 9132 6945
Cvr: 34900841





___
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] AWS API-gateway and Geoserver, issues with WMS

2019-01-29 Thread gis_wild via Geoserver-users
Hi all,

I'm trying to integrate AWS api-gateway with Geoserver that is also
installed on AWS. 

On Api-Gateway level I've created few HTTP_PROXY resources, each for each
geoserver protocol (wms,wfs, wps, etc.). 

Proxied WFS request works well with JSON output. 

I currently experience an issue with WMS output.

Here is my request example:
Headers:
Accept:image/*
Content-Type:image/*
Accept-Encoding: Identity (without this parameter)
With Headers I've tried different combinations, including image/jpeg,
image/png - neither worked for me.

URL:
https://${gatewayId}.execute-api.{region}.amazonaws.com/prod/geo/map?SERVICE=WMS=1.1.1=GetMap=image/jpeg=true={myLayer}=application/vnd.ogc.se_inimage=EPSG:3857={mystyle}=512=512=-12634495.0382586,6682245.65877462,-12631901.2941232,6684794.46255934=2017-07-18T18:29:19Z

Configuration in API-gateway was done according to this tutorial
https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-payload-encodings-configure-with-console.html

Response has 200 status, but image is not readable in any image viewer.
Without Accept-Encoding: Identity size of output is about 4kb and with
Accept-Encoding: Identity size is about 8 kb.

API gateway logs:

Endpoint response body before transformations: JFIF��C
...
E` [TRUNCATED]

Endpoint response headers: {Date=Tue, 29 Jan 2019 14:34:11 GMT,
Content-Type=image/jpeg, Transfer-Encoding=chunked, Connection=keep-alive,
Set-Cookie=AWSALB=q5/1VFZnzVMM3XV2EuOn9nqi0i7ANBPYTxltXi7dI6K/9WK0RjCPUDbGgL9I3Axy7ad7EyJC4h5mPRWMODtsatUOY/FKsddsgAKF8mYy3hW8th3RjulQktQTQmx9UuVt;
Expires=Tue, 05 Feb 2019 14:34:11 GMT; Path=/, X-Frame-Options=SAMEORIGIN,
Access-Control-Allow-Origin=*, Content-Disposition=inline;
filename=my-layer.jpg}

Any advice is appreciated.
Thank you





--
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] configuring JNDI for GeoServer on Jetty

2019-01-29 Thread Tõnis Kärdi
Hi,

I'm looking for pointers on how to configure JNDI for a GeoServer
(2.13.4) standalone install (Jetty) - playing around with postgresql
to get an idea how it's supposed to work, but the final goal would be
to have data served from SQLServer with an AD user credentials (it
should be achievable with JNDI, right?).

I've looked into Jetty's own docs on JNDI config[1][2] but somehow my
geoserver/WEB-INF/jetty-env.xml never even seems to get picked up
during geoserver startup (checked by "breaking" the xml and there's no
org.xml.sax.SAXParseException thrown which is the case for example
with etc/jetty.xml).

From the (Jetty) docs I understand that if the file exists, it should
be loaded+parsed. Is there way I can force this file to be loaded? Are
there modules / jars / some other config maybe not present with the gs
distribution? Or am I trying to achieve a non-sensible thingy here :)
?

All the best,
Tõnis

[1] 
https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/jndi-datasource-examples.html#postgreSQL-pooled-datasource
[2] 
https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/jndi-configuration.html#configuring-datasources


-- 
@tkardi


___
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] Release of GeoServer 2.15-RC now available

2019-01-29 Thread Russ Hore
I just installed 2.15 onto Ubuntu 18.04.1 using Java 11. This is a Virtual 
machine running under VMWare ESXi 6.7. 

All seems to work fine as far as I have tested except for if I go to
“Server Status” from the Admin screen.

Details

Build Information
GeoServer Version
2.15-RC
Git Revision
5003db5a6f6aeb3b2685545c447ff08435bbf9db
Build Date
27-Jan-2019 10:46
GeoTools Version
21-RC (rev e8178fdab8916dbf1a08eb8e1a856c3dcd1a1124)
GeoWebCache Version
1.15-RC (rev 1.15.x/56389371f6d92b5493100b1c519f05a5037bc1b0)

Error
An error occurred while loading the page
Oops, something went wrong...
Sorry, something unexpected happened on the server.
The GeoServer user list might help you address this issue. Click here to 
subscribe, and then include in your message the GeoServer version, the stack 
trace below and the steps to reproduce the problem. 


Stack trace

org.apache.wicket.WicketRuntimeException: Error attaching this container for 
rendering: [Page class = org.geoserver.web.admin.StatusPage, id = 77, render 
count = 1]
at 
org.apache.wicket.MarkupContainer.onBeforeRenderChildren(MarkupContainer.java:1848)
at org.apache.wicket.Component.onBeforeRender(Component.java:3916)
at org.apache.wicket.Page.onBeforeRender(Page.java:801)
at org.apache.wicket.Component.internalBeforeRender(Component.java:950)
at org.apache.wicket.Component.beforeRender(Component.java:1018)
at 
org.apache.wicket.Component.internalPrepareForRender(Component.java:2236)
at org.apache.wicket.Page.internalPrepareForRender(Page.java:242)
at org.apache.wicket.Component.render(Component.java:2325)
at org.apache.wicket.Page.renderPage(Page.java:1018)
at 
org.apache.wicket.request.handler.render.WebPageRenderer.renderPage(WebPageRenderer.java:124)
at 
org.apache.wicket.request.handler.render.WebPageRenderer.respond(WebPageRenderer.java:236)
at 
org.apache.wicket.core.request.handler.RenderPageRequestHandler.respond(RenderPageRequestHandler.java:175)
at 
org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:895)
at 
org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)
at 
org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:265)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:222)
at 
org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:293)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:261)
at 
org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:203)
at 
org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at 
org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:165)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:177)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:52)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1038)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:942)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:998)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:890)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:634)
at 
org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:875)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:26)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:69)
at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:73)
   

Re: [Geoserver-users] geowebcache not clearing cache

2019-01-29 Thread Andrea Aime
On Tue, Jan 29, 2019 at 9:56 AM idharper  wrote:

> Thanks i will look into these, the layers in question are satellite and
> radar
> images so the worst case we can truncate everything and let it repopulate
> periodically, but it would be nice if the diskquota system could handle
> these tiles and cull one older than say 30 days.
>

It should and normally does, as said, often the reports of misbehavior are
due
to hand manipulation of the cache, mis-configuration, or improper setup
(e.g., in clusters).
It's hard to tell because normally we get called after the fact and it's
not possible to reconstruct
what actually happened.

I have the feeling there might be a bug in there somewhere too, but if it's
there, we haven't found
any way to reproduce it so far (attempts to cause it on purpose failed to
deliver results, with
the quota working as expected).

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.*
___
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] geowebcache not clearing cache

2019-01-29 Thread idharper
Thanks i will look into these, the layers in question are satellite and radar
images so the worst case we can truncate everything and let it repopulate
periodically, but it would be nice if the diskquota system could handle
these tiles and cull one older than say 30 days.

Ian



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


Re: [Geoserver-users] geowebcache not clearing cache

2019-01-29 Thread Andrea Aime
On Mon, Jan 28, 2019 at 4:46 PM Andrea Aime 
wrote:

> Another hiccup is that it's not possible to figure what what time values
> are in the cache, because the set of parameters gets
> hashed using sha-1, which is a one way hashing algorithm, before hitting
> the disk (you might have seen the hashes in the folder names).
>

I actually did not remember one important detail about this, GWC keeps some
breadcrumbs around, if you go in the GEOSERVER_DATA_DIR/gwc/
directory you should fine a metadata.properties that allows tracking back
from the sha to the params inside of it, I tried
with a topp:states with 3 different styles, and the contents ended up being:

parameters.f0023dc7bc347fee7a3a04dc797f2223f74e3448=STYLES%3Dpolygon
parameters.7510004a12f49fdd49a2ba366e9c4594be7e4358=STYLES%3Dpophatch

If you cached on time, I'd expect to find the sha-1 alongside the time
value on the right end

Hope this helps

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