[Geoserver-users] WFS GetCapabilities failures

2016-09-27 Thread Raif S. Naffah
hi all,

working w/ GeoServer 2.8.5 i'm getting sporadic failures when
requesting WFS capabilities.  the failures show up in the geoserver.log
as follows:

2016-09-28 12:02:18,843 INFO [org.geoserver.wfs] - 
Request: getServiceInfo
2016-09-28 12:02:18,844 INFO [org.geoserver.wfs] - 
Request: getCapabilities
baseUrl = http://localhost:9100/geoserver/
service = WFS
2016-09-28 12:02:18,879 ERROR [org.geoserver.ows] - 
java.io.IOException
at 
org.geoserver.wfs.response.GetCapabilitiesResponse.write(GetCapabilitiesResponse.java:63)
at org.geoserver.ows.Dispatcher.response(Dispatcher.java:996)
at 
org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:279)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at 
org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:778)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at 
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:75)
at 
org.geoserver.wms.animate.AnimatorFilter.doFilter(AnimatorFilter.java:71)
at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:71)
at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:46)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:116)
at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at 
org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:54)
at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:69)
at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at 
org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:73)
at 
org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:92)
at 
org.geoserver.security.filter.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:83)
at 

[Geoserver-users] how to add custom startup actions

2016-09-27 Thread Raif S. Naffah
hi all,

i'm in the process of using WPS and REST to create, populate and use an
h2 based data-store.  the h2 server is external to GeoServer.

the problem i'm facing is that depending on the order of how these two
servers are started and the state of the h2 database it's in, GeoServer
does not operate correctly.

if however after i start GeoServer, i manually delete my (h2)
data-store and reload the catalog everything is back working correctly
again.

i'm wondering if there's an extension point where i can add code to do
just that upon GeoServer startup.

TIA + cheers;
rsn


pgpwumwHmWMys.pgp
Description: OpenPGP digital signature
--
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] WPS raster statistics

2016-09-27 Thread GISalbert
Hi all,

Is it possible to get an average value (and possibly, min, max, standard
deviation) of a layer in a bounding box using some OGC request?

I mean not using POST request by creating previously an XML file.

I have had a look to the Open Geospatial Consortium official documentation
for WPS and they have a good example for buffer processing. I have read
somewhere that making a GET request using WPS processing is not yet there...

I have tried gs:RasterZonalStatistic using WPS request builder and CURL but
I get as output a polygon with min, max, average and so on.

Any ideas please?

Thank you.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WPS-raster-statistics-tp5288070.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

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


Re: [Geoserver-users] Problem changing bounding box of imagemosaic layer

2016-09-27 Thread Sabine Ohlendorf
Hi,

anyone an idea? Again I faced the problem that I cannot enlarge the bounding 
box when I add data. Actually I can enlarge the boundingbox via the 
administration interface but geoserver still only shows the original bounding 
box.
I there any other place where the boundingbox is set? 

Regards,
Sabine Ohlendorf



-
Dear mailing list,

I am using a Geoserver Version 2.7.5.
I have an imagemosaic layer of a coverage based on postgis database. I use this 
layer for timeseries raster data. The boundingbox for the layer was set to an 
AOI. I now ingested additional data to this layer which covered a bigger area 
which is why I changed the boundingsbox of the layer to a bigger one. So I 
enlarged the boundingbox via the administration web interface.
But within in the layer preview it still showed the old smaller boundingbox. 
When I clicked on "Compute from data" for the boundingbox it changed back to 
the smaller boundingbox although the data I added to the layer/coverage covered 
a bigger area. So how can I change the boundingbox to a bigger area?

I ended up deleting the coverage and recreate it. But this is probably not the 
intended way doing it. Can anybody help?

Thanks!
Regards,
Sabine 

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