[Geoserver-devel] [jira] Created: (GEOS-2170) MIIME-Type matching shall be case insensitive

MIIME-Type matching shall be case insensitive
---------------------------------------------

                 Key: GEOS-2170
                 URL: http://jira.codehaus.org/browse/GEOS-2170
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 1.7.0-RC1
            Reporter: Gabriel Roldán
            Assignee: Gabriel Roldán
             Fix For: 1.7.0-RC2

According to [RFC-1521|http://tools.ietf.org/html/rfc1521\] MIMT Type name matching shall be done in a case insensitive manner, including type subtype and parameters

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

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"

Dave.

--
Any views expressed in this message are those of the individual sender,
except where the sender specifically states them to be the views of the
Pinan Software

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? :wink: )

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