I've been testing Coverages in Geoserver 1.5.0-RC1 on Apache Tomcat/5.5.20 on ubuntu Edgy. I have followed the mosaic plugin tutorial (http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin) to prepare my data using GDAL to construct properties, prj and shape file. I've created a new *CoverageStore* in geoserver and made apply, save and load without problem. As I try to create a new coverage, I get a geoserver exception :
GeoServer - Exception
The following exception was thrown:
/|java.lang.ArrayIndexOutOfBoundsException: 1|/
/||/
/|I get also an exception with the included examples (arcgrid, image, mosaic, geotiff, worldimage) essing the new button|/
/||/
GeoServer - Exception
The following exception was thrown:
/|java.lang.NoClassDefFoundError: it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl|/
Can you post the contents of the .properties file?
Thanks,
Alex
On 2/16/07, cedric <cedric@anonymised.com> wrote:
Hi geoserver list,
I've been testing Coverages in Geoserver 1.5.0-RC1 on Apache
Tomcat/5.5.20 on ubuntu Edgy. I have followed the mosaic plugin tutorial
(http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin)
to prepare my data using GDAL to construct properties, prj and shape
file. I've created a new *CoverageStore* in geoserver and made apply,
save and load without problem. As I try to create a new coverage, I get
a geoserver exception :
GeoServer - Exception
The following exception was thrown:
/|java.lang.ArrayIndexOutOfBoundsException: 1|/
/||/
/|I get also an exception with the included examples (arcgrid, image,
mosaic, geotiff, worldimage) essing the new button|/
/||/
GeoServer - Exception
The following exception was thrown:
/|java.lang.NoClassDefFoundError:
it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl|/
Not sure exactly what is going on, but one thing to check is that your properties file for your mosaic has correct values, especially for the 'Levels=' values. They must be positive values. Even if gdal returns a negative number, you must make it positive.
Brent Owens
(The Open Planning Project)
cedric wrote:
Hi geoserver list,
I've been testing Coverages in Geoserver 1.5.0-RC1 on Apache Tomcat/5.5.20 on ubuntu Edgy. I have followed the mosaic plugin tutorial (http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin) to prepare my data using GDAL to construct properties, prj and shape file. I've created a new *CoverageStore* in geoserver and made apply, save and load without problem. As I try to create a new coverage, I get a geoserver exception :
GeoServer - Exception
The following exception was thrown:
/|java.lang.ArrayIndexOutOfBoundsException: 1|/
/||/
/|I get also an exception with the included examples (arcgrid, image, mosaic, geotiff, worldimage) essing the new button|/
/||/
GeoServer - Exception
The following exception was thrown:
/|java.lang.NoClassDefFoundError: it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl|/
If you found the information in the Wiki page lacking, or in error
(or both :-)), please let me know.
Alex
On 2/16/07, Brent Owens <brentowens@anonymised.com> wrote:
Not sure exactly what is going on, but one thing to check is that your
properties file for your mosaic has correct values, especially for the
'Levels=' values. They must be positive values. Even if gdal returns a
negative number, you must make it positive.
Brent Owens
(The Open Planning Project)
cedric wrote:
> Hi geoserver list,
>
> I've been testing Coverages in Geoserver 1.5.0-RC1 on Apache
> Tomcat/5.5.20 on ubuntu Edgy. I have followed the mosaic plugin tutorial
> (http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin)
> to prepare my data using GDAL to construct properties, prj and shape
> file. I've created a new *CoverageStore* in geoserver and made apply,
> save and load without problem. As I try to create a new coverage, I get
> a geoserver exception :
>
> GeoServer - Exception
> The following exception was thrown:
> /|java.lang.ArrayIndexOutOfBoundsException: 1|/
> /||/
> /|I get also an exception with the included examples (arcgrid, image,
> mosaic, geotiff, worldimage) essing the new button|/
> /||/
> GeoServer - Exception
> The following exception was thrown:
> /|java.lang.NoClassDefFoundError:
> it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl|/
>
> Do you have any idea of what could be wrong ?
>
> Cedric
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geoserver-devel mailing list
> Geoserver-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
Not sure exactly what is going on, but one thing to check is that your properties file for your mosaic has correct values, especially for the 'Levels=' values. They must be positive values. Even if gdal returns a negative number, you must make it positive.
Now that CoverageTools do have a release out we may provide instructions
for those too.
Alessio, one thing I noticed is that CT does not include the jai jars.
It would be nice if the release had them too, making tools work on PCs
without JAI around.
The information on the wiki seems accurate. This was my mistake in the .properties file on the extent. Sorry about that. I'm now playing with uDig and Mapbuilder.
Thanks for your great job on the geoserver side.
Cedric
Alexander Petkov wrote:
Cedric:
If you found the information in the Wiki page lacking, or in error
(or both :-)), please let me know.
Alex
On 2/16/07, Brent Owens <brentowens@anonymised.com> wrote:
Not sure exactly what is going on, but one thing to check is that your
properties file for your mosaic has correct values, especially for the
'Levels=' values. They must be positive values. Even if gdal returns a
negative number, you must make it positive.
Brent Owens
(The Open Planning Project)
cedric wrote:
> Hi geoserver list,
>
> I've been testing Coverages in Geoserver 1.5.0-RC1 on Apache
> Tomcat/5.5.20 on ubuntu Edgy. I have followed the mosaic plugin tutorial
> (http://docs.codehaus.org/display/GEOSDOC/Using+the+ImageMosaic+plugin)
> to prepare my data using GDAL to construct properties, prj and shape
> file. I've created a new *CoverageStore* in geoserver and made apply,
> save and load without problem. As I try to create a new coverage, I get
> a geoserver exception :
>
> GeoServer - Exception
> The following exception was thrown:
> /|java.lang.ArrayIndexOutOfBoundsException: 1|/
> /||/
> /|I get also an exception with the included examples (arcgrid, image,
> mosaic, geotiff, worldimage) essing the new button|/
> /||/
> GeoServer - Exception
> The following exception was thrown:
> /|java.lang.NoClassDefFoundError:
> it/geosolutions/imageio/stream/input/FileImageInputStreamExtImpl|/
>
> Do you have any idea of what could be wrong ?
>
> Cedric
>
> -------------------------------------------------------------------------