Webstart RCP (based on eclipse 3.6.2) [message #660198] |
Thu, 17 March 2011 06:05  |
Eclipse User |
|
|
|
Hi all,
i'm releasing our RCP solution via webstart.
everything ran smoothly until yesterday when I updated eclipse to 3.6.2
(delta pack too).
Now the client can't start, raising an error like:
com.sun.deploy.net.FailedDownloadException: Impossibile caricare la
risorsa: http://myserver/app/plugins/
org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100 520.jar
wrapped exception says
java.io.IOException: invalid SHA1 signature file digest for
runtime_registry_compatibility.jar
runtime_registry_compatibility.jar is an archive packed in the root of
the plugin o.e.c.r.compatibility.registry_3.3.0.v20100520.jar
I sign my jars with our certificate, and if i look inside the internal
jar i see, in the META-INF, our signature files.
Some idea?
--
kindly Elvis Dominguez
|
|
|
|
|
|
Re: Webstart RCP (based on eclipse 3.6.2) [message #673723 is a reply to message #673604] |
Tue, 24 May 2011 10:42  |
Eclipse User |
|
|
|
Christian Minke wrote on Tue, 24 May 2011 10:40Hi,
had the same problem. Seams that jarsigner doesn't like to sign signed packages.
Just remove:
- META-INF/eclipse.inf
- META-INF/ECLIPSE.RSA
- META-INF/ECLIPSE.SF
If you only work with the jar, you'll somewhere find an howto to unpack, remove and pack it.
e.g.:
jar -xvf ../plugin.jar
rm META-INF/eclipse.inf
rm META-INF/ECLIPSE.RSA
rm META-INF/ECLIPSE.SF
edit META-INF/MANIFEST.MF
jar cvf ../plugin.jar META-INF/MANIFEST.MF *
Good luck!
Thank you for your tip. That was the problem.
|
|
|
Powered by
FUDForum. Page generated in 0.24944 seconds