[GeoNode-devel] Uploading layer hangs at: Performing Final GeoServer Config Step

Simone Dalmasso simone.dalmasso at gmail.com
Fri Jun 24 06:15:57 PDT 2016


You need to tell geoserver where to correctly find geonode. In the
geoserver data dir/security/auth/geonodeAuthProvider/config.xml you can set
the correct url of your geonode, then restart tomcat.

2016-06-24 15:12 GMT+02:00 Marcathian Alexander <marcathian at gmail.com>:

> Hello Simone;
> Thanks for your assistance so far.
> The login from geonode is not kept when the /geoserver is accessed.
> I have to login again to the geoserver.
> How do I resolve this?
>
> May Yahweh bless you and keep you.
> May Yahweh let his face shine on you and be gracious to you.
> May Yahweh show you his face and bring you peace.
> (New Jerusalem Bible Numbers 6:24-26)
>
> Marcathian Alexander
>
> email: marcathian at gmail.com
> Home: 453-3632 / 453-3454
> Mobile: 719-2248
> Work: 468-4434
>
> On Fri, Jun 24, 2016 at 7:31 AM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Than is not that the issue. Other thing it could be is a communication
>> issue between geonode and geoserver which could lead to "no such layer".
>> Does geoserver correctly keeps the login from geonode when you access
>> "/geoserver" or "localhost:8080/geoserver"?
>>
>> 2016-06-24 12:07 GMT+02:00 Marcathian Alexander <marcathian at gmail.com>:
>>
>>> It is being done in a VM with 4 cores, and 8Gig of RAM.
>>> the Xms and Xmx values for tomcat are 4096m.
>>> How may i provide the aditional resources to geoserver?
>>>
>>> May Yahweh bless you and keep you.
>>> May Yahweh let his face shine on you and be gracious to you.
>>> May Yahweh show you his face and bring you peace.
>>> (New Jerusalem Bible Numbers 6:24-26)
>>>
>>> Marcathian Alexander
>>>
>>> email: marcathian at gmail.com
>>> Home: 453-3632 / 453-3454
>>> Mobile: 719-2248
>>> Work: 468-4434
>>>
>>> On Fri, Jun 24, 2016 at 3:27 AM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> Hi, could it be that your machine is not powerful enough? Seems that
>>>> geoserver has not enough resources to process the layer in reasonable time.
>>>>
>>>> 2016-06-24 2:18 GMT+02:00 Marcathian Alexander <marcathian at gmail.com>:
>>>>
>>>>> Hello;
>>>>>
>>>>> I am preparing to deploy a geonode installation using GeoNode version
>>>>> 2.4.dev20160527174840.
>>>>> When attempting to upload an esri shp file through the upload layers
>>>>> page the process hangs at the message: performing Final GeoServer Config
>>>>> Step.
>>>>>
>>>>> I shall be grateful for assistance in resolving the issue.  The
>>>>> content of the logs are below.
>>>>>
>>>>>
>>>>> output from the postgresql log:
>>>>>
>>>>> 2016-06-23 18:44:40 AST [5406-25] geonode at geonode WARNING:  01000:
>>>>> ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
>>>>> 2016-06-23 18:44:40 AST [5406-26] geonode at geonode CONTEXT:  SQL
>>>>> function "st_force_2d" during startup
>>>>> 2016-06-23 18:44:40 AST [5406-27] geonode at geonode LOCATION:
>>>>>  exec_stmt_raise, pl_exec.c:3216
>>>>> 2016-06-23 18:44:40 AST [5406-28] geonode at geonode STATEMENT:  SELECT
>>>>> ST_AsText(ST_Force_2D(ST_Envelope(ST_Extent("the_geom"::geometry)))) FROM
>>>>> "public"."West_Highway"
>>>>> 2016-06-23 18:44:46 AST [5406-29] geonode at geonode WARNING:  01000:
>>>>> ST_Force_2d signature was deprecated in 2.1.0. Please use ST_Force2D
>>>>> 2016-06-23 18:44:46 AST [5406-30] geonode at geonode CONTEXT:  SQL
>>>>> function "st_force_2d" during startup
>>>>> 2016-06-23 18:44:46 AST [5406-31] geonode at geonode LOCATION:
>>>>>  exec_stmt_raise, pl_exec.c:3216
>>>>> 2016-06-23 18:44:46 AST [5406-32] geonode at geonode STATEMENT:  SELECT
>>>>> "fid",encode(ST_AsBinary(ST_Force_2D("the_geom")),'base64') as "the_geom"
>>>>> FROM "public"."West_Highway" WHERE  "the_geom" && ST_GeomFromText('POLYGON
>>>>> ((487266.2853154304 1518248.9631568347, 487266.2853154304
>>>>> 1546225.3912784152, 524325.9693206407 1546225.3912784152, 524325.9693206407
>>>>> 1518248.9631568347, 487266.2853154304 1518248.9631568347))', 2006) AND
>>>>> ST_Intersects("the_geom", ST_GeomFromText('POLYGON ((487266.2853154304
>>>>> 1518248.9631568347, 487266.2853154304 1546225.3912784152, 524325.9693206407
>>>>> 1546225.3912784152, 524325.9693206407 1518248.9631568347, 487266.2853154304
>>>>> 1518248.9631568347))', 2006))
>>>>>
>>>>>
>>>>> Output from TomCat7 log:
>>>>>
>>>>> Jun 23, 2016 6:44:40 PM org.geoserver.importer.rest.TaskResource
>>>>> handlePost
>>>>> INFO: Handling POST of multipart/form-data;
>>>>> boundary=----------ThIs_Is_tHe_bouNdaRY_$
>>>>> 23 Jun 18:44:40 WARN [geoserver.security] - Could not find factory for
>>>>> store : DataStoreInfoImpl[datastore]. Unable to encrypt connection
>>>>> parameters.
>>>>> 23 Jun 18:44:40 INFO [org.geoserver] - Loaded store 'datastore',
>>>>> enabled
>>>>> 23 Jun 18:44:40 INFO [geoserver.importer] - begining import
>>>>> 23 Jun 18:44:40 ERROR [geoserver.rest] - No such layer: West_Highway
>>>>> 23 Jun 18:44:40 ERROR [geoserver.rest] -
>>>>> org.geoserver.rest.RestletException
>>>>> at
>>>>> org.geoserver.catalog.rest.LayerFinder.findTarget(LayerFinder.java:39)
>>>>> at org.restlet.Finder.handle(Finder.java:268)
>>>>> at
>>>>> org.geoserver.rest.BeanDelegatingRestlet.handle(BeanDelegatingRestlet.java:38)
>>>>> at org.restlet.Filter.doHandle(Filter.java:105)
>>>>> at org.restlet.Filter.handle(Filter.java:134)
>>>>> at org.restlet.Router.handle(Router.java:444)
>>>>> at org.geoserver.rest.RESTDispatcher$1.handle(RESTDispatcher.java:205)
>>>>> at
>>>>> com.noelios.restlet.ext.servlet.ServletConverter.service(ServletConverter.java:129)
>>>>> at
>>>>> org.geoserver.rest.RESTDispatcher.handleRequestInternal(RESTDispatcher.java:87)
>>>>> 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:620)
>>>>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at
>>>>> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:28)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> 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:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at
>>>>> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:50)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> 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:201)
>>>>> 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
>>>>> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
>>>>> at
>>>>> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:111)
>>>>> 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.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
>>>>> at
>>>>> org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:53)
>>>>> 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.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:173)
>>>>> at
>>>>> org.geoserver.security.GeoServerSecurityFilterChainProxy.doFilter(GeoServerSecurityFilterChainProxy.java:135)
>>>>> at
>>>>> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
>>>>> at
>>>>> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:87)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at
>>>>> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:48)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at
>>>>> org.geoserver.filters.FlushSafeFilter.doFilter(FlushSafeFilter.java:44)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at
>>>>> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
>>>>> at
>>>>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
>>>>> at
>>>>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
>>>>> at
>>>>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
>>>>> at
>>>>> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
>>>>> at
>>>>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
>>>>> at
>>>>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
>>>>> at
>>>>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
>>>>> at
>>>>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
>>>>> at
>>>>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
>>>>> at
>>>>> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1041)
>>>>> at
>>>>> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
>>>>> at
>>>>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:315)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>>>>> at
>>>>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>>>>> at java.lang.Thread.run(Thread.java:745)
>>>>> 23 Jun 18:44:40 INFO [geoserver.importer] - load to target took 104
>>>>> 23 Jun 18:44:45 INFO [org.geoserver] - Loaded feature type 'null',
>>>>> enabled
>>>>> 23 Jun 18:44:45 WARN [catalog.impl] - Failed to load actual store for
>>>>> FeatureTypeInfoImpl[null]
>>>>> 23 Jun 18:44:45 WARN [catalog.impl] - Failed to load actual store for
>>>>> FeatureTypeInfoImpl[null]
>>>>> 23 Jun 18:44:45 INFO [catalog.rest] - PUT
>>>>> FeatureTypedatastore,West_Highway updated metadata only
>>>>> 23 Jun 18:44:46 INFO [geoserver.wms] -
>>>>> Request: getServiceInfo
>>>>> 23 Jun 18:44:46 INFO [geoserver.wms] -
>>>>> Request: reflect
>>>>> SldBody = null
>>>>> ValidateSchema = false
>>>>> Sld = null
>>>>> StyleUrl = null
>>>>> Width = 200
>>>>> Height = 150
>>>>> Interpolations = []
>>>>> StyleFormat = sld
>>>>> Transparent = false
>>>>> TilesOrigin = null
>>>>> Tiled = false
>>>>> Palette = null
>>>>> FeatureVersion = null
>>>>> SRS = null
>>>>> Styles = [StyleImpl[ name=geonode_West_Highway1]]
>>>>> Layers = [org.geoserver.wms.MapLayerInfo at 1ee3d97d]
>>>>> MaxFeatures = null
>>>>> Crs = null
>>>>> Bbox = null
>>>>> RemoteOwsType = null
>>>>> RemoteOwsURL = null
>>>>> Env = {}
>>>>> FormatOptions = {}
>>>>> Angle = 0.0
>>>>> CQLFilter = null
>>>>> Elevation = []
>>>>> FeatureId = null
>>>>> StartIndex = null
>>>>> ViewParams = null
>>>>> BgColor = java.awt.Color[r=255,g=255,b=255]
>>>>> Exceptions = SE_XML
>>>>> StyleBody = null
>>>>> SldVersion = null
>>>>> StyleVersion = null
>>>>> ScaleMethod = null
>>>>> Format = image/png8
>>>>> Buffer = 0
>>>>> Time = []
>>>>> Filter = null
>>>>> Filters = null
>>>>> Get = true
>>>>> BaseUrl = http://sling.gosl.gov.lc:8080/geoserver/
>>>>> RawKvp = {FORMAT=image/png8, HEIGHT=150, LAYERS=geonode:West_Highway,
>>>>> WIDTH=200}
>>>>> RequestCharset = UTF-8
>>>>> Version = null
>>>>> Request = GetMap
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> May Yahweh bless you and keep you.
>>>>> May Yahweh let his face shine on you and be gracious to you.
>>>>> May Yahweh show you his face and bring you peace.
>>>>> (New Jerusalem Bible Numbers 6:24-26)
>>>>>
>>>>> Marcathian Alexander
>>>>>
>>>>> email: marcathian at gmail.com
>>>>> Home: 453-3632 / 453-3454
>>>>> Mobile: 719-2248
>>>>> Work: 468-4434
>>>>>
>>>>> _______________________________________________
>>>>> geonode-devel mailing list
>>>>> geonode-devel at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-devel
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160624/483eca77/attachment-0001.html>


More information about the geonode-devel mailing list