[Geoserver-users] specified dimensional parameter non-positive

Hi,

I’m running:
geoserver 1.5.1
jdk1.5.0_11
jai 1.1.3 with/without native libraries
imageio 1.1 with/without native libraries
fedora core linux 6
jboss 4.2.0
nvidia video card
dual core
4GB RAM

I’ve been trying to run ImagePyramid and blue marble on the configuration above but it doesn’t work properly. All other geoserver functionality works great. ImagePyramid works fine in winXP and runs very quickly. On fedora I get errors and it takes at least a minute or longer to populate the demo viewer, then geoserver crashes. I keep getting the following error:

org.geotools.renderer.lite.StreamingRenderer - The specified dimensional parameter is non-positive.
java.lang.IllegalArgumentException: The specified dimensional parameter is non-positive.
at javax.media.jai.ImageLayout.setWidth(ImageLayout.java:411)
at javax.media.jai.ImageLayout.(ImageLayout.java:184)
at org.geotools.gce.imagemosaic.ImageMosaicReader.prepareMosaic(ImageMosaicReader.java:1254)
at org.geotools.gce.imagemosaic.ImageMosaicReader.loadRequestedTiles(ImageMosaicReader.java:1026)
at org.geotools.gce.imagemosaic.ImageMosaicReader.loadTiles(ImageMosaicReader.java:644)
at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:473)
at org.geotools.gce.imagepyramid.ImagePyramidReader.loadRequestedTiles(ImagePyramidReader.java:517)
at org.geotools.gce.imagepyramid.ImagePyramidReader.loadTiles(ImagePyramidReader.java:441)

I’ve tried it on 32 and 64 bit fedora core 6 platforms and get the same result. I also tried the latest and stable builds of jai and imageio. I’ve also tried jdk1.6.0_x with and without native libraries. I’ve also run geotools 2.3.2 demo applications and those seem to work fine after I load the jai libraries so I think jai-stuff is working - maybe.

Am I missing anything? Any suggestions would be appreciated.

thanks,
sam


Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, photos & more.

sam ramirez ha scritto:

Hi,

I'm running:
   geoserver 1.5.1
   jdk1.5.0_11
   jai 1.1.3 with/without native libraries
   imageio 1.1 with/without native libraries
   fedora core linux 6
   jboss 4.2.0
   nvidia video card
   dual core
   4GB RAM

I've been trying to run ImagePyramid and blue marble on the configuration above but it doesn't work properly. All other geoserver functionality works great. ImagePyramid works fine in winXP and runs very quickly. On fedora I get errors and it takes at least a minute or longer to populate the demo viewer, then geoserver crashes. I keep getting the following error:

org.geotools.renderer.lite.StreamingRenderer - The specified dimensional parameter is non-positive.
java.lang.IllegalArgumentException: The specified dimensional parameter is non-positive.
        at javax.media.jai.ImageLayout.setWidth(ImageLayout.java:411)
        at javax.media.jai.ImageLayout.<init>(ImageLayout.java:184)
        at org.geotools.gce.imagemosaic.ImageMosaicReader.prepareMosaic(ImageMosaicReader.java:1254)
        at org.geotools.gce.imagemosaic.ImageMosaicReader.loadRequestedTiles(ImageMosaicReader.java:1026)
        at org.geotools.gce.imagemosaic.ImageMosaicReader.loadTiles(ImageMosaicReader.java:644)
        at org.geotools.gce.imagemosaic.ImageMosaicReader.read(ImageMosaicReader.java:473)
        at org.geotools.gce.imagepyramid.ImagePyramidReader.loadRequestedTiles(ImagePyramidReader.java:517)
        at org.geotools.gce.imagepyramid.ImagePyramidReader.loadTiles(ImagePyramidReader.java:441)

I've tried it on 32 and 64 bit fedora core 6 platforms and get the same result. I also tried the latest and stable builds of jai and imageio. I've also tried jdk1.6.0_x with and without native libraries. I've also run geotools 2.3.2 demo applications and those seem to work fine after I load the jai libraries so I think jai-stuff is working - maybe.

Am I missing anything? Any suggestions would be appreciated.

You already have tried out all that I would have suggested... no one of us is running Fedora (we have pyramid working on a Gentoo box). But if you find what's wrong let us know, so that we can put this bit of information in the wiki.

One thing... have you generated the pyramid in separate sessions on windows and linux? If so, what about trying to use the pyramid you generated on windows on the linux box? Which tools did you use to generate it?

Cheers
Andrea