Hi,

I have been trying to get this instance of Geoerver working for ages.

I have several folders containing around 150,000 tiled  geotiffs. Together they 
make up aerial imagery for most of the UK. They are projected in EPSG:27700 
(i.e British National Grid). I’m trying to serve them over a WMS so that they 
can be viewed over an open layers application.

So I have set each folder up as a separate Image mosaic layer, which I am then 
trying to connect too. 

I’m using the newest release version of geoserver (2.1.4).

When I first preview the layer, it doesn’t show anything and times out. If I 
immediately zoom in to max zoom, I can sometimes get the images to appear. Once 
the first one appears it seems to work OK. I’m also finding that the web admin 
page locks up when a big request is made rendering me unable to view the log to 
see what is happening. I noticed that there were several entries in the log 
saying java – out of heap space, so I added this to the runtime parameters 
“java –Xmx2048m”.  But I’m still getting the error. I’ve also added the same 
parameter in the wrapper.ini file. 

But I’m still getting the error message and really bad performance.

Can someone please give me some pointers about how to fix this? I really feel 
that this shouldn’t be that hard to sort out.

I’m running it one windows server 2008 on a machine that very highly specced 
and should be able to do this with ease. 
Should I try and run through apache rather than jetty? Should I have all the 
files in one folder? I can confirm that the .shp index file is correct.
Is it something to do with the reprojection I’m doing on the fly (from 27700 to 
900913)?

Please help!!!

Thanks

PS here is a copy of some of the error messages I get

2012-08-20 14:40:16,580 ERROR [geoserver.ows] - 
org.geoserver.platform.ServiceException: Error rendering coverage on the fast 
path
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:331)
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:250)
    at 
org.geoserver.wms.map.MetatileMapOutputFormat.produceMap(MetatileMapOutputFormat.java:116)
    at org.geoserver.wms.GetMap.run(GetMap.java:374)
    at org.geoserver.wms.GetMap.run(GetMap.java:107)
    at 
org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:353)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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:58)
    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 $Proxy24.getMap(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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.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:707)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
    at 
org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at 
org.geoserver.filters.SpringDelegatingFilter$Chain.doFilter(SpringDelegatingFilter.java:74)
    at 
org.geoserver.filters.SpringDelegatingFilter.doFilter(SpringDelegatingFilter.java:45)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at 
org.geoserver.platform.AdvancedDispatchFilter.doFilter(AdvancedDispatchFilter.java:49)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at 
org.vfny.geoserver.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:109)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    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.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at 
org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at 
org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46)
    at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
    at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
    at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
    at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
    at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
    at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    at org.mortbay.jetty.Server.handle(Server.java:324)
    at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
    at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
    at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
    at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
    at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
    at 
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
    at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
Caused by: org.geoserver.platform.ServiceException: 
java.lang.IllegalArgumentException: java.io.IOException
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:909)
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:329)
    ... 90 more
Caused by: java.lang.IllegalArgumentException: java.io.IOException
    at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.createIndex(STRTreeGranuleCatalog.java:237)
    at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.checkIndex(STRTreeGranuleCatalog.java:176)
    at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.getGranules(STRTreeGranuleCatalog.java:378)
    at 
org.geotools.gce.imagemosaic.RasterManager.getGranules(RasterManager.java:384)
    at 
org.geotools.gce.imagemosaic.RasterLayerResponse.prepareResponse(RasterLayerResponse.java:981)
    at 
org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:700)
    at 
org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:661)
    at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:338)
    at 
org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:617)
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1307)
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:857)
    ... 91 more
Caused by: java.io.IOException
    at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:529)
    at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:542)
    at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:301)
    at 
org.geotools.gce.imagemosaic.catalog.GTDataStoreGranuleCatalog.getGranules(GTDataStoreGranuleCatalog.java:553)
    at 
org.geotools.gce.imagemosaic.catalog.STRTreeGranuleCatalog.createIndex(STRTreeGranuleCatalog.java:203)
    ... 101 more
Caused by: java.lang.OutOfMemoryError: Java heap space
2012-08-20 14:41:41,992 ERROR [geoserver.ows] - 
org.geoserver.platform.ServiceException: Error rendering coverage on the fast 
path
    at 
org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:331)
    at 


GIS-Smart

Robert Smart BSc MSc
07980 805423
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to