Re: [argouml-dev] The development release 0.35.1 is now available (Argouml2.bat error)
Linus Tolke Tigris <[email protected]> Sat, 6 Sep 2014 22:32:54 +0200
| Newsgroups | gmane.comp.db.axion.devel |
|---|---|
| Message-ID | <CAPumN3tOk+9JOTqPALRKb2+UEVSZ+bEtq5QFV+nRcQXoewfvkA@mail.gmail.com> |
------=_Part_170_1662717395.1410035636161
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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 <[email protected]>:
> 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: [
> [email protected]].
> To be allowed to post to the list contact the mailing list moderator,
> email: [[email protected]]
>
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=3088030
To unsubscribe from this discussion, e-mail: [[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: [[email protected]]
------=_Part_170_1662717395.1410035636161
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr">Hello Laurent!<div><br></div><div>You error and backtrace =
looks like there is a problem with the SHA1 signature. This is strange beca=
use 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 Tree=
AdaptorFactory 41.class are the same, I checked them especially because of =
the error message.</div><div><br></div><div>The difference between the jar =
file from the repository and the one in the distribution is that I have sig=
ned 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.</div><div><br></div><=
div>The reason for signing the files is that the JNLP-start requires that a=
ll files are signed with the same key.=C2=A0</div><div><br></div><div>I cre=
ated a new self-signed key for the 0.35.1 release. The old one had elapsed.=
</div><div><br></div><div>Appearantly, something that is trigged by specify=
ing the two extra defines in argouml2.sh, does something strange with the k=
ey lookup.</div><div><br></div><div>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=3D1.5 =
and target=3D1.5) to get it to run on java1.5 and 1.6.</div><div><br></div>=
<div>Could it be that the java 1.7 jarsigner and that the format of the MAN=
IFEST 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 pro=
blem with argouml2.sh both with java6 (my default in windows/cygwin) and ja=
va 1.7 (where JAVA_HOME is pointing).<br></div><div><br></div><div>I don=
9;t understand this. I hope that someone can explain what is happening here=
.</div><div><br></div><div>=C2=A0 =C2=A0 =C2=A0 =C2=A0 /Linus</div></div><d=
iv class=3D"gmail_extra"><br><br><div class=3D"gmail_quote">2014-09-01 20:5=
4 GMT+02:00 Laurent BRAUD <span dir=3D"ltr"><<a href=3D"mailto:laurentbr=
[email protected]" target=3D"_blank">[email protected]</a>></sp=
an>:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border=
-left:1px #ccc solid;padding-left:1ex">Hello !<br>
I tried to launch "argouml2.bat" but I have an exception. "a=
rgouml.bat" works fine.<br>
I launch after unzip "ArgoUML-0.35.1.tar.gz".<br>
<br>
<br>
<br>
**********************<br>
1 sept. 2014 20:50:24 org.argouml.application.Main main<br>
GRAVE: Fatal error on startup.=C2=A0 ArgoUML failed to start<br>
java.lang.SecurityException: invalid SHA1 signature file digest for org/ecl=
ipse/<br>
emf/edit/tree/util/TreeAdapterFactory.class<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.security.util.SignatureFileVerifier.veri=
fySection(SignatureFileVe<br>
rifier.java:451)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.security.util.SignatureFileVerifier.proc=
essImpl(SignatureFileVeri<br>
fier.java:250)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.security.util.SignatureFileVerifier.proc=
ess(SignatureFileVerifier<br>
.java:194)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.util.jar.JarVerifier.processEntry(JarVe=
rifier.java:294)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.util.jar.JarVerifier.update(JarVerifier=
.java:205)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.util.jar.JarFile.initializeVerifier(Jar=
File.java:339)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.util.jar.JarFile.getInputStream(JarFile=
.java:404)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.misc.URLClassPath$JarLoader$2.getInputSt=
ream(URLClassPath.java:74<br>
0)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.misc.Resource.cachedInputStream(Resource=
.java:77)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.misc.Resource.getByteBuffer(Resource.jav=
a:160)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.net.URLClassLoader.defineClass(URLClass=
Loader.java:369)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.net.URLClassLoader.access$100(URLClassL=
oader.java:75)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.net.URLClassLoader$1.run(URLClassLoader=
.java:294)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.net.URLClassLoader$1.run(URLClassLoader=
.java:288)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.security.AccessController.doPrivileged(=
Native Method)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.net.URLClassLoader.findClass(URLClassLo=
ader.java:287)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.ClassLoader.loadClass(ClassLoader.=
java:422)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at sun.misc.Launcher$AppClassLoader.loadClass(L=
auncher.java:325)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.ClassLoader.loadClass(ClassLoader.=
java:355)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.Class.forName0(Native Method)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at java.lang.Class.forName(Class.java:186)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.argouml.model.Model.initialise(Model.jav=
a:506)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.argouml.application.Main.initModel(Main.=
java:456)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.argouml.application.Main.initializeSubsy=
stems(Main.java:406)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 at org.argouml.application.Main.main(Main.java:=
182)<br>
<br>
------------------------------------------------------<br>
<a href=3D"http://argouml.tigris.org/ds/viewMessage.do?dsForumId=3D450&=
dsMessageId=3D3087749" target=3D"_blank">http://argouml.tigris.org/ds/viewM=
essage.do?dsForumId=3D450&dsMessageId=3D3087749</a><br>
<br>
To unsubscribe from this discussion, e-mail: [<a href=3D"mailto:dev-unsubsc=
[email protected]">[email protected]</a>].<br>
To be allowed to post to the list contact the mailing list moderator, email=
: [<a href=3D"mailto:[email protected]">[email protected]</a>]<br>
</blockquote></div><br></div>
------=_Part_170_1662717395.1410035636161--