Hello Laurent!

You error and backtrace looks like there is a problem with the SHA1
signature. This is strange because they are exactly the same in both cases,
at least the ECLIPSEF.SF files are the same and the SHA1 signatures for
TreeAdaptorFactory.class and TreeAdaptorFactory 41.class are the same, I
checked them especially because of the error message.

The difference between the jar file from the repository and the one in the
distribution is that I have signed it with my argouml key (also). This
currently adds a SHA-256-Digest to all files on top of the SHA1-Digest that
already exists for all files. The extra signature explains why the sizes
are increased.

The reason for signing the files is that the JNLP-start requires that all
files are signed with the same key.

I created a new self-signed key for the 0.35.1 release. The old one had
elapsed.

Appearantly, something that is trigged by specifying the two extra defines
in argouml2.sh, does something strange with the key lookup.

Looking at how my machine work, I have used the java1.7 jarsigner, on the
other hand, I have used the java 1.7 jdk also relying on the compiler
specification in the ant files (source=1.5 and target=1.5) to get it to run
on java1.5 and 1.6.

Could it be that the java 1.7 jarsigner and that the format of the MANIFEST
file or some jarsigner master key has changed so when you run it with java6
it doesn't work? I don't think so because I get the same problem with
argouml2.sh both with java6 (my default in windows/cygwin) and java 1.7
(where JAVA_HOME is pointing).

I don't understand this. I hope that someone can explain what is happening
here.

        /Linus


2014-09-01 20:54 GMT+02:00 Laurent BRAUD <laurentbraud....@gmail.com>:

> Hello !
> I tried to launch "argouml2.bat" but I have an exception. "argouml.bat"
> works fine.
> I launch after unzip "ArgoUML-0.35.1.tar.gz".
>
>
>
> **********************
> 1 sept. 2014 20:50:24 org.argouml.application.Main main
> GRAVE: Fatal error on startup.  ArgoUML failed to start
> java.lang.SecurityException: invalid SHA1 signature file digest for
> org/eclipse/
> emf/edit/tree/util/TreeAdapterFactory.class
>         at
> sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVe
> rifier.java:451)
>         at
> sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVeri
> fier.java:250)
>         at
> sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier
> .java:194)
>         at java.util.jar.JarVerifier.processEntry(JarVerifier.java:294)
>         at java.util.jar.JarVerifier.update(JarVerifier.java:205)
>         at java.util.jar.JarFile.initializeVerifier(JarFile.java:339)
>         at java.util.jar.JarFile.getInputStream(JarFile.java:404)
>         at
> sun.misc.URLClassPath$JarLoader$2.getInputStream(URLClassPath.java:74
> 0)
>         at sun.misc.Resource.cachedInputStream(Resource.java:77)
>         at sun.misc.Resource.getByteBuffer(Resource.java:160)
>         at java.net.URLClassLoader.defineClass(URLClassLoader.java:369)
>         at java.net.URLClassLoader.access$100(URLClassLoader.java:75)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:294)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:288)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:287)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:422)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:325)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:355)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:186)
>         at org.argouml.model.Model.initialise(Model.java:506)
>         at org.argouml.application.Main.initModel(Main.java:456)
>         at org.argouml.application.Main.initializeSubsystems(Main.java:406)
>         at org.argouml.application.Main.main(Main.java:182)
>
> ------------------------------------------------------
>
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3087749
>
> To unsubscribe from this discussion, e-mail: [
> dev-unsubscr...@argouml.tigris.org].
> To be allowed to post to the list contact the mailing list moderator,
> email: [li...@tigris.org]
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3088030

To unsubscribe from this discussion, e-mail: 
[dev-unsubscr...@argouml.tigris.org].
To be allowed to post to the list contact the mailing list moderator, email: 
[li...@tigris.org]

Reply via email to