[GeoNode-users] Geoserver upload failed
Israel López
asralf at gmail.com
Wed Jun 15 19:17:48 PDT 2016
Hi dear devs since some days I'm having troubles with upload a
shape file to my Custom Geonode 2.4, I've been working around and
cannot find what could be the problem.
When I delete a shape and then try to re upload it, somehitng happens
and the thumbnail is not generated, the shape is not visible in geoexplorer
and even in the preview layer in geoserver, the record is there in geonode
but the shape is not available. It fails at development and production
enviroments. the console didn't give any errors, only the geoserver logs.
It's too large so I cut the important (I think):
2016-06-15 20:47:35,773 ERROR [geoserver.rest] - No such datastore:
geonode,zona_vida
2016-06-15 20:47:35,773 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at
org.geoserver.catalog.rest.DataStoreFinder.findTarget(DataStoreFinder.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)...
2016-06-15 20:47:35,779 ERROR [geoserver.rest] - No such coverage store:
geonode,zona_vida
2016-06-15 20:47:35,779 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at
org.geoserver.catalog.rest.CoverageStoreFinder.findTarget(CoverageStoreFinder.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)...
2016-06-15 20:47:35,784 ERROR [geoserver.rest] - No such wms store:
geonode,zona_vida
2016-06-15 20:47:35,784 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at
org.geoserver.catalog.rest.WMSStoreFinder.findTarget(WMSStoreFinder.java:40)
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:735)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:669)...
2016-06-15 20:47:35,864 INFO [catalog.rest] - PUT file, mimetype:
application/zip
2016-06-15 20:47:35,905 INFO [catalog.rest] - Using existing datastore:
datastore
2016-06-15 20:47:35,921 WARN [catalog.rest] - zona_vida is not writable,
skipping
2016-06-15 20:47:35,931 INFO [catalog.impl] - Layer geonode:zona_vida is
missing the default style, assigning one automatically
2016-06-15 20:47:35,932 INFO [catalog.impl] - Layer geonode:zona_vida is
missing the default style, assigning one automatically
2016-06-15 20:47:35,934 WARN [gwc.layer] - Requested layer zona_vida has no
geometry. Won't create TileLayer
2016-06-15 20:47:35,937 INFO [catalog.rest] - Added feature type zona_vida
2016-06-15 20:47:35,990 INFO [org.geoserver] - Loaded feature type 'null',
enabled
2016-06-15 20:47:35,990 WARN [catalog.impl] - Failed to load actual store
for FeatureTypeInfoImpl[null]
2016-06-15 20:47:35,991 WARN [catalog.impl] - Failed to load actual store
for FeatureTypeInfoImpl[null]
2016-06-15 20:47:36,001 INFO [catalog.rest] - PUT
FeatureTypedatastore,zona_vida updated metadata only
2016-06-15 20:47:36,014 ERROR [geoserver.rest] - No such style: zona_vida
2016-06-15 20:47:36,015 ERROR [geoserver.rest] -
org.geoserver.rest.RestletException
at org.geoserver.catalog.rest.StyleFinder.findTarget(StyleFinder.java:59)
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)...
2016-06-15 20:47:36,030 INFO [catalog.rest] - POST style zona_vida
2016-06-15 20:47:36,046 INFO [catalog.rest] - PUT style zona_vida
2016-06-15 20:47:36,068 INFO [catalog.rest] - PUT layer zona_vida
2016-06-15 20:47:36,088 INFO [org.geoserver] - Loaded feature type 'null',
enabled
2016-06-15 20:47:36,088 WARN [catalog.impl] - Failed to load actual store
for FeatureTypeInfoImpl[null]
2016-06-15 20:47:36,089 WARN [catalog.impl] - Failed to load actual store
for FeatureTypeInfoImpl[null]
2016-06-15 20:47:36,097 INFO [catalog.rest] - PUT
FeatureTypedatastore,zona_vida updated metadata only
2016-06-15 20:47:36,499 INFO [geoserver.wms] -
Request: getServiceInfo
2016-06-15 20:47:36,505 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: The request bounding box has zero
area: ReferencedEnvelope[0.0 : -1.0, 0.0 : -1.0]
at org.geoserver.wms.GetMap.assertMandatory(GetMap.java:628)
at org.geoserver.wms.GetMap.run(GetMap.java:178)
at org.geoserver.wms.GetMap.run(GetMap.java:119)
at
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:369)...
2016-06-15 20:47:36,532 INFO [geoserver.wfs] -
Request: getServiceInfo
2016-06-15 20:47:36,533 INFO [geoserver.wfs] -
Request: describeFeatureType
service = wfs
version = 1.0.0
baseUrl = http://localhost:8080/geoserver/
typeName[0] = {http://www.geonode.org/}zona_vida
outputFormat = XMLSCHEMA
2016-06-15 20:47:50,041 INFO [geoserver.wms] -
Request: getServiceInfo
2016-06-15 20:47:50,042 ERROR [geoserver.ows] -
org.geoserver.platform.ServiceException: The request bounding box has zero
area: ReferencedEnvelope[0.0 : -1.0, 0.0 : -1.0]
at org.geoserver.wms.GetMap.assertMandatory(GetMap.java:628)
at org.geoserver.wms.GetMap.run(GetMap.java:178)
at org.geoserver.wms.GetMap.run(GetMap.java:119)
at
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:369)
at
org.geoserver.wms.DefaultWebMapService.getMapReflect(DefaultWebMapService.java:443)
at
org.geoserver.wms.DefaultWebMapService.reflect(DefaultWebMapService.java:423)
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:606)....
If I restart the server I can upload the shape correctly, or after two or
three or more times without restarting.
NOTES: The geoserver version is 2.4.7 and I noticed an authentication error
(or communication error) when I ran the development server at the same log.
Hope you can give some help.
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160615/46597cd4/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: zona_vida.zip
Type: application/zip
Size: 2387152 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160615/46597cd4/attachment-0001.zip>
More information about the geonode-users
mailing list