> >> java.lang.ClassCastException:
> >> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot
> >> be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader
> >>
> >> at:
> >>
> >> Iterator it = ImageIO.getIma
On 23/12/2010 09:39, spr...@gmx.eu wrote:
>> running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while:
>>
>> java.lang.ClassCastException:
>> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot
>> be cast to com.sun.media.imageioimpl.plugins
> running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while:
>
> java.lang.ClassCastException:
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot
> be cast to com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader
>
>
> ImageIO pins the classloader it first uses. So if that's a
> WebappClassloader & you subsequently reload the app you'll have a
> memory leak & the potential for class cast exceptions.
As I said, nobody reloads the app (at least I cannot see this in the logs).
It just happens after a while.
> Th
On 21 Dec 2010, at 15:20, "spr...@gmx.eu" wrote:
> Hi,
>
> running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while:
>
> java.lang.ClassCastException:
> com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to
> com.sun.media.imageioim
Hi,
running under W2K3, tomcat 6.0.26 and java 1.6_22 I get after a while:
java.lang.ClassCastException:
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader cannot be cast to
com.sun.media.imageioimpl.plugins.tiff.TIFFImageReader
at:
Iterator it = ImageIO.getImageReadersByFormatName(&quo