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.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to