Hi Tobias,
keeping the mailing list in the loop so that future users with similar questions may see your experiences on that topic.
On Fri, Oct 26, 2012 at 2:16 PM, Tobias Reinicke <ramotswa@anonymised.com> wrote:
Hi Daniele,
Thanks for the reply.
So I have put the three jar files into the geoserver/lib directory as stated.
I have put the dll’s into another folder, and have put that folder on my windows path.That’s it in terms of what I need to do right?
If so, I am getting this error on start up. Have copied the entire geoserver start up log so you can see if anything else is missing.
Thanks for your help.
I can see 2 unrelated issues from your log.
- DLL path issue
Oct 26, 2012 12:11:26 PM it.geosolutions.util.KakaduUtilities loadKakadu
WARNING: Failed to load the Kakadu native libs. This is not a problem unless you
need to use the Kakadu plugin: it won't be enabled. java.lang.UnsatisfiedLinkEr
ror: C:\Program Files (x86)\Java\jdk1.7.0_09\bin\kdu_jni.dll: Can't find depende
nt libraries
It seems like a kdu_jni.dll on your JDK/bin isn’t finding additional dependencies.
Question:
You said “I have put the dll’s into another folder, and have put that folder on my windows path”
Is that “another folder” == the JDK bin one?
if affirmative, you should check if the other required kakadu DLLs are there too… (you may also consider using 1 to find other potentially missing DLLs).
if negative, I suggest to remove the kdu_jni.dll from your JDK bin. That one may take precedence with respect to the other DLLs you have put into the “another folder”. Removing it from the JDK bin should allow avoiding DLLs loading from unexpected locations (maybe an old kdu_jni.dll looking for old kdu_x##.dlls.
- Missing jar.
WARNING: Can't load a service for category "GridFormatFactorySpi". Cause is "Ser
viceConfigurationError: org.geotools.coverage.grid.io.GridFormatFactorySpi: Prov
ider org (...) NoClassDefFoundError: it/geosolutions/imageio/imageioimpl/imagere
admt/ImageReadDescriptorMT".
java.util.ServiceConfigurationError: org.geotools.coverage.grid.io.GridFormatFac
torySpi: Provider org.geotools.coverageio.jp2k.JP2KFormatFactory could not be in
stantiated: java.lang.NoClassDefFoundError: it/geosolutions/imageio/imageioimpl/
imagereadmt/ImageReadDescriptorMT
I will take a look to the jp2k related geotools pom to make sure that dependency is imported.
In the meantime, you may consider adding that one 2 to your geoserver WEB-INF/lib which should fix the NoClassDefFoundError exception.
Please, let us know if you have additional issues after fixing those 2.
If everything goes fine, we can discover whether the Kakadu 7 native libs are properly working against previous jni jars.
Cheers,
Daniele
Toby
On 26 October 2012 12:03, Daniele Romagnoli <daniele.romagnoli@anonymised.com> wrote:
Hi Tobias,
On Thu, Oct 25, 2012 at 3:10 PM, Tobias Reinicke <ramotswa@anonymised.com.> wrote:
Hello all,
I am trying to get this to work and was just wondering;
I have the three dll’s as specified on
http://geo-solutions.blogspot.co.uk/2010/03/geoserver-and-geotools-now-supporting.htmlbut that was 2 years ago, and we have Kakadu version 7.
The jar files I have are:
imageio-ext-kakadujni-5.2.6
imageio-ext-kakadu-1.1.4
gt-jp2k-8.2Is there an updated jni library available that works with version 7?
We hadn’t a chance to work against Version 7 yet.
As seen from the blog you have reported, we were able to use the same kakadujni stuff against 5.2.6 and 6.3 versions.
However, we didn’t checked if something has been changed at JNI side on version 7.
You maybe could try to see if these old jars are still working with the new DLLs and share with us your results/feedbacks. (Not sure if it will works.)Also, to get this running, do I “JUST” need the dll’s?
That should be fine. (provided that the old jars are working with the new DLLs without any change)
Regards,
DanieleOr the rest of the Kakadu source code available too?
Thanks
Toby
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users–
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.
Ing. Daniele Romagnoli
Senior Software EngineerGeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272http://www.geo-solutions.it
http://twitter.com/geosolutions_it
–
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it