Hi,

over the weekend I spent most of my time converting ~1300 Geotiffs into server 
friendly images....with gdal_translate, rgb2pct, gdaladdo.

This was successful, but after creating an imagemosaic geoserver crashes when 
displaying the images and the initial overview in the layerpreview doesn´t 
render properly...almost 1/2 of the imagesare missing...they are however there 
and are rendered when one zooms in to a larger scale

Is this a memory issue or something else whch is breaking geoserver?

Here is the preview in geoserver...(takes a few seconds to display!)

http://maps.zgb.de:8080/geoserver/zgb/wms?service=WMS&version=1.1.0&request=GetMap&layers=zgb:dop_etrs&styles=&bbox=568000.0,5758000.0,644000.0,5855998.319&width=397&height=512&srs=EPSG:25832&format=application/openlayers 




I have the following error report from my geoserver log which details the 
rendering problem I think...

2012-02-06 10:33:09,696 ERROR [geoserver.ows] - 
org.geoserver.platform.ServiceException: Error rendering coverage on the fast 
path
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:333)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:249)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:124)
at org.geoserver.wms.GetMap.run(GetMap.java:377)
at org.geoserver.wms.GetMap.run(GetMap.java:107)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:353)
at sun.reflect.GeneratedMethodAccessor261.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at 
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:60)
at 
org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:34)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:73)
at 
org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:40)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:51)
at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at 
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy29.getMap(Unknown Source)
at sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:630)
at org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:234)
at 
org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
at org.geoserver.gwc.GWC.dispatchOwsRequest(GWC.java:835)
at 
org.geoserver.gwc.layer.CatalogConfiguration.dispatchOwsRequest(CatalogConfiguration.java:301)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.dispatchGetMap(GeoServerTileLayer.java:531)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:497)
at 
org.geoserver.gwc.layer.GeoServerTileLayer.getTile(GeoServerTileLayer.java:448)
at 
org.geowebcache.GeoWebCacheDispatcher.handleServiceRequest(GeoWebCacheDispatcher.java:346)
at 
org.geowebcache.GeoWebCacheDispatcher.handleRequestInternal(GeoWebCacheDispatcher.java:237)
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:875)
at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
at 
org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
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:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:394)
at 
org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109)
at 
org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
at 
org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
at 
org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
at 
org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
at 
org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
at 
org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53)
at 
org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:406)
at 
org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:185)
at 
org.springframework.security.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:99)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
Caused by: org.geoserver.platform.ServiceException: 
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: 
java.util.NoSuchElementException: Could not aquire 
feature:org.geotools.data.DataSourceException: Error querying QuadTree
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:918)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:331)
... 100 more
Caused by: java.lang.IllegalArgumentException: 
java.lang.IllegalArgumentException: java.util.NoSuchElementException: Could not 
aquire feature:org.geotools.data.DataSourceException: Error querying QuadTree
at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.createIndex(STRTreeGranuleCatalog.java:252)
at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.getIndex(STRTreeGranuleCatalog.java:190)
at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.getGranules(STRTreeGranuleCatalog.java:399)
at 
org.geotools.gce.imagemosaic.RasterManager.getGranules(RasterManager.java:387)
at 
org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:984)
at 
org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:701)
at 
org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:662)
at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:341)
at 
org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:625)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1300)
at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:866)
... 101 more
Caused by: java.lang.IllegalArgumentException: 
java.util.NoSuchElementException: Could not aquire 
feature:org.geotools.data.DataSourceException: Error querying QuadTree
at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:589)
at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:299)
at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:601)
at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.createIndex(STRTreeGranuleCatalog.java:219)
... 111 more
Caused by: java.util.NoSuchElementException: Could not aquire 
feature:org.geotools.data.DataSourceException: Error querying QuadTree
at org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:57)
at org.geotools.data.store.NoContentIterator.next(NoContentIterator.java:42)
at 
org.geotools.feature.collection.DelegateFeatureIterator.next(DelegateFeatureIterator.java:57)
at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:567)
... 114 more
Caused by: org.geotools.data.DataSourceException: Error querying QuadTree
at 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.queryQuadTree(IndexedShapefileDataStore.java:838)
at 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.getAttributesReader(IndexedShapefileDataStore.java:536)
at 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.getFeatureReader(IndexedShapefileDataStore.java:397)
at 
org.geotools.data.AbstractDataStore.getFeatureReader(AbstractDataStore.java:383)
at 
org.geotools.data.DefaultFeatureResults.reader(DefaultFeatureResults.java:213)
at 
org.geotools.data.store.DataFeatureCollection.openIterator(DataFeatureCollection.java:229)
at 
org.geotools.data.store.DataFeatureCollection.iterator(DataFeatureCollection.java:197)
at 
org.geotools.data.store.DataFeatureCollection.features(DataFeatureCollection.java:186)
at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:554)
... 114 more
Caused by: org.geotools.index.quadtree.StoreException
at 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.openQuadTree(IndexedShapefileDataStore.java:926)
at 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.queryQuadTree(IndexedShapefileDataStore.java:829)
... 122 more
Caused by: org.geotools.index.quadtree.StoreException
at 
org.geotools.index.quadtree.fs.FileSystemIndexStore.load(FileSystemIndexStore.java:245)
at 
org.geotools.data.shapefile.indexed.IndexedShapefileDataStore.openQuadTree(IndexedShapefileDataStore.java:924)
... 123 more
Caused by: java.io.FileNotFoundException: 
/home/geoadmin1/data/coverages/DOP/etrs/etrs.qix (Too many open files)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:137)
at 
org.geotools.index.quadtree.fs.FileSystemIndexStore.load(FileSystemIndexStore.java:209)
... 124 more

Thanks for any advice,



Rob
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to