users@glassfish.java.net

Problem with javax.imageio and Glassfish

From: <glassfish_at_javadesktop.org>
Date: Mon, 16 Feb 2009 07:52:13 PST

Hi

I am new here so first off apologies if this is in the wrong section.

I have a web application that runs happily in JBoss and I am trying to migrate it across to Glassfish server v2ur2. I am using JRE 1.6.0.07 on linux.

I have a page that shows a captcha and I am getting this error:

sun.misc.ServiceConfigurationError: javax.imageio.spi.ImageOutputStreamSpi: Provider com.sun.media.imageioimpl.stream.ChannelImageOutputStreamSpi could not be instantiated: java.lang.IllegalArgumentException: vendorName == null!
        at sun.misc.Service.fail(Service.java:120)
        at sun.misc.Service.access$200(Service.java:111)
        at sun.misc.Service$LazyIterator.next(Service.java:276)
        at javax.imageio.spi.IIORegistry.registerApplicationClasspathSpis(IIORegistry.java:190)
        at javax.imageio.spi.IIORegistry.<init>(IIORegistry.java:121)
        at javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:142)
        at javax.imageio.ImageIO.<clinit>(ImageIO.java:48)
        at com.google.code.kaptcha.servlet.KaptchaServlet.init

I did a hunt on google and didn't find much, other than to try and install Java JAI I/O Image which I tried but made no apparent difference.

Does anybody have any ideas?
[Message sent by forum member 'polishben' (polishben)]

http://forums.java.net/jive/thread.jspa?messageID=332077