[Geoserver-devel] [jira] Created: (GEOS-3826) Geoserver GDAL ImageIO-ext extensions don't work on last Tomcat 6.0.2X versions

Geoserver GDAL ImageIO-ext extensions don't work on last Tomcat 6.0.2X versions
-------------------------------------------------------------------------------

                 Key: GEOS-3826
                 URL: http://jira.codehaus.org/browse/GEOS-3826
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 2.0.1, 2.0.0
            Reporter: Daniele Romagnoli
            Assignee: Andrea Aime

In the last versions of Tomcat 6, the Geoserver's GDAL ImageIO-Ext extensions don't work properly.
The available GDAL formats properly appear in the Data Stores UI but when real data access occurs, the logger reports:

Caused by: java.lang.IllegalArgumentException: Incorrect input type!
       at javax.imageio.ImageReader.setInput(ImageReader.java:290)
       at it.geosolutions.imageio.gdalframework.GDALImageReader.setInput(GDALImageReader.java:838)

It seems that the imageio-ext custom streams (used to access the GDAL data) aren't properly loaded or the SPI registering isn't properly handled.

We will investigate on what have been changed on the last Tomcat 6 versions.
A quick workaround is using a less recent version:
Aime reported that when using Tomcat 6.0.18, things work fine. Andrea, can you confirm this?

Users reporting that issue can also provide the Tomcat 6.0.xx version they have used in order to narrow the range of versions introducing the issue and find the last Tomcat version which works whilst we will investigate on the cause.

--
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