[Gfoss] Metadata

Andrea Peri peri.rtoscana a gmail.com
Mar 9 Set 2008 14:58:02 CEST


L?errore e' che attualmente il java che stai usando e' la gcj
e non la jadk-sun.

E purtroppo il gcj e' compatibile con jdk 1.4 e non con jdk 1.5.

Dopo che hai installato jdk 1.5 o (meglio) jdk 1.6

lo chiami cosi':

ipotizzando che la JDK la hai instalata in /opt/jdk6

>/opt/jdk6/bin/java -jar GeoMetadata.UI.jar
(non serve configurare classpath)

e tutto dovrebbe andare.

Grazie per i feedbacks...

Andrea.


2008/9/9 Eugenio Trumpy <frippe12573 at hotmail.com>:
>
> Stamani ho provato a reinstallare Metabeta della regione toscana,
> ma purtroppo sembra ci siano ancora problemi,
> non so se dipendono dall'applicazione o dal mio sistema (Debian lenny):
>
> eugenio at eugenio-desktop:~/download/metabeta/app$ java -jar GeoMetadata.UI.jar
> java.security.NoSuchAlgorithmException: Algorithm [PBEWithMD5AndDES] of type [SecretKeyFactory] from provider [gnu.javax.security.auth.callback.GnuCallbacks: name=GNU-CALLBACKS version=2.1] is not found
>   at gnu.java.security.Engine.getInstance(libgcj.so.90)
>   at gnu.java.security.Engine.getInstance(libgcj.so.90)
>   at javax.crypto.SecretKeyFactory.getInstance(libgcj.so.90)
>   at javax.crypto.SecretKeyFactory.getInstance(libgcj.so.90)
>   at it.terranova.metadata.helpers.SecurityHelper.initialize(SecurityHelper.java:79)
>   at it.terranova.metadata.helpers.SecurityHelper.(SecurityHelper.java:60)
>   at it.terranova.metadata.helpers.SecurityHelper.createInstance(SecurityHelper.java:27)
>   at it.terranova.metadata.helpers.SecurityHelper.getInstance(SecurityHelper.java:41)
>   at it.terranova.metadata.iso19115.support.DB_User.setPassword(DB_User.java:137)
>   at it.terranova.metadata.iso19115.support.DB_User.(DB_User.java:54)
>   at it.terranova.metadata.ui.application.MainForm.(MainForm.java:304)
>   at java.lang.Class.initializeClass(libgcj.so.90)
> Exception in thread "main" java.lang.ExceptionInInitializerError
>   at java.lang.Class.initializeClass(libgcj.so.90)
> Caused by: java.lang.IllegalStateException: Security error: initialization failed
>   at it.terranova.metadata.helpers.SecurityHelper.initialize(SecurityHelper.java:89)
>   at it.terranova.metadata.helpers.SecurityHelper.(SecurityHelper.java:60)
>   at it.terranova.metadata.helpers.SecurityHelper.createInstance(SecurityHelper.java:27)
>   at it.terranova.metadata.helpers.SecurityHelper.getInstance(SecurityHelper.java:41)
>   at it.terranova.metadata.iso19115.support.DB_User.setPassword(DB_User.java:137)
>   at it.terranova.metadata.iso19115.support.DB_User.(DB_User.java:54)
>   at it.terranova.metadata.ui.application.MainForm.(MainForm.java:304)
>   at java.lang.Class.initializeClass(libgcj.so.90)
> Caused by: java.security.NoSuchAlgorithmException: Algorithm [PBEWithMD5AndDES] of type [SecretKeyFactory] from provider [gnu.javax.security.auth.callback.GnuCallbacks: name=GNU-CALLBACKS version=2.1] is not found
>   at gnu.java.security.Engine.getInstance(libgcj.so.90)
>   at gnu.java.security.Engine.getInstance(libgcj.so.90)
>   at javax.crypto.SecretKeyFactory.getInstance(libgcj.so.90)
>   at javax.crypto.SecretKeyFactory.getInstance(libgcj.so.90)
>   at it.terranova.metadata.helpers.SecurityHelper.initialize(SecurityHelper.java:79)
>   ...7 more
>
> Spero l'output possa essere utile...
>
>
> Eugenio
> _________________________________________________________________
> Screensaver e sfondi… Scaricali dallo Spaces di Doretta!
> https://cid-97b0d995232b954a.skydrive.live.com/home.aspx



-- 
~~~~~~~~~~~~~~~~~
 Andrea 
 Peri 
~~~~~~~~~~~~~~~~~


Maggiori informazioni sulla lista Gfoss