Dear Garey, for future references (and for anyone reading this post later in the future) as a rule of thumb when a library is deployed in Jre/lib/ext or tomcat/lib the same one should not be deployed in the WEB-INF/lib for GeoServer (I know this is an over-simplification but that's ok).
This applies to things like: - DB drivers for JNDI pools - ImageIO-Ext - JAI and ImageIO and so on. Regards, Simone Giannecchini == GeoServer Professional Services from the experts! Visit http://goo.gl/NWWaa2 for more information. == Ing. Simone Giannecchini @simogeo Founder/Director GeoSolutions S.A.S. Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 333 8128928 http://www.geo-solutions.it http://twitter.com/geosolutions_it ------------------------------------------------------- On Fri, Jul 18, 2014 at 12:20 PM, Garey Mills <[email protected]> wrote: > Daniele - Thank you for your quick response. Weirdly enough, it turned out > that I had the imageio-ext jars in Geoserver's lib directory and tomcat's > lib directory. I just deleted the older versions (from tomcat/lib) and > everything worked. > > The only thing that I can think is that somehow I had copied the libraries > into the tomcat lib earlier, working on another instance of Geoserver, and > never rebooted tomcat or Geoserver, so the changes weren't picked up. > > In any case things are working now. > > Garey Mills > > > On Thu, Jul 17, 2014 at 10:12 AM, Daniele Romagnoli > <[email protected]> wrote: >> >> Hi Garey, >> did you simply change the DataDir or did you also changed some GeoServer >> configuration? >> I see your data is .sid. I think they are MrSID data, right? If >> affirmative, is the GDAL + MrSID plugins still available on your GeoServer >> as well as the requested native part? >> Could you also share properties files associated with your >> imageCollection? >> >> Cheers, >> Daniele >> >> >> >> == >> GeoServer Professional Services from the experts! Visit >> http://goo.gl/NWWaa2 for more information. >> == >> >> Ing. Daniele Romagnoli >> Senior Software Engineer >> >> GeoSolutions S.A.S. >> Via Poggio alle Viti 1187 >> 55054 Massarosa (LU) >> Italy >> phone: +39 0584 962313 >> fax: +39 0584 1660272 >> >> http://www.geo-solutions.it >> http://twitter.com/geosolutions_it >> >> ------------------------------------------------------- >> >> >> On Wed, Jul 16, 2014 at 6:42 PM, Garey Mills <[email protected]> >> wrote: >>> >>> I have an established Geoserver installation (2.2-beta2) using the >>> ImageCollection plugin. I got the bright idea of moving the whole data >>> directory to another place in the filesystem and then linking it back to >>> it's original position. >>> >>> That didn't work. I moved the directory back and restarted geoserver, and >>> was able to see layers that I have in Geoserver. >>> >>> But I also have images in the directory data/images, and I cannot get >>> them to display. I get the error below. Any ideas about how I can get this >>> working again? I know I have to update Geoserver, but I don't have the time >>> right now, and had it scheduled for next month. >>> >>> >>> >>> <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE >>> ServiceExceptionReport SYSTEM >>> "http://gis-gs.lib.berkeley.edu:100/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> >>> <ServiceExceptionReport version="1.1.1" > <ServiceException> >>> Error rendering coverage on the fast path >>> org.geotools.data.DataSourceException: IOException occurred while >>> accessing the specified path >>> /data/geoserver-data/data/images/histopo/brk00000300_10a.sid >>> IOException occurred while accessing the specified path >>> /data/geoserver-data/data/images/histopo/brk00000300_10a.sid >>> Unable to get a reader for the specified path >>> /data/geoserver-data/data/images/histopo/brk00000300_10a.sid >>> Details: >>> org.geoserver.platform.ServiceException: Error rendering coverage on the >>> fast path >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:334) >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:254) >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:126) >>> at org.geoserver.wms.GetMap.executeInternal(GetMap.java:464) >>> at org.geoserver.wms.GetMap.run(GetMap.java:207) >>> at org.geoserver.wms.GetMap.run(GetMap.java:111) >>> at >>> org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:353) >>> at sun.reflect.GeneratedMethodAccessor341.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at >>> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) >>> at >>> org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:61) >>> at >>> org.geoserver.gwc.wms.CacheSeedingWebMapService.invoke(CacheSeedingWebMapService.java:35) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) >>> at >>> org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:75) >>> at >>> org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:42) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) >>> at >>> org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:32) >>> at >>> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) >>> at >>> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) >>> at $Proxy89.getMap(Unknown Source) >>> at sun.reflect.GeneratedMethodAccessor340.invoke(Unknown Source) >>> at >>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>> at java.lang.reflect.Method.invoke(Method.java:597) >>> at org.geoserver.ows.Dispatcher.execute(Dispatcher.java:769) >>> at >>> org.geoserver.ows.Dispatcher.handleRequestInternal(Dispatcher.java:272) >>> 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:621) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:306) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at >>> org.geoserver.filters.ThreadLocalsCleanupFilter.doFilter(ThreadLocalsCleanupFilter.java:23) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) >>> 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:244) >>> 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:244) >>> 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:244) >>> 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.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150) >>> 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.GeoServerBasicAuthenticationFilter.doFilter(GeoServerBasicAuthenticationFilter.java:82) >>> 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.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:97) >>> 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:244) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at >>> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebugFilter.java:46) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:244) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164) >>> at >>> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100) >>> at >>> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541) >>> at >>> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:383) >>> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:294) >>> at >>> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:183) >>> at >>> org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:169) >>> at >>> org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:288) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) >>> at java.lang.Thread.run(Thread.java:662) >>> Caused by: org.geoserver.platform.ServiceException: >>> org.geotools.data.DataSourceException: IOException occurred while accessing >>> the specified path >>> /data/geoserver-data/data/images/histopo/brk00000300_10a.sid >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:915) >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:332) >>> ... 104 more >>> Caused by: org.geotools.data.DataSourceException: IOException occurred >>> while accessing the specified path >>> /data/geoserver-data/data/images/histopo/brk00000300_10a.sid >>> at >>> org.geotools.gce.imagecollection.RasterManager.initDatasetManager(RasterManager.java:689) >>> at >>> org.geotools.gce.imagecollection.RasterManager.getDatasetManager(RasterManager.java:621) >>> at >>> org.geotools.gce.imagecollection.RasterLayerRequest.prepare(RasterLayerRequest.java:396) >>> at >>> org.geotools.gce.imagecollection.RasterLayerRequest.<init>(RasterLayerRequest.java:159) >>> at >>> org.geotools.gce.imagecollection.RasterManager.read(RasterManager.java:520) >>> at >>> org.geotools.gce.imagecollection.ImageCollectionReader.read(ImageCollectionReader.java:432) >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1314) >>> at >>> org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:855) >>> ... 105 more >>> Caused by: org.geotools.data.DataSourceException: Unable to get a reader >>> for the specified path >>> /data/geoserver-data/data/images/histopo/brk00000300_10a.sid >>> at >>> org.geotools.gce.imagecollection.RasterManager.initDatasetManager(RasterManager.java:672) >>> ... 112 more >>> >>> </ServiceException></ServiceExceptionReport> >>> >>> >>> -- >>> Generate messages about directories that cannot be >>> read, files that cannot be opened ... rather than being silent ... >>> (from `man du`) >>> >>> >>> ------------------------------------------------------------------------------ >>> Want fast and easy access to all the code in your enterprise? Index and >>> search up to 200,000 lines of code with a free copy of Black Duck >>> Code Sight - the same software that powers the world's largest code >>> search on Ohloh, the Black Duck Open Hub! Try it now. >>> http://p.sf.net/sfu/bds >>> _______________________________________________ >>> Geoserver-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/geoserver-users >>> >> > > > > -- > Generate messages about directories that cannot be > read, files that cannot be opened ... rather than being silent ... > (from `man du`) > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Geoserver-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geoserver-users > ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
