Re: [Geoserver-users] WMS workspace error
On Tue, Aug 7, 2018 at 7:55 PM Kris Johnson wrote: > I don't think it's a version issue since I'm using version 2.13.1 on Linux. > It might also be helpful to note that all datasets are being stored in a > postgis database. > Ok. As said before, then please try to find a way to reproduce and share it on the bug tracker :-) 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.* -- 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 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] WMS workspace error
I don't think it's a version issue since I'm using version 2.13.1 on Linux. It might also be helpful to note that all datasets are being stored in a postgis database. On Tue, Aug 7, 2018 at 12:47 PM, Andrea Aime wrote: > Ah, I see that you did not report the GeoServer version. If you're using > an old version, you might be affected by this one: > https://osgeo-org.atlassian.net/browse/GEOS-8291 > > Cheers > Andrea > > > On Tue, Aug 7, 2018 at 7:45 PM Andrea Aime > wrote: > >> Hi, >> the generic style is used only when it's not possible to determine the >> type of geometry in the table >> (unless you assigned it manually). >> >> If you have a step by step procedure to reproduce the issue it would be >> quite a valuable entry >> as a bug report here: >> https://osgeo-org.atlassian.net/projects/GEOS/summary >> >> Cheers >> Andrea >> >> >> On Tue, Aug 7, 2018 at 7:40 PM Kris Johnson wrote: >> >>> Hello Ian & Co., >>> >>> You might be onto something. When I assign a default style to a layer >>> that was previously broken, it now works. >>> >>> This is a fine solution for me, but I swear that times that I've used >>> Geoserver in the past, the "generic" style that Geoserver ships with is >>> used when a layer doesn't have a default assigned. Could this be due to my >>> layers existing in a workspace? >>> >>> Thanks for your help with this. >>> >>> >>> On Tue, Aug 7, 2018 at 12:24 PM, Ian Turton wrote: >>> I'm pretty sure that you need to specify a default style for each layer. Ian On Tue, 7 Aug 2018, 18:07 Kris Johnson, wrote: > Another bit of info to add to this is that the layers that work have a > default style assigned to them. And the layers that are not working do not > have a default style. > Are layers required to have a default style? I thought they would be > given a generic style in the instances were there was no default (or > otherwise) style specified. > > The documentation here (http://docs.geoserver.org/ > stable/en/user/services/wms/reference.html) states: > Styles in which layers are to be rendered. Value is a comma-separated > list of style names, or empty if default styling is required. Style names > may be empty in the list, to use default layer styling. > > On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson > wrote: > >> Hello, >> >> Some (but not all) of my layers are returning errors when trying to >> run a WMS GetMap request on them. This happens using both the openlayers >> Layer Preview and running regular HTTP requests from my web application. >> >> Here is the error I see in the logs: >> 2018-08-07 16:55:08,300 DEBUG [security. >> IncludeQueryStringAntPathRequestMatcher] - Matched Path: /nra/wms, >> QueryString: service=WMS=1.1.0=GetMap=nra: >> c2012_congress==189777.188873508,4857128. >> 36819381,762236.95884475,5472414.14367913=714& >> height=768=EPSG:26915=application/openlayers with /** >> 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler >> mapping found for [/nra/wms] >> 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping >> [/nra/wms] to HandlerExecutionChain with handler >> [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor >> 2018-08-07 16:55:08,304 INFO [geoserver.wms] - >> Request: getServiceInfo >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory >> can be applied from Strings to CRS only. >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - >> InterpolationConverterFactory can be applied from Strings to >> Interpolation >> only. >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory >> can be applied from Strings to CRS only. >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - >> InterpolationConverterFactory can be applied from Strings to >> Interpolation >> only. >> 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and >> styles from LAYERS and STYLES >> 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - >> java.lang.NullPointerException >> >> And here is the error I see from the Layer Preview: >> >> > ServiceExceptionReport SYSTEM >> "http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> >> >> java.lang.NullPointerException >> Details: >> org.geoserver.platform.ServiceException: java.lang.NullPointerException >> at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) >> at >> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) >> at >> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) >> at >> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) >> at >>
Re: [Geoserver-users] WMS workspace error
Ah, I see that you did not report the GeoServer version. If you're using an old version, you might be affected by this one: https://osgeo-org.atlassian.net/browse/GEOS-8291 Cheers Andrea On Tue, Aug 7, 2018 at 7:45 PM Andrea Aime wrote: > Hi, > the generic style is used only when it's not possible to determine the > type of geometry in the table > (unless you assigned it manually). > > If you have a step by step procedure to reproduce the issue it would be > quite a valuable entry > as a bug report here: > https://osgeo-org.atlassian.net/projects/GEOS/summary > > Cheers > Andrea > > > On Tue, Aug 7, 2018 at 7:40 PM Kris Johnson wrote: > >> Hello Ian & Co., >> >> You might be onto something. When I assign a default style to a layer >> that was previously broken, it now works. >> >> This is a fine solution for me, but I swear that times that I've used >> Geoserver in the past, the "generic" style that Geoserver ships with is >> used when a layer doesn't have a default assigned. Could this be due to my >> layers existing in a workspace? >> >> Thanks for your help with this. >> >> >> On Tue, Aug 7, 2018 at 12:24 PM, Ian Turton wrote: >> >>> I'm pretty sure that you need to specify a default style for each layer. >>> >>> Ian >>> >>> On Tue, 7 Aug 2018, 18:07 Kris Johnson, wrote: >>> Another bit of info to add to this is that the layers that work have a default style assigned to them. And the layers that are not working do not have a default style. Are layers required to have a default style? I thought they would be given a generic style in the instances were there was no default (or otherwise) style specified. The documentation here ( http://docs.geoserver.org/stable/en/user/services/wms/reference.html) states: Styles in which layers are to be rendered. Value is a comma-separated list of style names, or empty if default styling is required. Style names may be empty in the list, to use default layer styling. On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson wrote: > Hello, > > Some (but not all) of my layers are returning errors when trying to > run a WMS GetMap request on them. This happens using both the openlayers > Layer Preview and running regular HTTP requests from my web application. > > Here is the error I see in the logs: > 2018-08-07 16:55:08,300 DEBUG > [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path: > /nra/wms, QueryString: > service=WMS=1.1.0=GetMap=nra:c2012_congress==189777.188873508,4857128.36819381,762236.95884475,5472414.14367913=714=768=EPSG:26915=application/openlayers > with /** > 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler > mapping found for [/nra/wms] > 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping > [/nra/wms] to HandlerExecutionChain with handler > [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor > 2018-08-07 16:55:08,304 INFO [geoserver.wms] - > Request: getServiceInfo > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory > can be applied from Strings to CRS only. > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - > InterpolationConverterFactory can be applied from Strings to Interpolation > only. > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory > can be applied from Strings to CRS only. > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - > InterpolationConverterFactory can be applied from Strings to Interpolation > only. > 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and > styles from LAYERS and STYLES > 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - > java.lang.NullPointerException > > And here is the error I see from the Layer Preview: > > ServiceExceptionReport SYSTEM > "http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> > > java.lang.NullPointerException > Details: > org.geoserver.platform.ServiceException: java.lang.NullPointerException > at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) > at > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) > at > org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) > at > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) > at > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) > at > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) > at > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) > at > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)
Re: [Geoserver-users] WMS workspace error
Hi, the generic style is used only when it's not possible to determine the type of geometry in the table (unless you assigned it manually). If you have a step by step procedure to reproduce the issue it would be quite a valuable entry as a bug report here: https://osgeo-org.atlassian.net/projects/GEOS/summary Cheers Andrea On Tue, Aug 7, 2018 at 7:40 PM Kris Johnson wrote: > Hello Ian & Co., > > You might be onto something. When I assign a default style to a layer that > was previously broken, it now works. > > This is a fine solution for me, but I swear that times that I've used > Geoserver in the past, the "generic" style that Geoserver ships with is > used when a layer doesn't have a default assigned. Could this be due to my > layers existing in a workspace? > > Thanks for your help with this. > > > On Tue, Aug 7, 2018 at 12:24 PM, Ian Turton wrote: > >> I'm pretty sure that you need to specify a default style for each layer. >> >> Ian >> >> On Tue, 7 Aug 2018, 18:07 Kris Johnson, wrote: >> >>> Another bit of info to add to this is that the layers that work have a >>> default style assigned to them. And the layers that are not working do not >>> have a default style. >>> Are layers required to have a default style? I thought they would be >>> given a generic style in the instances were there was no default (or >>> otherwise) style specified. >>> >>> The documentation here ( >>> http://docs.geoserver.org/stable/en/user/services/wms/reference.html) >>> states: >>> Styles in which layers are to be rendered. Value is a comma-separated >>> list of style names, or empty if default styling is required. Style names >>> may be empty in the list, to use default layer styling. >>> >>> On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson >>> wrote: >>> Hello, Some (but not all) of my layers are returning errors when trying to run a WMS GetMap request on them. This happens using both the openlayers Layer Preview and running regular HTTP requests from my web application. Here is the error I see in the logs: 2018-08-07 16:55:08,300 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path: /nra/wms, QueryString: service=WMS=1.1.0=GetMap=nra:c2012_congress==189777.188873508,4857128.36819381,762236.95884475,5472414.14367913=714=768=EPSG:26915=application/openlayers with /** 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/nra/wms] 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping [/nra/wms] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor 2018-08-07 16:55:08,304 INFO [geoserver.wms] - Request: getServiceInfo 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only. 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - java.lang.NullPointerException And here is the error I see from the Layer Preview: >>> ServiceExceptionReport SYSTEM "http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> java.lang.NullPointerException Details: org.geoserver.platform.ServiceException: java.lang.NullPointerException at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
Re: [Geoserver-users] WMS workspace error
Hello Ian & Co., You might be onto something. When I assign a default style to a layer that was previously broken, it now works. This is a fine solution for me, but I swear that times that I've used Geoserver in the past, the "generic" style that Geoserver ships with is used when a layer doesn't have a default assigned. Could this be due to my layers existing in a workspace? Thanks for your help with this. On Tue, Aug 7, 2018 at 12:24 PM, Ian Turton wrote: > I'm pretty sure that you need to specify a default style for each layer. > > Ian > > On Tue, 7 Aug 2018, 18:07 Kris Johnson, wrote: > >> Another bit of info to add to this is that the layers that work have a >> default style assigned to them. And the layers that are not working do not >> have a default style. >> Are layers required to have a default style? I thought they would be >> given a generic style in the instances were there was no default (or >> otherwise) style specified. >> >> The documentation here (http://docs.geoserver.org/sta >> ble/en/user/services/wms/reference.html) states: >> Styles in which layers are to be rendered. Value is a comma-separated >> list of style names, or empty if default styling is required. Style names >> may be empty in the list, to use default layer styling. >> >> On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson wrote: >> >>> Hello, >>> >>> Some (but not all) of my layers are returning errors when trying to run >>> a WMS GetMap request on them. This happens using both the openlayers Layer >>> Preview and running regular HTTP requests from my web application. >>> >>> Here is the error I see in the logs: >>> 2018-08-07 16:55:08,300 DEBUG >>> [security.IncludeQueryStringAntPathRequestMatcher] >>> - Matched Path: /nra/wms, QueryString: service=WMS=1.1.0 >>> est=GetMap=nra:c2012_congress==189777. >>> 188873508,4857128.36819381,762236.95884475,5472414. >>> 14367913=714=768=EPSG:26915=application/openlayers >>> with /** >>> 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler >>> mapping found for [/nra/wms] >>> 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping >>> [/nra/wms] to HandlerExecutionChain with handler >>> [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor >>> 2018-08-07 16:55:08,304 INFO [geoserver.wms] - >>> Request: getServiceInfo >>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can >>> be applied from Strings to CRS only. >>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - >>> InterpolationConverterFactory can be applied from Strings to Interpolation >>> only. >>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can >>> be applied from Strings to CRS only. >>> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - >>> InterpolationConverterFactory can be applied from Strings to Interpolation >>> only. >>> 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and >>> styles from LAYERS and STYLES >>> 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - >>> java.lang.NullPointerException >>> >>> And here is the error I see from the Layer Preview: >>> >>> >> ServiceExceptionReport SYSTEM >>> "http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> >>> >>> java.lang.NullPointerException >>> Details: >>> org.geoserver.platform.ServiceException: java.lang.NullPointerException >>> at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) >>> at >>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) >>> at >>> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) >>> at >>> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) >>> at >>> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) >>> at >>> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) >>> at >>> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) >>> at >>> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) >>> at >>> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) >>> 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:52) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >>> at >>>
Re: [Geoserver-users] WMS workspace error
I'm pretty sure that you need to specify a default style for each layer. Ian On Tue, 7 Aug 2018, 18:07 Kris Johnson, wrote: > Another bit of info to add to this is that the layers that work have a > default style assigned to them. And the layers that are not working do not > have a default style. > Are layers required to have a default style? I thought they would be given > a generic style in the instances were there was no default (or otherwise) > style specified. > > The documentation here ( > http://docs.geoserver.org/stable/en/user/services/wms/reference.html) > states: > Styles in which layers are to be rendered. Value is a comma-separated list > of style names, or empty if default styling is required. Style names may be > empty in the list, to use default layer styling. > > On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson wrote: > >> Hello, >> >> Some (but not all) of my layers are returning errors when trying to run a >> WMS GetMap request on them. This happens using both the openlayers Layer >> Preview and running regular HTTP requests from my web application. >> >> Here is the error I see in the logs: >> 2018-08-07 16:55:08,300 DEBUG >> [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path: >> /nra/wms, QueryString: >> service=WMS=1.1.0=GetMap=nra:c2012_congress==189777.188873508,4857128.36819381,762236.95884475,5472414.14367913=714=768=EPSG:26915=application/openlayers >> with /** >> 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler >> mapping found for [/nra/wms] >> 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping >> [/nra/wms] to HandlerExecutionChain with handler >> [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor >> 2018-08-07 16:55:08,304 INFO [geoserver.wms] - >> Request: getServiceInfo >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can >> be applied from Strings to CRS only. >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - >> InterpolationConverterFactory can be applied from Strings to Interpolation >> only. >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can >> be applied from Strings to CRS only. >> 2018-08-07 16:55:08,304 DEBUG [geotools.util] - >> InterpolationConverterFactory can be applied from Strings to Interpolation >> only. >> 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and styles >> from LAYERS and STYLES >> 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - >> java.lang.NullPointerException >> >> And here is the error I see from the Layer Preview: >> >> > ServiceExceptionReport SYSTEM >> "http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> >> >> java.lang.NullPointerException >> Details: >> org.geoserver.platform.ServiceException: java.lang.NullPointerException >> at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) >> at >> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) >> at >> org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) >> at >> org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) >> at >> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) >> at >> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) >> at >> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) >> at >> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) >> at >> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) >> 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:52) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) >> at >> org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:423) >> at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169) >> 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:28) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) >> at
Re: [Geoserver-users] WMS workspace error
Kris, This might be a bit of a shot in the dark, but that behavior reminds me of when I had non-XML Safe naming conventions for my layers/stores/data. Try taking one of those layers that is giving you issues, and putting it into a path in the data_dir that has no spaces or special characters, and giving the file a name with no spaces or characters other than – or _. So, D:\data_dir\imports\test\test_file_1.tiff or something similar. When creating the new Workspace, store, and layer, follow the same conventions as above. I hope that helps, and if not, someone more knowledgeable steps in. Thanks, Brett From: Kris Johnson Sent: Tuesday, August 7, 2018 12:57 PM To: GeoServer Mailing List List Subject: [Geoserver-users] WMS workspace error Hello, Some (but not all) of my layers are returning errors when trying to run a WMS GetMap request on them. This happens using both the openlayers Layer Preview and running regular HTTP requests from my web application. Here is the error I see in the logs: 2018-08-07 16:55:08,300 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path: /nra/wms, QueryString: service=WMS=1.1.0=GetMap=nra:c2012_congress==189777.188873508,4857128.36819381,762236.95884475,5472414.14367913=714=768=EPSG:26915=application/openlayers with /** 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/nra/wms] 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping [/nra/wms] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor 2018-08-07 16:55:08,304 INFO [geoserver.wms] - Request: getServiceInfo 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only. 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - java.lang.NullPointerException And here is the error I see from the Layer Preview: http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> java.lang.NullPointerException Details: org.geoserver.platform.ServiceException: java.lang.NullPointerException at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) 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:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:423) at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169) 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:28) 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:75) at
Re: [Geoserver-users] WMS workspace error
Another bit of info to add to this is that the layers that work have a default style assigned to them. And the layers that are not working do not have a default style. Are layers required to have a default style? I thought they would be given a generic style in the instances were there was no default (or otherwise) style specified. The documentation here ( http://docs.geoserver.org/stable/en/user/services/wms/reference.html) states: Styles in which layers are to be rendered. Value is a comma-separated list of style names, or empty if default styling is required. Style names may be empty in the list, to use default layer styling. On Tue, Aug 7, 2018 at 11:57 AM, Kris Johnson wrote: > Hello, > > Some (but not all) of my layers are returning errors when trying to run a > WMS GetMap request on them. This happens using both the openlayers Layer > Preview and running regular HTTP requests from my web application. > > Here is the error I see in the logs: > 2018-08-07 16:55:08,300 DEBUG > [security.IncludeQueryStringAntPathRequestMatcher] > - Matched Path: /nra/wms, QueryString: service=WMS=1.1.0& > request=GetMap=nra:c2012_congress== > 189777.188873508,4857128.36819381,762236.95884475, > 5472414.14367913=714=768=EPSG:26915=application/openlayers > with /** > 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler mapping > found for [/nra/wms] > 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping [/nra/wms] > to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@4b46afd] > and 1 interceptor > 2018-08-07 16:55:08,304 INFO [geoserver.wms] - > Request: getServiceInfo > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be > applied from Strings to CRS only. > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - > InterpolationConverterFactory can be applied from Strings to Interpolation > only. > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be > applied from Strings to CRS only. > 2018-08-07 16:55:08,304 DEBUG [geotools.util] - > InterpolationConverterFactory can be applied from Strings to Interpolation > only. > 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and styles > from LAYERS and STYLES > 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - > java.lang.NullPointerException > > And here is the error I see from the Layer Preview: > > ServiceExceptionReport SYSTEM > "http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> > > java.lang.NullPointerException > Details: > org.geoserver.platform.ServiceException: java.lang.NullPointerException > at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) > at > org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) > at > org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) > at > org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) > at > org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) > at > org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) > at > org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) > at > org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) > at > org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) > 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:52) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) > at > org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:423) > at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169) > 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:28) > 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:75) >
[Geoserver-users] WMS workspace error
Hello, Some (but not all) of my layers are returning errors when trying to run a WMS GetMap request on them. This happens using both the openlayers Layer Preview and running regular HTTP requests from my web application. Here is the error I see in the logs: 2018-08-07 16:55:08,300 DEBUG [security.IncludeQueryStringAntPathRequestMatcher] - Matched Path: /nra/wms, QueryString: service=WMS=1.1.0=GetMap=nra:c2012_congress==189777.188873508,4857128.36819381,762236.95884475,5472414.14367913=714=768=EPSG:26915=application/openlayers with /** 2018-08-07 16:55:08,304 TRACE [ows.OWSHandlerMapping] - No handler mapping found for [/nra/wms] 2018-08-07 16:55:08,304 DEBUG [ows.OWSHandlerMapping] - Mapping [/nra/wms] to HandlerExecutionChain with handler [org.geoserver.ows.Dispatcher@4b46afd] and 1 interceptor 2018-08-07 16:55:08,304 INFO [geoserver.wms] - Request: getServiceInfo 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only. 2018-08-07 16:55:08,304 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only. 2018-08-07 16:55:08,304 DEBUG [geoserver.ows] - Getting layers and styles from LAYERS and STYLES 2018-08-07 16:55:08,304 ERROR [geoserver.ows] - java.lang.NullPointerException And here is the error I see from the Layer Preview: http://data.nrri.umn.edu:32787/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd;> java.lang.NullPointerException Details: org.geoserver.platform.ServiceException: java.lang.NullPointerException at org.geoserver.ows.Dispatcher.exception(Dispatcher.java:1743) at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:280) at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:174) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:50) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:963) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:897) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861) at javax.servlet.http.HttpServlet.service(HttpServlet.java:635) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846) at javax.servlet.http.HttpServlet.service(HttpServlet.java:742) 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:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:423) at org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:169) 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:28) 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: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.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at
Re: [Geoserver-users] NetCDF extension and H2
Dear Clifford, please, read below... Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 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. On Wed, Aug 1, 2018 at 7:17 PM Clifford Harms wrote: > > I'm using the NetCDF extension to publish some forecast netcdfs via > GeoServer, which is working well. But, when publishing NetCDF coverages > using gt-netcdf, there appears to be a H2 database created to maintain an > index in a hidden directory. True. This is the default, we can configure it to use Postgis instead. > It looks like these H2 databases bind to network interfaces at some point. > This is an issue for me, as my operational environment will not allow >this > unless such connections can be extensively secured. Is there any way at all > to restrict H2 to embedded mode only when used by the >NetCDF plugin? I think that should be the default, @Daniele Romagnoli ? > I've also seen reference to some sort of xml based "indexer" file, could > this be a suitable alternative to H2 if there is no way to prevent H2 binding > > to network interfaces? The XML indexer gives you much more freedom in terms of what you want to server but I am not sure this is what you need. As I said it is possible to configure things to use Postgis rather than H2 which is also more stable. > > -- > Clifford M. Harms > -- > 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 > > 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 -- 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 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] Newly added layers not rendering with GeoServer 2.13.2
Hi, I had misresad your original message, given the other conversations it would indeed appear to be a network issue of sorts Cheers Andrea On Tue, Aug 7, 2018 at 4:50 PM Carlock, Brett wrote: > Any direction/assistance is more than appreciated. > > > > I see no indication that Windows is doing anything untoward with the > content of the data_dir (reverts, etc). Nothing’s going missing, and > changes I make against geoserver’s config seem to stick. > > > > The data are generated mostly by myself in-house, either out of QGIS (v3.x > most recently, v2.x before) or Manifold GIS 8. Shapefiles and GeoTiff, > primarily. > > > > I’ve attached sanitized outputs of gdalinfo for both layers in case that > helps determine what might be at play here, but rest assured that they > project/display properly in the proper locations with QGIS, so don’t mind > the corner coordinates section being REDACTED. > > > > Thanks! > > Brett > > > > *From:* Andrea Aime > *Sent:* Monday, August 6, 2018 1:14 PM > *To:* Carlock, Brett > *Cc:* GeoServer Mailing List List > *Subject:* Re: [Geoserver-users] Newly added layers not rendering with > GeoServer 2.13.2 > > > > On Mon, Aug 6, 2018 at 6:48 PM Carlock, Brett > wrote: > > Hi Andrea! I feel pretty fancy getting help from you > > > > Eeh, being it a Windows server I cannot offer much of it. > > > > > > In our config, we have our data_dir on a separate storage volume with RWX > access for all users on the machine, so I don’t believe permissions/ACL > issues are coming into play here. > > > > To confirm, we can add/remove/rename/reconfigure > stores/layers/styles/settings, so as far as I can tell, GeoServer has the > access to the data_dir and its subdirectories it needs to function properly. > > To further confirm, would it throw an exception or warning in the logs if > it didn’t? I can take a poke through to ensure that this isn’t happening. > > > > I would expect to see an exception in the logs if it was not writable, but > not sure what would happen if > > Windows reverted the contents of the files/directories. It may be a data > issue... where is the data coming from? > > > > 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.* > -- 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 --- *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.*
Re: [Geoserver-users] Newly added layers not rendering with GeoServer 2.13.2
Any direction/assistance is more than appreciated. I see no indication that Windows is doing anything untoward with the content of the data_dir (reverts, etc). Nothing’s going missing, and changes I make against geoserver’s config seem to stick. The data are generated mostly by myself in-house, either out of QGIS (v3.x most recently, v2.x before) or Manifold GIS 8. Shapefiles and GeoTiff, primarily. I’ve attached sanitized outputs of gdalinfo for both layers in case that helps determine what might be at play here, but rest assured that they project/display properly in the proper locations with QGIS, so don’t mind the corner coordinates section being REDACTED. Thanks! Brett From: Andrea Aime Sent: Monday, August 6, 2018 1:14 PM To: Carlock, Brett Cc: GeoServer Mailing List List Subject: Re: [Geoserver-users] Newly added layers not rendering with GeoServer 2.13.2 On Mon, Aug 6, 2018 at 6:48 PM Carlock, Brett mailto:bcarl...@agrinetix.com>> wrote: Hi Andrea! I feel pretty fancy getting help from you Eeh, being it a Windows server I cannot offer much of it. In our config, we have our data_dir on a separate storage volume with RWX access for all users on the machine, so I don’t believe permissions/ACL issues are coming into play here. To confirm, we can add/remove/rename/reconfigure stores/layers/styles/settings, so as far as I can tell, GeoServer has the access to the data_dir and its subdirectories it needs to function properly. To further confirm, would it throw an exception or warning in the logs if it didn’t? I can take a poke through to ensure that this isn’t happening. I would expect to see an exception in the logs if it was not writable, but not sure what would happen if Windows reverted the contents of the files/directories. It may be a data issue... where is the data coming from? 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. gdalinfo_GoodBad.7z Description: gdalinfo_GoodBad.7z -- 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 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] Newly added layers not rendering with GeoServer 2.13.2
Hello Brett, thank you for forwarding my previous response to the mailing list :-) The error shown in the console might or might not be the source of your problem. According to the current OpenLayers source code, error #25 originates in the method 'View.fit' (https://github.com/openlayers/openlayers/blob/master/src/ol/View.js#L981) which is called with an empty 'geometryOrExtent' parameter. As this happens before your first interaction with the webseite I assume that there is a problem with setting the intial map extent. To track down the real problem you should have a look at the configuration of your OpenLayers web application. There must be some kind of difference between 'old' and 'new' layers. If the app is configured by reading the content of the service's GetCapabilities document, maybe the error originally comes from the server. The only other possibility I see at the moment would be to debug the client javascript to see exactly what is happening when you activate the 'bad' layer. Regards Daniel From: Carlock, Brett [mailto:bcarl...@agrinetix.com] Sent: Monday, August 6, 2018 5:57 PM To: geoserver-users@lists.sourceforge.net Subject: Re: [Geoserver-users] Newly added layers not rendering with GeoServer 2.13.2 Hello again! I used the F12 Developer Tools in Edge to investigate the difference between a Good request against a layer I know works versus a Bad request against one of the newly added layers, and have attached a 7z archive of the two HAR (JSON) logs to this reply. This website can be used to visualize the HAR logs nicely: http://www.softwareishard.com/har/viewer/ >From my limited understanding, the Good Request proceeds as I assume it >normally would, and after I click the toggle button to load the layer in our >UI, it makes a series of GET WMS requests which return PNG tiles. This is how >I believe things should go, and the layer draws just fine. When I read the Bad request, it proceeds pretty much exactly the same as the Good request up until the point where I toggle the layer on with the checkbox in our UI. The log stops there. Absolutely nothing happens, which I suppose makes sense given that I observed no information about a failure in the logs for geoserver/Tanuki wrapper, and the files seem to not be malformed. The only other thing of note I observed in the F12 Developer Tools is this log entry in the Console: 0: AssertionError: Assertion failed. See https://openlayers.org/en/v4.6.4/doc/errors/#25 for details. The error description reads as follows: (25: Cannot fit empty extent provided as geometry.) This error shows up before I interact with our website UI in any way, and does not seem to impact whether or not a layer draws as it is present before I turn on known-good working layers. Does this definitively mean that the issue lies with our OpenLayers UI, or am I not fully understanding how these systems interact yet? Thank you all so much for your time and assistance, and especially thanks to Daniel for pointing me in the direction to take a closer look at what is going on. Brett Instructions/Reply from Daniel quoted below: "Hi Brett, if the tiles do not show up on your website, the first thing to try would be checking the requested URLs and the response from the server. Press the "F12" key in your browser or open "Developer Tools" from the menu and switch to the "Network" tab. Reload the page or zoom/pan the map and the tile requests should be listed. Look out for differences in the URLs of tiles of working and broken layers and also check the HTTP status code for "200 OK" or "304 Not Modified" with would be fine or "500 Server Error" in case of problems on the server. A look in the details of a single request might be interesting too, are valid pictures returned (Content-Type, Content-Length)? Maybe the server is responding properly but the images are blank/transparent. You could also install a tool like "Fiddler" and redirect the traffic of QGIS to the Fiddler proxy to be able to compare the successful requests of QGIS with the unsuccessful requests of the website client. Let us know what you found out. Regards Daniel" From: Carlock, Brett Sent: Friday, August 3, 2018 4:09 PM To: geoserver-users@lists.sourceforge.net Subject: Newly added layers not rendering with GeoServer 2.13.2 Hi! Firstly, thanks for your excellent software. GeoServer is an amazing tool and I have rather enjoyed my time learning about it this past year. Background: Windows x64 Host (Server 2012) Oracle JRE8v181 x86 Pure Java JAI/JIO GeoServer v2.13.2 installed as a Service with the Tanuki Wrapper GeoServer data-dir that has been migrated from 2.5.x up to 2.13.2 Semi-Manual rename of files/folders and edits of coverage/layer/store xml files to make everything XML-Safe accomplished by me when migrating from 2.8.x to versions beyond (2.12.3) [a whole other issue :C] Things worked fine until migration from 2.12.3 to 2.13.0. Issue
Re: [Geoserver-users] [Geoserver-devel] GSIP 169 - WPS Extension "GetExecutions" Operation
Hi Alessio, some quick feedback. About https://github.com/geoserver/geoserver/wiki/GSIP-169#statusinfo-document - How do you compute the estimated completion and the next poll? Do they need a API change in the WPS core? - The JobId is the id of the execution, while the identifier is the process "name"? About https://github.com/geoserver/geoserver/wiki/GSIP-169#getexecutionsexceptions When does a GetExecutions request throw a DataNotAccessible, ServerBusy, or WrongInputData exception? The GetExecutions operations should be a light one and it would be bad imho not to get the desired list because one of the processes has had invalid inputs (but maybe I don't understand exactly when these are meant to be thrown). Cheers Andrea On Fri, Aug 3, 2018 at 11:22 AM Alessio Fabiani < alessio.fabi...@geo-solutions.it> wrote: > Dear all, dear PSC, > please find details about GSIP 169 @ > > https://github.com/geoserver/geoserver/wiki/GSIP-169 > > comments and feedbacks are appreciated. > > thanks, > Alessio. > > -- > > == > > GeoServer Professional Services from the experts! Visit > http://goo.gl/it488V for more information. > == > Ing. Alessio Fabiani > > @alfa7691 > Founder/Technical Lead > > > GeoSolutions S.A.S. > Via di Montramito 3/A - 55054 Massarosa (LU) - Italy > phone: +39 0584 962313 > fax: +39 0584 1660272 > mob: +39 331 6233686 > > > 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. > > -- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > ___ > Geoserver-devel mailing list > geoserver-de...@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geoserver-devel > -- 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 --- *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.* -- 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 If you want to request a feature or an improvement, also see this: