David Potts ha scritto: > Just tried to use geoserver on my Ubuntu box, it came up with a lots of > errors about > > java.util.ServiceConfigurationError: javax.imageio.spi.ImageReaderSpi: > Provider > it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi > could not be instantiated: java.lang.ClassCastException: Cannot cast > it.geosolutions.imageio.stream.input.spi.FileImageInputStreamExtImplSpi to > javax.imageio.spi.ImageReaderSpi > This type of problem normaly indicates something horrible, after a bit of > digging, I discovered that ubuntu use the openjdk, I tried charging to > using suns jvm, result the problem disappeared. > See https://help.ubuntu.com/community/Java, for how to change. > > Using a different jvm sorts this problem, but why? > > Some research from a blog > http://weblogs.java.net/blog/fabriziogiudici/archive/2008/07/openjdk_is_a_ve.html, > suggests that the problem is something to do with "services > andMETA-INF/services"
Hum, interesting, this is something for the ImageIO-Ext guys to solve (cc'ing one of them, Simone, do you copy? ;) ) Anyways, I strongly suggest against trying to use OpenJDK, at least for the moment, for two reasons: * due to lack of interested people (as in, interested in spending their time testing other JDKs and fixing the issues that arise), we don't test against anything else than Sun JDK * OpenJDK uses an open source rendering subsystem that's quite a bit slower than the proprietary one used in the official Sun JDK Hope this helps Cheers Andrea ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geoserver-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-devel
