Hi all,
My Geoserver 2.1.1 is running on a Tomcat 7.0. Operating system is a
Red Hat Enterprise Linux Server release 5.5.
When I request a wms image in a png format the whole tomcat just
crashes. When jpg requested I'm getting the image.
I have a remote wms store from where I have published a layer that I requested.
This is the log printed in catalina out. MediaLib accelerator error
didn't print to the geoserver.log.
*************************************************************************
04 Aug 16:11:38 DEBUG [geoserver.filters] - filtering
http://myGSserver.com:8080/geoserver/wms
04 Aug 16:11:38 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:38 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:38 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:38 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:38 INFO [geoserver.wms] -
Request: getServiceInfo
04 Aug 16:11:38 INFO [geoserver.wms] -
Request: getCapabilities
Namespace = null
UpdateSequence = null
Version = 1.1.1
Request = GetCapabilities
RawKvp = {VERSION=1.1.1, SERVICE=WMS, REQUEST=GetCapabilities}
Get = false
BaseUrl = http://myGSserver.com:8080/geoserver/
RequestCharset = null
04 Aug 16:11:39 DEBUG [wms.capabilities] - producing a capabilities
document for GetCapabilities [service: WMS, version: 1.1.1]
04 Aug 16:11:39 DEBUG [wms.capabilities] - Collecting summarized
latlonbbox and common SRS...
04 Aug 16:11:39 DEBUG [wms.capabilities] - Summarized LatLonBBox is
Env[21.51 : 26.1, 59.87 : 62.48]
04 Aug 16:11:39 DEBUG [geoserver.filters] - Compressing output for
mimetype: application/vnd.ogc.wms_xml
04 Aug 16:11:40 DEBUG [geoserver.filters] - filtering
http://myGSserver.com:8080/geoserver/wms
04 Aug 16:11:40 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:40 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:40 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:40 DEBUG [ows.OWSHandlerMapping] - Looking up handler for [/wms]
04 Aug 16:11:40 INFO [geoserver.wms] -
Request: getServiceInfo
04 Aug 16:11:40 DEBUG [geoserver.ows] - Getting layers and styles from
LAYERS and STYLES
04 Aug 16:11:40 DEBUG [geoserver.ows] - establishing null style for
ktp:Opaskartta_Jyvaskyla
04 Aug 16:11:40 DEBUG [geoserver.wms] - setting up map
04 Aug 16:11:40 DEBUG [wms.map] - setting up 32x32 image
04 Aug 16:11:40 DEBUG [geotools.styling] - number of fts set 1
04 Aug 16:11:40 INFO [referencing.factory] - The EPSG factory
org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory will not
timeout
04 Aug 16:11:40 INFO [referencing.factory] - The EPSG factory
org.geotools.referencing.factory.epsg.DefaultFactory will not timeout
04 Aug 16:11:40 DEBUG [geotools.map] - Issuing request:
http://cascadedWMSserver.com:8080/ows?SERVICE=WMS&LAYERS=Opaskartta&FORMAT=image%2Fpng&TRANSPARENT=TRUE&HEIGHT=42&REQUEST=GetMap&BBOX=395583.8415505312,6833040.473478203,465701.2498107812,6950281.460781578&WIDTH=42&STYLES=&SRS=EPSG:3067&VERSION=1.1.1
04 Aug 16:11:40 INFO [coverage.processing] - Java Advanced Imaging:
2006-09-11 17:23:56.159-0700, TileCache capacity=493.0 Mb
04 Aug 16:11:40 DEBUG [geotools.rendering] - Drawing coverage
GridCoverage2D["Jyväskylän opaskartta",
GeneralEnvelope[(395583.8415505312, 6833040.473478203),
(465701.2498107812, 6950281.460781578)], DefaultProjectedCRS["ETRS89 /
ETRS-TM35FIN"]]
â RenderedSampleDimension("Jyväskylän opaskartta":[0.0 ... 255.0])
â ⣠Category("Jyväskylän opaskartta":[0...255])
â RenderedSampleDimension("Jyväskylän opaskartta":[0.0 ... 255.0])
â ⣠Category("Jyväskylän opaskartta":[0...255])
â RenderedSampleDimension("Jyväskylän opaskartta":[0.0 ... 255.0])
â ⣠Category("Jyväskylän opaskartta":[0...255])
â RenderedSampleDimension("Jyväskylän opaskartta":[0.0 ... 255.0])
â ⣠Category("Jyväskylän opaskartta":[0...255])
â Image=WritableRenderedImageAdapter as views [NATIVE, PACKED,
RENDERED, GEOPHYSICS, PHOTOGRAPHIC]
04 Aug 16:11:40 DEBUG [geotools.rendering] - Transforming coverage
envelope with transform PARAM_MT["Affine",
PARAMETER["num_row", 3],
PARAMETER["num_col", 3]]
04 Aug 16:11:40 DEBUG [geotools.rendering] - Using interpolation
javax.media.jai.InterpolationNearest@anonymised.com
04 Aug 16:11:40 DEBUG [geotools.rendering] - Raster Symbolizer
04 Aug 16:11:40 DEBUG [geotools.rendering] - Raster Symbolizer
04 Aug 16:11:40 TRACE [geotools.resources] - Loaded resources for
<default> from bundle "org.geotools.renderer.i18n".
Error: Could not find mediaLib accelerator wrapper classes. Continuing
in pure Java mode.
Occurs in: com.sun.media.jai.mlib.MediaLibAccessor
java.lang.NoClassDefFoundError: com/sun/medialib/mlib/Image
at com.sun.media.jai.mlib.MediaLibAccessor$1.run(MediaLibAccessor.java:248)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.media.jai.mlib.MediaLibAccessor.setUseMlib(MediaLibAccessor.java:245)
at com.sun.media.jai.mlib.MediaLibAccessor.useMlib(MediaLibAccessor.java:177)
at com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:357)
at com.sun.media.jai.mlib.MediaLibAccessor.isMediaLibCompatible(MediaLibAccessor.java:315)
at com.sun.media.jai.mlib.MlibScaleRIF.create(MlibScaleRIF.java:67)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at javax.media.jai.FactoryCache.invoke(FactoryCache.java:122)
at javax.media.jai.OperationRegistry.invokeFactory(OperationRegistry.java:1674)
at javax.media.jai.ThreadSafeOperationRegistry.invokeFactory(ThreadSafeOperationRegistry.java:473)
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.getMinX(RenderedOp.java:2161)
at javax.media.jai.PlanarImage.getBounds(PlanarImage.java:702)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.directRasterRender(RenderedImageMapOutputFormat.java:890)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:290)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:208)
at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:123)
at org.geoserver.wms.GetMap.run(GetMap.java:379)
at org.geoserver.wms.GetMap.run(GetMap.java:107)
at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:352)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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: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.CachingWebMapService.invoke(CachingWebMapService.java:51)
at org.geoserver.gwc.wms.CachingWebMapService.invoke(CachingWebMapService.java:33)
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 $Proxy23.getMap(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
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: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:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
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:243)
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:243)
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:243)
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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
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:243)
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:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxyFilter.java:183)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
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:243)
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:243)
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:164)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
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:563)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:403)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:301)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:162)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
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:619)
Caused by: java.lang.ClassNotFoundException: com.sun.medialib.mlib.Image
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1676)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1521)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
... 115 more
04 Aug 16:11:40 INFO [geoserver.wms] -
Request: getMap
Time = null
Filter = null
Format = image/png
Buffer = 0
Filters = null
Height = 32
Width = 32
SRS = EPSG:3067
Styles = [StyleImpl[ name=Default Styler]]
Legend = false
Layers = [org.geoserver.wms.MapLayerInfo@anonymised.com]
MaxFeatures = null
Bbox = ReferencedEnvelope[408393.752675 : 451542.926989,
6856714.134376 : 6928862.434255]
FormatOptions = {}
Angle = 0.0
CQLFilter = null
Elevation = NaN
FeatureId = null
Palette = null
RemoteOwsType = null
RemoteOwsURL = null
Sld = null
SldBody = null
StartIndex = null
ViewParams = null
Tiled = false
Crs = PROJCS["ETRS89 / ETRS-TM35FIN",
GEOGCS["ETRS89",
DATUM["European Terrestrial Reference System 1989",
SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6258"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
AUTHORITY["EPSG","4258"]],
PROJECTION["Transverse_Mercator", AUTHORITY["EPSG","9807"]],
PARAMETER["central_meridian", 27.0],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["scale_factor", 0.9996],
PARAMETER["false_easting", 500000.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Easting", EAST],
AXIS["Northing", NORTH],
AUTHORITY["EPSG","3067"]]
Env = {}
BgColor = java.awt.Color[r=255,g=255,b=255]
Transparent = true
FeatureVersion = null
ValidateSchema = false
SldVersion = null
TilesOrigin = null
Exceptions = SE_XML
KMScore = 40
KMattr = true
Version = 1.1.1
Request = GetMap
RawKvp =
{BBOX=408393.752675,6856714.134376,451542.926989,6928862.434255,
TRANSPARENT=TRUE, VERSION=1.1.1, FORMAT=image/png, SERVICE=WMS,
HEIGHT=32, REQUEST=GetMap, LAYERS=ktp:Opaskartta_Jyvaskyla, STYLES=,
SRS=EPSG:3067, WIDTH=32}
Get = true
BaseUrl = http://myGSserver.com:8080/geoserver/
RequestCharset = UTF-8
04 Aug 16:11:40 DEBUG [wms.map] - Writing png image ...
X connection to localhost:10.0 broken (explicit kill or server shutdown).
**********************************************************************************
Is there anything to do?
Thanks
-Lauri