Hi all,
Recently i ran into the dreaded well known issue with imageio plugins under tomcat, explained in detail on the geosolutions blog. [1]
The jar moving solution did not seem to work for me, but disabling the JreMemoryLeakPreventionListener (or more setting the appContextProtection to false) does work. However, while looking around for others having the same issue I also came across the last post on this thread:
http://tomcat.10.n6.nabble.com/Problems-with-ImageIO-td2073212.html
That mentions doing an ImageIO.scanForPlugins() on app startup also fixes the problem. So i tried it out in GeoServerInitStartupListener and indeed it did work for me. So question is, should we add it permanently? Any foreseen downfall? I didn’t exactly test it strenuously.
Thanks.
-Justin
[1] http://geo-solutions.blogspot.com/2010/05/fix-geotools-and-geoserver-not-able-to.html
–
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.