[Geoserver-users] Request to ImageMosaic layer fails after upgrade 2.2RC2 > 2.2.2

Hello List,

I've just upgraded Geoserver from 2.2RC2 to 2.2.2 and everything works fine again, except the ImageMosaic layers (with TIME support). Data and configuration are (should be) the same as before. GetCapabilities look OK, my application offers the timesteps as usual, zooms into place, only the images do not load anymore.

requesting images from one of the layers now returns this ServiceException:
...
       Error rendering coverage on the fast path
java.lang.RuntimeException: - Unable to render RenderedOp for this operation.
- Unable to render RenderedOp for this operation.
...

I tried activating the JAI 'Mosaic Native Acceleration' in GS GUI, then I get this ServiceException:
...
       Error rendering coverage on the fast path
javax.media.jai.util.ImagingException: All factories fail for the operation "Mosaic"
All factories fail for the operation "Mosaic"
null
coordtype - Could not find the key.
...

Shall I post a full stack trace of one of those errors?

Well, I'm not sure, but I think there have been some changes in the GUI for configuring an ImageMosaic layer, maybe I have to change some of the new default settings? Can anyone give me a hint?

thanks in advance
Daniel

Helmholtz-Zentrum Geesthacht Zentrum für Material- und Küstenforschung GmbH Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus Amtsgericht Lübeck HRB 285 GE (Register Court) Internet: http://www.hzg.de

Dear GS-Users,
I narrowed down my problem from the previous email (see below) a little bit.

I started from new, installed 2.2.2 war file in tomcat6, changed the data_dir and then checked my ImageMosaic layers after adding the extensions I previously ran with 2.2RC2 one by one (correct versions for 2.2.2 from GS website).
After only setting the path to my data_dir the images from the ImageMosaic layers show up as expected, but after adding the WPS extension (which shows up in the list of services) the ImageMosaic layers dont work anymore, as described earlier on.

For the moment I remove the WPS extension, but can someone else reproduce this problem? Or is it possible that a combination of my data and configuration causes it?

Requesting one of the layers produces this [1] stack trace.

cheers
Daniel

[1]
2012-12-12 10:12:04,934 ERROR [geoserver.ows] -
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:465)
  at org.geoserver.wms.GetMap.run(GetMap.java:201)
  at org.geoserver.wms.GetMap.run(GetMap.java:111)
  at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:353)
  at sun.reflect.GeneratedMethodAccessor210.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: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:69)
  at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:50)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.geoserver.ows.util.RequestObjectLogger.invoke(RequestObjectLogger.java:54)
  at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
  at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
  at $Proxy31.getMap(Unknown Source)
  at sun.reflect.GeneratedMethodAccessor166.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:772)
  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: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.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: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.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.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:679)
Caused by: org.geoserver.platform.ServiceException: javax.media.jai.util.ImagingException: All factories fail for the operation "Mosaic"
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:915)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:332)
  ... 100 more
Caused by: javax.media.jai.util.ImagingException: All factories fail for the operation "Mosaic"
  at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1687)
  at org.geoserver.jai.ConcurrentOperationRegistry.invokeFactory(ConcurrentOperationRegistry.java:412)
  at javax.media.jai.registry.RIFRegistry.create(RIFRegistry.java:332)
  at javax.media.jai.RenderedOp.createInstance(RenderedOp.java:819)
  at javax.media.jai.RenderedOp.createRendering(RenderedOp.java:867)
  at javax.media.jai.RenderedOp.getSampleModel(RenderedOp.java:2233)
  at org.geotools.resources.image.ImageUtilities.maskColor(ImageUtilities.java:906)
  at org.geotools.gce.imagemosaic.RasterLayerResponse.postProcessRaster(RasterLayerResponse.java:715)
  at org.geotools.gce.imagemosaic.RasterLayerResponse.processRequest(RasterLayerResponse.java:703)
  at org.geotools.gce.imagemosaic.RasterLayerResponse.createResponse(RasterLayerResponse.java:661)
  at org.geotools.gce.imagemosaic.RasterManager.read(RasterManager.java:339)
  at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:617)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.readBestCoverage(RenderedImageMapOutputFormat.java:1314)
  at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:863)
  ... 101 more
Caused by: java.lang.reflect.InvocationTargetException
  at sun.reflect.GeneratedMethodAccessor139.invoke(Unknown Source)
  at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  at java.lang.reflect.Method.invoke(Method.java:616)
  at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
  at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
  ... 114 more
Caused by: java.lang.IllegalArgumentException: coordtype - Could not find the key.
  at com.sun.media.jai.util.CaselessStringArrayTable.indexOf(CaselessStringArrayTable.java:88)
  at com.sun.media.jai.util.CaselessStringArrayTable.indexOf(CaselessStringArrayTable.java:102)
  at javax.media.jai.ParameterBlockJAI.indexOfParam(ParameterBlockJAI.java:273)
  at javax.media.jai.ParameterBlockJAI.checkParameter(ParameterBlockJAI.java:732)
  at javax.media.jai.ParameterBlockJAI.setParameter0(ParameterBlockJAI.java:793)
  at javax.media.jai.ParameterBlockJAI.setParameter(ParameterBlockJAI.java:712)
  at org.jaitools.imageutils.ROIGeometry.getAsImage(ROIGeometry.java:477)
  at com.sun.media.jai.opimage.MosaicOpImage.<init>(MosaicOpImage.java:374)
  at com.sun.media.jai.mlib.MlibMosaicOpImage.<init>(MlibMosaicOpImage.java:49)
  at com.sun.media.jai.mlib.MlibMosaicRIF.create(MlibMosaicRIF.java:74)
  ... 119 more

Am 10.12.2012 16:54, schrieb Daniel Behr:

Hello List,

I've just upgraded Geoserver from 2.2RC2 to 2.2.2 and everything works
fine again, except the ImageMosaic layers (with TIME support). Data and
configuration are (should be) the same as before. GetCapabilities look
OK, my application offers the timesteps as usual, zooms into place, only
the images do not load anymore.

requesting images from one of the layers now returns this ServiceException:
...
        Error rendering coverage on the fast path
java.lang.RuntimeException: - Unable to render RenderedOp for this
operation.
- Unable to render RenderedOp for this operation.
...

I tried activating the JAI 'Mosaic Native Acceleration' in GS GUI, then
I get this ServiceException:
...
        Error rendering coverage on the fast path
javax.media.jai.util.ImagingException: All factories fail for the
operation &quot;Mosaic&quot;
All factories fail for the operation &quot;Mosaic&quot;
null
coordtype - Could not find the key.
...

Shall I post a full stack trace of one of those errors?

Well, I'm not sure, but I think there have been some changes in the GUI
for configuring an ImageMosaic layer, maybe I have to change some of the
new default settings? Can anyone give me a hint?

thanks in advance
Daniel

Helmholtz-Zentrum Geesthacht
Zentrum für Material- und Küstenforschung GmbH
Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß
Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus
Amtsgericht Lübeck HRB 285 GE (Register Court)
Internet: http://www.hzg.de

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
________________________

_______________________

Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Helmholtz-Zentrum Geesthacht Zentrum für Material- und Küstenforschung GmbH Max-Planck-Straße 1 I 21502 Geesthacht I Deutschland/Germany

Geschäftsführer/Board of Management: Prof. Dr. Wolfgang Kaysser, Dipl.-Ing. Michael Ganß Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: MinDirig Wilfried Kraus Amtsgericht Lübeck HRB 285 GE (Register Court) Internet: http://www.hzg.de