while testing capabilities of Geoserver I tried to install the
impressively speedy native plugin for Kakadu JPEG2000.
I have kdu_jni.jar as well as the relevant DLL files (kdu_a60aR.dll,
kdu_v60R.dll, kdu_jni.dll) in PATH.
The plugin seems to be loaded (no warnings about kdu_jni in logs).
When I try to add new JP2K (Direct) Data Source, then the GeoServer returns:
"Could not list layers for this store, an error occurred retrieving
them: it.geosolutions.imageio.plugins.jp2k.LazyJP2KBox cannot be cast
to it.geosolutions.imageio.plugins.jp2k.box.ResolutionBox"
2011-07-14 11:29:29,202 INFO [geoserver.web] - Getting list of
coverages for saved store file:data/test.jp2
java.lang.RuntimeException: Could not list layers for this store, an
error occurred retrieving them:
it.geosolutions.imageio.plugins.jp2k.LazyJP2KBox cannot be cast to
it.geosolutions.imageio.plugins.jp2k.box.ResolutionBox
The supplied file is correctly encoded, and gdalinfo on it returns
correct georeference and srs.
I own the license of Kakadu library, but I was not compiling it on the
Windows box when I am trying the GeoServer 2.1.1 now, as I don't have
there the dev tools there.
Any hint of what is wrong or how to localize and fix the error would
be very helpful...
Hi Klokan,
do you have any chance to share that JP2 file (or send to me by private email in case you can’t provide it to public lists) so I’ll try to replicate the issue and debug it?
while testing capabilities of Geoserver I tried to install the
impressively speedy native plugin for Kakadu JPEG2000.
I have kdu_jni.jar as well as the relevant DLL files (kdu_a60aR.dll,
kdu_v60R.dll, kdu_jni.dll) in PATH.
The plugin seems to be loaded (no warnings about kdu_jni in logs).
When I try to add new JP2K (Direct) Data Source, then the GeoServer returns:
“Could not list layers for this store, an error occurred retrieving
them: it.geosolutions.imageio.plugins.jp2k.LazyJP2KBox cannot be cast
to it.geosolutions.imageio.plugins.jp2k.box.ResolutionBox”
2011-07-14 11:29:29,202 INFO [geoserver.web] - Getting list of
coverages for saved store file:data/test.jp2
java.lang.RuntimeException: Could not list layers for this store, an
error occurred retrieving them:
it.geosolutions.imageio.plugins.jp2k.LazyJP2KBox cannot be cast to
it.geosolutions.imageio.plugins.jp2k.box.ResolutionBox
The supplied file is correctly encoded, and gdalinfo on it returns
correct georeference and srs.
I own the license of Kakadu library, but I was not compiling it on the
Windows box when I am trying the GeoServer 2.1.1 now, as I don’t have
there the dev tools there.
Any hint of what is wrong or how to localize and fix the error would
be very helpful…
AppSumo Presents a FREE Video for the SourceForge Community by Eric
Ries, the creator of the Lean Startup Methodology on “Lean Startup
Secrets Revealed.” This video shows you how to validate your ideas,
optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev