Re: [Geoserver-users] Image collection images are inaccessible after moving them then moving them back.
Hello - My installation of Geoserver 2.5.2, using GDAL 1.7 (RHEL6, Java1.7, Tomcat7) appears not to have a MrSid reader. I found http://trac.osgeo.org/ubuntugis/wiki/TutorialMrSid, but this is not dated, so I don't know if it still applies, and it is tailored for Ubuntu, which may not work for me. Does GDAL still need this to read MrSid files? If so, are there instructions on how to install this for RedHat, and, if not, and if getting the MrSid reader to work requires a GDAL upgrade, are there instructions on how to upgrade GDAL libraries to the current version? On Fri, Jul 18, 2014 at 3:38 AM, Simone Giannecchini < simone.giannecch...@geo-solutions.it> wrote: > 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 > 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 > > 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 < > gmi...@library.berkeley.edu> > >> 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. > >>> > >>> > >>> > >>> >>> ServiceExceptionReport SYSTEM > >>> " > http://gis-gs.lib.berkeley.edu:100/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd > "> > >>> > >>> Error rendering coverage on the fast path > >>> org.geotools.data.DataSourceException: IOException occurred while > >>> accessing the specified path > >>> /data/geoserver-data/data/images/histopo/brk0300_10a.sid > >>> IOException occurred while accessing the specified path > >>> /data/geoserver-data/data/images/histopo/brk0300_10a.sid > >>> Unable to get a reader for the specified path > >>> /data/geoserver-data/data/images/histopo/brk0300_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.produce
Re: [Geoserver-users] Image collection images are inaccessible after moving them then moving them back.
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 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 > 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 >> 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. >>> >>> >>> >>> >> ServiceExceptionReport SYSTEM >>> "http://gis-gs.lib.berkeley.edu:100/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";> >>> >>> Error rendering coverage on the fast path >>> org.geotools.data.DataSourceException: IOException occurred while >>> accessing the specified path >>> /data/geoserver-data/data/images/histopo/brk0300_10a.sid >>> IOException occurred while accessing the specified path >>> /data/geoserver-data/data/images/histopo/brk0300_10a.sid >>> Unable to get a reader for the specified path >>> /data/geoserver-data/data/images/histopo/brk0300_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 >>>
Re: [Geoserver-users] Image collection images are inaccessible after moving them then moving them back.
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 < daniele.romagn...@geo-solutions.it> 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 > 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. >> >> >> >> > ServiceExceptionReport SYSTEM " >> http://gis-gs.lib.berkeley.edu:100/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";> >> >> Error rendering coverage on the fast path >> org.geotools.data.DataSourceException: IOException occurred while >> accessing the specified path >> /data/geoserver-data/data/images/histopo/brk0300_10a.sid >> IOException occurred while accessing the specified path >> /data/geoserver-data/data/images/histopo/brk0300_10a.sid >> Unable to get a reader for the specified path >> /data/geoserver-data/data/images/histopo/brk0300_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.GeneratedMethodAccesso
Re: [Geoserver-users] Image collection images are inaccessible after moving them then moving them back.
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 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. > > > > ServiceExceptionReport SYSTEM " > http://gis-gs.lib.berkeley.edu:100/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd";> > > Error rendering coverage on the fast path > org.geotools.data.DataSourceException: IOException occurred while > accessing the specified path > /data/geoserver-data/data/images/histopo/brk0300_10a.sid > IOException occurred while accessing the specified path > /data/geoserver-data/data/images/histopo/brk0300_10a.sid > Unable to get a reader for the specified path > /data/geoserver-data/data/images/histopo/brk0300_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 >