[GeoNode-users] Upload problem

Simone Dalmasso simone.dalmasso at gmail.com
Tue May 3 01:29:32 PDT 2016


strange path for the geowebcache folder. Did you change it or is by
default? Seems that www-data does not have write permissions there


2016-05-03 10:17 GMT+02:00 Alessio <alessio.dl at gmail.com>:

> The Apache error.log reports the same [Errno 110] that I can see on
> Geonode. Looking at the Geoserver log, it seems something is getting wrong
> with GeoWebCache...
>
> 2016-05-03 09:22:32,711 INFO [catalog.rest] - PUT file, mimetype:
> application/zip
> 2016-05-03 09:22:32,767 INFO [catalog.rest] - Using existing datastore:
> datastore
> 2016-05-03 09:22:33,175 INFO [catalog.rest] - Added feature type
> acquacolturamarche
> 2016-05-03 09:22:33,222 INFO [org.geoserver] - Loaded feature type 'null',
> enabled
> 2016-05-03 09:22:33,231 INFO [geoserver.catalog] - Disposing feature type
> 'acquacolturamarche'
> 2016-05-03 09:22:33,231 INFO [geoserver.catalog] - Disposing feature type
> 'acquacolturamarche'
> 2016-05-03 09:22:33,238 INFO [geoserver.catalog] - Disposing datastore
> 'datastore'
> 2016-05-03 09:22:33,240 INFO [catalog.rest] - PUT feature
> typedatastore,acquacolturamarche
> 2016-05-03 09:34:02,091 INFO [file.FileBlobStore] -
> /tmp/tomcat7-tomcat7-tmp/geowebcache/geonode_acquacolturamarche does not
> exist or is not writable
> 2016-05-03 09:34:02,095 WARN [catalog.impl] - Catalog listener threw
> exception handling event.
> java.lang.NullPointerException
> at
> org.geoserver.catalog.ResourcePool$FeatureTypeCache.dispose(ResourcePool.java:1747)
> at
> org.geoserver.catalog.ResourcePool$FeatureTypeCache.dispose(ResourcePool.java:1738)
> at
> org.geoserver.catalog.ResourcePool$CatalogResourceCache.remove(ResourcePool.java:1717)
> at org.geoserver.catalog.ResourcePool.clear(ResourcePool.java:1029)
> at
> org.geoserver.catalog.ResourcePool$CacheClearingListener.visit(ResourcePool.java:1916)
> at
> org.geoserver.catalog.impl.FeatureTypeInfoImpl.accept(FeatureTypeInfoImpl.java:96)
> at
> org.geoserver.catalog.ResourcePool$CacheClearingListener.handleRemoveEvent(ResourcePool.java:1898)
> at org.geoserver.catalog.impl.CatalogImpl.event(CatalogImpl.java:1431)
> at
> org.geoserver.catalog.impl.CatalogImpl.fireRemoved(CatalogImpl.java:1419)
> at org.geoserver.catalog.impl.CatalogImpl.removed(CatalogImpl.java:1386)
> at org.geoserver.catalog.impl.CatalogImpl.remove(CatalogImpl.java:420)
> at
> org.geoserver.security.SecureCatalogImpl.remove(SecureCatalogImpl.java:1274)
> at
> org.geoserver.catalog.impl.AbstractFilteredCatalog.remove(AbstractFilteredCatalog.java:718)
> at
> org.geoserver.catalog.impl.AbstractCatalogDecorator.remove(AbstractCatalogDecorator.java:206)
> at
> org.geoserver.catalog.CascadeDeleteVisitor.visit(CascadeDeleteVisitor.java:128)
> at org.geoserver.catalog.impl.LayerInfoImpl.accept(LayerInfoImpl.java:237)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:622)
> at
> org.geoserver.catalog.impl.ModificationProxy.invoke(ModificationProxy.java:145)
> at com.sun.proxy.$Proxy13.accept(Unknown Source)
> at
> org.geoserver.web.data.SelectionRemovalLink$1.onSubmit(SelectionRemovalLink.java:65)
> at
> org.geoserver.web.wicket.GeoServerDialog.submit(GeoServerDialog.java:172)
> at
> org.geoserver.web.wicket.GeoServerDialog$5.onSubmit(GeoServerDialog.java:187)
> at
> org.apache.wicket.ajax.markup.html.form.AjaxSubmitLink$1.onSubmit(AjaxSubmitLink.java:68)
> at
> org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:143)
> at
> org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
> at
> org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:300)
> at
> org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:119)
> at
> org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
> at
> org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1250)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
> at
> org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:484)
> at
> org.apache.wicket.protocol.http.WicketServlet.doPost(WicketServlet.java:160)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
> org.springframework.web.servlet.mvc.ServletWrappingController.handleRequestInternal(ServletWrappingController.java:159)
> 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.doPost(FrameworkServlet.java:789)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:27)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
> at
> org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:311)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> 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:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerAnonymousAuthenticationFilter.doFilter(GeoServerAnonymousAuthenticationFilter.java:53)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:182)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> at
> org.geoserver.security.filter.GeoServerUserNamePasswordAuthenticationFilter.doFilter(GeoServerUserNamePasswordAuthenticationFilter.java:115)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.authentication.rememberme.RememberMeAuthenticationFilter.doFilter(RememberMeAuthenticationFilter.java:146)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geonode.security.GeoNodeCookieProcessingFilter.doFilter(GeoNodeCookieProcessingFilter.java:107)
> at
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:323)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:68)
> at
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
> at
> org.geoserver.security.filter.GeoServerSecurityContextPersistenceFilter$1.doFilter(GeoServerSecurityContextPersistenceFilter.java:52)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter$NestedFilterChain.doFilter(GeoServerCompositeFilter.java:72)
> at
> org.geoserver.security.filter.GeoServerCompositeFilter.doFilter(GeoServerCompositeFilter.java:91)
> 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:134)
> 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:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:75)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:42)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:47)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
> at
> org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
> at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
> at
> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> at java.lang.Thread.run(Thread.java:701)
> 2016-05-03 10:07:25,071 INFO [catalog.rest] - PUT file, mimetype:
> application/zip
> 2016-05-03 10:07:25,091 INFO [catalog.rest] - Using existing datastore:
> datastore
> 2016-05-03 10:07:25,393 INFO [catalog.rest] - Added feature type
> acquacolturamarche
> 2016-05-03 10:07:25,430 INFO [org.geoserver] - Loaded feature type 'null',
> enabled
> 2016-05-03 10:07:25,436 INFO [geoserver.catalog] - Disposing feature type
> 'acquacolturamarche'
> 2016-05-03 10:07:25,436 INFO [geoserver.catalog] - Disposing feature type
> 'acquacolturamarche'
> 2016-05-03 10:07:25,440 INFO [geoserver.catalog] - Disposing datastore
> 'datastore'
> 2016-05-03 10:07:25,442 INFO [catalog.rest] - PUT feature
> typedatastore,acquacolturamarche
>
> 2016-05-03 10:04 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>
>> Strange, a connection time out could mean that geoserver is not
>> responding quickly after it publishes the layer, anything from geoserver
>> logs or from /var/logs/apache2/error.log?
>>
>> 2016-05-03 9:33 GMT+02:00 Alessio <alessio.dl at gmail.com>:
>>
>>> Hi,
>>>
>>> I tried inspecting with firebug (see attachments):
>>> The request remains pending (status: "NONE") until it terminates with a
>>> timeout error
>>>
>>> [Errno 110] Connection timed out
>>>
>>> As I said befero, the layer has been uploaded and is present on
>>> Geoserver, but it's like Geonode does not notice the upload process
>>> succeeded, and terminates with the Errno 110.
>>>
>>>
>>> 2016-05-02 15:41 GMT+02:00 Alessio <alessio.dl at gmail.com>:
>>>
>>>> Perfect! I'll give you updates tomorrow. Thanks for now :)
>>>>
>>>> 2016-05-02 15:32 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>>>>
>>>>> I see,
>>>>>
>>>>> the http response inspection could help then.
>>>>>
>>>>> Ciao
>>>>>
>>>>> 2016-05-02 15:30 GMT+02:00 Alessio <alessio.dl at gmail.com>:
>>>>>
>>>>>> ​Now I'm out of my office. Tomorrow I'll check what happens and let
>>>>>> you know​!
>>>>>>
>>>>>> Indeed (just a supposition) it seems that the problem is not on the
>>>>>> Geoserver side because the layer is available on Geoserver very quicky.
>>>>>> It's like Geonode does not notice the upload process has been completed.
>>>>>>
>>>>>>
>>>>>> 2016-05-02 15:06 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com
>>>>>> >:
>>>>>>
>>>>>>> Ok,
>>>>>>>
>>>>>>> could you take a look at the geoserver log to see if there are
>>>>>>> mentions on why it's taking so long to process? Also, on the browser, with
>>>>>>> the developers tools see the result of the http request when you upload the
>>>>>>> layer.
>>>>>>>
>>>>>>> Let us know
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alessio
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Simone
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Alessio
>>>>
>>>
>>>
>>>
>>> --
>>> Alessio
>>>
>>
>>
>>
>> --
>> Simone
>>
>
>
>
> --
> Alessio
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160503/da2b96ff/attachment-0001.html>


More information about the geonode-users mailing list