Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » PDE director throws signature exception
PDE director throws signature exception [message #55041] Wed, 15 April 2009 01:42 Go to next message
Eclipse UserFriend
Originally posted by: wbeckwith.gmail.com

I'm trying to build an rcp and once I gor through all the missing
dependencies, pde build is throwing the following stacktrace. There are
no other processes touching the files so I don't see why it thinks they
have been modified.

main:

runDirector:

runDirector:
[java] !SESSION 2009-04-14 17:34:03.145
-----------------------------------------------
[java] eclipse.buildId=I20090313-0100
[java] java.version=1.5.0_17
[java] java.vendor=Sun Microsystems Inc.
[java] BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
[java] Framework arguments: -application
org.eclipse.equinox.p2.director.app.application
--launcher.suppressErrors -flavor tooling -installIU
com.itko.lisa.workstation.product -version 1.0.0 -p2.os win32 -p2.ws
win32 -p2.arch x86 -roaming -profile profile -profileProperties
org.eclipse.update.install.features=true -metadataRepository
file:D:\dev\workspace-main\lisa-product.builder/build/buildR epo
-artifactRepository
file:D:\dev\workspace-main\lisa-product.builder/build/buildR epo
-destination
D:\dev\workspace-main\lisa-product.builder/build/tmp/eclipse -bundlepool
D:\dev\workspace-main\lisa-product.builder/build/tmp/eclipse
[java] Command-line arguments: -application
org.eclipse.equinox.p2.director.app.application
--launcher.suppressErrors -consoleLog -flavor tooling -installIU
com.itko.lisa.workstation.product -version 1.0.0 -p2.os win32 -p2.ws
win32 -p2.arch x86 -roaming -profile profile -profileProperties
org.eclipse.update.install.features=true -metadataRepository
file:D:\dev\workspace-main\lisa-product.builder/build/buildR epo
-artifactRepository
file:D:\dev\workspace-main\lisa-product.builder/build/buildR epo
-destination
D:\dev\workspace-main\lisa-product.builder/build/tmp/eclipse -bundlepool
D:\dev\workspace-main\lisa-product.builder/build/tmp/eclipse
[java]
[java] !ENTRY org.eclipse.equinox.registry 2 0 2009-04-14 17:34:05.718
[java] !MESSAGE The extensions and extension-points from the
bundle "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored.
The host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not
marked as singleton.
[java]
[java] !ENTRY org.eclipse.equinox.registry 2 0 2009-04-14 17:34:05.890
[java] !MESSAGE The extensions and extension-points from the
bundle "com.eviware.soapui.libs" are ignored. The bundle is not marked
as singleton.
[java] Installing com.itko.lisa.workstation.product 1.0.0.
[java]
[java] !ENTRY org.eclipse.osgi 4 0 2009-04-14 17:34:09.112
[java] !MESSAGE Either the manifest file or the signature file has
been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile25866179671 50348418.jar
[java] !STACK 0
[java] java.security.SignatureException: Either the manifest file
or the signature file has been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile25866179671 50348418.jar
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.verifyManifestAndSignatureFile(SignatureBlockProcessor.j ava:154)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.processSigner(SignatureBlockProcessor.java:104)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.process(SignatureBlockProcessor.java:60)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleFile.set BundleFile(SignedBundleFile.java:47)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleHook.get SignedContent(SignedBundleHook.java:245)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verifyContent(SignatureVerifier.java:77)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verify(SignatureVerifier.java:59)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.close(SignatureVerifier.java:100)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.reportStatus(SimpleArtifactRepositor y.java:838)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.downloadArtifact(SimpleArtifactRepos itory.java:447)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:513)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transferSingle(MirrorRequest.java:169)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transfer(MirrorRequest.java:153)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.perform(MirrorRequest.java:94)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:502)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifacts(SimpleArtifactRepositor y.java:558)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:108)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:96)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completePhase(Collect.java:72)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:162)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:68)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:51)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:257)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:412)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:509)
[java] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 556)
[java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
[java] at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
[java] at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
[java]
[java] !ENTRY org.eclipse.osgi 4 0 2009-04-14 17:34:09.164
[java] !MESSAGE Either the manifest file or the signature file has
been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile46244257412 87687720.jar
[java] !STACK 0
[java] java.security.SignatureException: Either the manifest file
or the signature file has been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile46244257412 87687720.jar
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.verifyManifestAndSignatureFile(SignatureBlockProcessor.j ava:154)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.processSigner(SignatureBlockProcessor.java:104)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.process(SignatureBlockProcessor.java:60)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleFile.set BundleFile(SignedBundleFile.java:47)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleHook.get SignedContent(SignedBundleHook.java:245)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verifyContent(SignatureVerifier.java:77)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verify(SignatureVerifier.java:59)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.close(SignatureVerifier.java:100)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.reportStatus(SimpleArtifactRepositor y.java:838)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.downloadArtifact(SimpleArtifactRepos itory.java:447)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:513)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transferSingle(MirrorRequest.java:169)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transfer(MirrorRequest.java:153)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.perform(MirrorRequest.java:94)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:502)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifacts(SimpleArtifactRepositor y.java:558)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:108)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:96)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completePhase(Collect.java:72)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:162)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:68)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:51)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:257)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:412)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:509)
[java] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 556)
[java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
[java] at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
[java] at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
[java]
[java] !ENTRY org.eclipse.osgi 4 0 2009-04-14 17:34:09.216
[java] !MESSAGE Either the manifest file or the signature file has
been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile83840254105 68259577.jar
[java] !STACK 0
[java] java.security.SignatureException: Either the manifest file
or the signature file has been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile83840254105 68259577.jar
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.verifyManifestAndSignatureFile(SignatureBlockProcessor.j ava:154)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.processSigner(SignatureBlockProcessor.java:104)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.process(SignatureBlockProcessor.java:60)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleFile.set BundleFile(SignedBundleFile.java:47)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleHook.get SignedContent(SignedBundleHook.java:245)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verifyContent(SignatureVerifier.java:77)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verify(SignatureVerifier.java:59)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.close(SignatureVerifier.java:100)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.reportStatus(SimpleArtifactRepositor y.java:838)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.downloadArtifact(SimpleArtifactRepos itory.java:447)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:513)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transferSingle(MirrorRequest.java:169)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transfer(MirrorRequest.java:153)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.perform(MirrorRequest.java:94)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:502)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifacts(SimpleArtifactRepositor y.java:558)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:108)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:96)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completePhase(Collect.java:72)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:162)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:68)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:51)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:257)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:412)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:509)
[java] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 556)
[java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
[java] at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
[java] at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
[java]
[java] !ENTRY org.eclipse.osgi 4 0 2009-04-14 17:34:09.310
[java] !MESSAGE Either the manifest file or the signature file has
been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile21520669671 22439990.jar
[java] !STACK 0
[java] java.security.SignatureException: Either the manifest file
or the signature file has been tampered in this jar:
C:\Users\Wendell\AppData\Local\Temp\signatureFile21520669671 22439990.jar
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.verifyManifestAndSignatureFile(SignatureBlockProcessor.j ava:154)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.processSigner(SignatureBlockProcessor.java:104)
[java] at
org.eclipse.osgi.internal.signedcontent.SignatureBlockProces sor.process(SignatureBlockProcessor.java:60)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleFile.set BundleFile(SignedBundleFile.java:47)
[java] at
org.eclipse.osgi.internal.signedcontent.SignedBundleHook.get SignedContent(SignedBundleHook.java:245)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verifyContent(SignatureVerifier.java:77)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.verify(SignatureVerifier.java:59)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.Signatur eVerifier.close(SignatureVerifier.java:100)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.reportStatus(SimpleArtifactRepositor y.java:838)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.downloadArtifact(SimpleArtifactRepos itory.java:447)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:513)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transferSingle(MirrorRequest.java:169)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.transfer(MirrorRequest.java:153)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.MirrorRe quest.perform(MirrorRequest.java:94)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifact(SimpleArtifactRepository .java:502)
[java] at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.getArtifacts(SimpleArtifactRepositor y.java:558)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.fetch (DownloadManager.java:108)
[java] at
org.eclipse.equinox.internal.p2.engine.DownloadManager.start (DownloadManager.java:96)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.phases.Co llect.completePhase(Collect.java:72)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.pos tPerform(Phase.java:162)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Phase.per form(Phase.java:68)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.PhaseSet. perform(PhaseSet.java:44)
[java] at
org.eclipse.equinox.internal.provisional.p2.engine.Engine.pe rform(Engine.java:51)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.pla nAndExecute(Application.java:257)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.run (Application.java:412)
[java] at
org.eclipse.equinox.internal.p2.director.app.Application.sta rt(Application.java:509)
[java] at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
[java] at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
[java] at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
[java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[java] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
[java] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
[java] at java.lang.reflect.Method.invoke(Method.java:585)
[java] at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 556)
[java] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:511)
[java] at org.eclipse.equinox.launcher.Main.run(Main.java:1284)
[java] at org.eclipse.equinox.launcher.Main.main(Main.java:1260)
[java]


Wb
Re: PDE director throws signature exception [message #55069 is a reply to message #55041] Wed, 15 April 2009 02:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wbeckwith.gmail.com

From a better search in bugzilla, this looks like it may be the bug @
https://bugs.eclipse.org/bugs/show_bug.cgi?id=255518. I am using the
org.junit4 bundle however this does not have the test framework
involved. My target is an eclipse 3.5M6 + 3.5M6 delta pack + some orbit
bundles and a lot of 3rd party dependencies that I have created bundles for.

Wb
Re: PDE director throws signature exception [message #55474 is a reply to message #55069] Thu, 16 April 2009 02:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wbeckwith.gmail.com

It seems I had converted several signed jars to plug-ins by allowing
eclipse to extract their contents into the plug-in projects. By
recreating the plug-ins by wrapping the jars instead of extracting them,
this seems to have fixed the signature issues.

Wb
Re: PDE director throws signature exception [message #498380 is a reply to message #55474] Mon, 16 November 2009 16:57 Go to previous messageGo to next message
Rothmans is currently offline RothmansFriend
Messages: 37
Registered: July 2009
Member
Eclipse User wrote on Thu, 16 April 2009 04:25
Originally posted by: wbeckwith.gmail.com

It seems I had converted several signed jars to plug-ins by allowing
eclipse to extract their contents into the plug-in projects. By
recreating the plug-ins by wrapping the jars instead of extracting them,
this seems to have fixed the signature issues.

Wb


Could you please explain more detailed what have you done?
I built my RCP application against solid Eclipse base, which contained everything that I might ever needed for development and for the RCP I am building.
Now I have switched the build to build against pure Eclipse with needed plugins and the deltapack.

After I have conquered dependency issues caused presumably by a p2.category.site reference to the outdated site.xml file I am seeing the same error messages as you do.

I have an RCP application based on features:
1) main feature
2) lib feature containing plugin dependencies as is described in a tutorial for building feature based RCPs
3) RCP feature.

Here is an excerpt from the error:
     [java]      [echo] !ENTRY org.eclipse.equinox.p2.engine 4 4 2009-11-16 16:5
6:45.625
     [java]      [echo] !MESSAGE An error occurred while collecting items to be
installed
     [java]      [echo] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-11-16
 16:56:45.625
     [java]      [echo] !MESSAGE session context was:(profile=profile, phase=org
.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action
=).
     [java]      [echo] !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4
 0 2009-11-16 16:56:45.625
     [java]      [echo] !MESSAGE Problems downloading artifact: osgi.bundle,org.
eclipse.cdt.core.win32,5.1.0.200909110608.
     [java]      [echo] !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4
 4 2009-11-16 16:56:45.625
     [java]      [echo] !MESSAGE File has invalid content:C:\DOCUME~1\XCHE~1\L
OCALS~1\Temp\signatureFile3100130816885870977.jar
     [java]      [echo] !SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4
 0 2009-11-16 16:56:45.625
     [java]      [echo] !MESSAGE Invalid content:fragment.xml
     [java]      [echo] !STACK 0
     [java]      [echo] org.eclipse.osgi.signedcontent.InvalidContentException:
The file "fragment.xml" in the jar "C:\DOCUME~1\XCHE~1\LOCALS~1\Temp\signature
File3100130816885870977.jar" has been tampered!
     [java]      [echo]
     [java]      [echo] !ENTRY org.eclipse.equinox.p2.engine 4 4 2009-11-16 17:2
2:49.637
     [java]      [echo] !MESSAGE An error occurred while collecting items to be
installed
     [java]      [echo] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-11-16
 17:22:49.637
     [java]      [echo] !MESSAGE session context was:(profile=profile, phase=org
.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action
=).
     [java]      [echo] !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4
 0 2009-11-16 17:22:49.637
     [java]      [echo] !MESSAGE Problems downloading artifact: osgi.bundle,org.
eclipse.cdt.core.win32,5.1.0.200909110608.
     [java]      [echo] !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4
 4 2009-11-16 17:22:49.637
     [java]      [echo] !MESSAGE File has invalid content:C:\DOCUME~1\XCHE~1\L
OCALS~1\Temp\signatureFile3547465801273756987.jar
     [java]      [echo] !SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4
 0 2009-11-16 17:22:49.637
     [java]      [echo] !MESSAGE Invalid content:fragment.xml
     [java]      [echo] !STACK 0
     [java]      [echo] org.eclipse.osgi.signedcontent.InvalidContentException:
The file "fragment.xml" in the jar "C:\DOCUME~1\XCHE~1\LOCALS~1\Temp\signature
File3547465801273756987.jar" has been tampered!
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.verifyDigests(DigestedInputStream.java:102)
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.read(DigestedInputStream.java:129)
     [java]      [echo]         at org.eclipse.osgi.baseadaptor.bundlefile.Bundl
eEntry.getBytes(BundleEntry.java:102)
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Signe
dContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:167)
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Signe
dContentFile.getSignedEntries(SignedContentFile.java:51)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verifyContent(SignatureVerifier.java:82)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verify(SignatureVerifier.java:59)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.close(SignatureVerifier.java:100)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.reportStatus(SimpleArtifactRepository.jav
a:843)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository
.java:452)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java
:518)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.getArtifact(MirrorRequest.java:200)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transferSingle(MirrorRequest.java:175)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transfer(MirrorRequest.java:159)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.perform(MirrorRequest.java:95)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java
:507)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.jav
a:563)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.fetch(DownloadManager.java:109)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.start(DownloadManager.java:97)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.phases.Collect.completePhase(Collect.java:73)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.postPerform(Phase.java:195)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.perform(Phase.java:78)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.PhaseSet.perform(PhaseSet.java:44)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.Engine.perform(Engine.java:54)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:41)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:23)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.director.app.
Application.planAndExecute(Application.java:265)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.director.app.
Application.run(Application.java:434)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.director.app.
Application.start(Application.java:536)
     [java]      [echo]         at org.eclipse.equinox.internal.app.EclipseAppHa
ndle.run(EclipseAppHandle.java:194)
     [java]      [echo]         at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     [java]      [echo]         at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.start(EclipseAppLauncher.java:79)
     [java]      [echo]         at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:368)
     [java]      [echo]         at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:179)
     [java]      [echo]         at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
     [java]      [echo]         at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
     [java]      [echo]         at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
     [java]      [echo]         at java.lang.reflect.Method.invoke(Method.java:5
97)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.invokeFrame
work(Main.java:559)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.basicRun(Ma
in.java:514)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.run(Main.ja
va:1311)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.main(Main.j
ava:1287)
     [java]      [echo] !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4
 0 2009-11-16 17:22:49.637
     [java]      [echo] !MESSAGE Problems downloading artifact: org.eclipse.upda
te.feature,org.eclipse.rcp,3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6.
     [java]      [echo] !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4
 4 2009-11-16 17:22:49.637
     [java]      [echo] !MESSAGE File has invalid content:C:\DOCUME~1\XCHE~1\L
OCALS~1\Temp\signatureFile3840778583052561179.jar
     [java]      [echo] !SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4
 0 2009-11-16 17:22:49.637
     [java]      [echo] !MESSAGE Invalid content:feature.xml
     [java]      [echo] !STACK 0
     [java]      [echo] org.eclipse.osgi.signedcontent.InvalidContentException:
The file "feature.xml" in the jar "C:\DOCUME~1\XCHE~1\LOCALS~1\Temp\signatureF
ile3840778583052561179.jar" has been tampered!
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.verifyDigests(DigestedInputStream.java:102)
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.read(DigestedInputStream.java:129)
     [java]      [echo]         at org.eclipse.osgi.baseadaptor.bundlefile.Bundl
eEntry.getBytes(BundleEntry.java:102)
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Signe
dContentImpl$SignedContentEntryImpl.verify(SignedContentImpl.java:167)
     [java]      [echo]         at org.eclipse.osgi.internal.signedcontent.Signe
dContentFile.getSignedEntries(SignedContentFile.java:51)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verifyContent(SignatureVerifier.java:82)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verify(SignatureVerifier.java:59)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.close(SignatureVerifier.java:100)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.a
rtifact.repository.processing.ProcessingStep.close(ProcessingStep.java:83)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.a
rtifact.repository.processing.ZipVerifierStep.close(ZipVerifierStep.java:41)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.reportStatus(SimpleArtifactRepository.jav
a:843)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.downloadArtifact(SimpleArtifactRepository
.java:452)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java
:518)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.getArtifact(MirrorRequest.java:200)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transferSingle(MirrorRequest.java:175)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transfer(MirrorRequest.java:159)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.perform(MirrorRequest.java:95)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java
:507)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.jav
a:563)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.fetch(DownloadManager.java:109)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.start(DownloadManager.java:97)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.phases.Collect.completePhase(Collect.java:73)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.postPerform(Phase.java:195)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.perform(Phase.java:78)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.PhaseSet.perform(PhaseSet.java:44)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.e
ngine.Engine.perform(Engine.java:54)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:41)
     [java]      [echo]         at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper.java:23)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.director.app.
Application.planAndExecute(Application.java:265)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.director.app.
Application.run(Application.java:434)
     [java]      [echo]         at org.eclipse.equinox.internal.p2.director.app.
Application.start(Application.java:536)
     [java]      [echo]         at org.eclipse.equinox.internal.app.EclipseAppHa
ndle.run(EclipseAppHandle.java:194)
     [java]      [echo]         at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
     [java]      [echo]         at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.start(EclipseAppLauncher.java:79)
     [java]      [echo]         at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:368)
     [java]      [echo]         at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:179)
     [java]      [echo]         at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
     [java]      [echo]         at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
     [java]      [echo]         at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
     [java]      [echo]         at java.lang.reflect.Method.invoke(Method.java:5
97)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.invokeFrame
work(Main.java:559)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.basicRun(Ma
in.java:514)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.run(Main.ja
va:1311)
     [java]      [echo]         at org.eclipse.equinox.launcher.Main.main(Main.j
ava:1287)
     [java]
     [java] logDirectorCall:
     [java]
     [java] BUILD FAILED


Re: PDE director throws signature exception [message #498508 is a reply to message #55041] Tue, 17 November 2009 10:13 Go to previous messageGo to next message
Rothmans is currently offline RothmansFriend
Messages: 37
Registered: July 2009
Member
All right, have read the referenced bug description.

Looks like the problem occurs only for the standard Eclipse plugins that are unpacked in my target eclipse platform folder (I am using raw Eclipse CDT distribution).

So the unpacked plugins, which are not signed according to the Eclipse documentation (in contrast to the jared plugins) get jared during the build and put to the p2.build.repo repository.
They land unsigned there and this poses the problem while gathering the application.

If I add
jarProcessor.unsign=true
signJars=true
to the main build.properties file the build succeeds.
(But, as I understand, the original Eclipse signatures get replaced with my own)
Re: PDE director throws signature exception [message #595147 is a reply to message #55041] Wed, 15 April 2009 02:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wbeckwith.gmail.com

From a better search in bugzilla, this looks like it may be the bug @
https://bugs.eclipse.org/bugs/show_bug.cgi?id=255518 I am using the
org.junit4 bundle however this does not have the test framework
involved. My target is an eclipse 3.5M6 + 3.5M6 delta pack + some orbit
bundles and a lot of 3rd party dependencies that I have created bundles for.

Wb
Re: PDE director throws signature exception [message #595329 is a reply to message #55069] Thu, 16 April 2009 02:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wbeckwith.gmail.com

It seems I had converted several signed jars to plug-ins by allowing
eclipse to extract their contents into the plug-in projects. By
recreating the plug-ins by wrapping the jars instead of extracting them,
this seems to have fixed the signature issues.

Wb
Re: PDE director throws signature exception [message #603353 is a reply to message #55474] Mon, 16 November 2009 16:57 Go to previous messageGo to next message
Rothmans is currently offline RothmansFriend
Messages: 37
Registered: July 2009
Member
Eclipse User wrote on Thu, 16 April 2009 04:25
> Originally posted by: wbeckwith.gmail.com
>
> It seems I had converted several signed jars to plug-ins by allowing
> eclipse to extract their contents into the plug-in projects. By
> recreating the plug-ins by wrapping the jars instead of extracting them,
> this seems to have fixed the signature issues.
>
> Wb


Could you please explain more detailed what have you done?
I built my RCP application against solid Eclipse base, which contained everything that I might ever needed for development and for the RCP I am building.
Now I have switched the build to build against pure Eclipse with needed plugins and the deltapack.

After I have conquered dependency issues caused presumably by a p2.category.site reference to the outdated site.xml file I am seeing the same error messages as you do.

I have an RCP application based on features:
1) main feature
2) lib feature containing plugin dependencies as is described in a tutorial for building feature based RCPs
3) RCP feature.

Here is an excerpt from the error:

[java] [echo] !ENTRY org.eclipse.equinox.p2.engine 4 4 2009-11-16 16:5
6:45.625
[java] [echo] !MESSAGE An error occurred while collecting items to be
installed
[java] [echo] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-11-16
16:56:45.625
[java] [echo] !MESSAGE session context was:(profile=profile, phase=org
eclipse.equinox.internal.provisional.p2.engine.phases.Collec t, operand=, action
=).
[java] [echo] !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4
0 2009-11-16 16:56:45.625
[java] [echo] !MESSAGE Problems downloading artifact: osgi.bundle,org.
eclipse.cdt.core.win32,5.1.0.200909110608.
[java] [echo] !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4
4 2009-11-16 16:56:45.625
[java] [echo] !MESSAGE File has invalid content:C:\DOCUME~1\XCHE~1\L
OCALS~1\Temp\signatureFile3100130816885870977.jar
[java] [echo] !SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4
0 2009-11-16 16:56:45.625
[java] [echo] !MESSAGE Invalid content:fragment.xml
[java] [echo] !STACK 0
[java] [echo] org.eclipse.osgi.signedcontent.InvalidContentException:
The file "fragment.xml" in the jar "C:\DOCUME~1\XCHE~1\LOCALS~1\Temp\signature
File3100130816885870977.jar" has been tampered!
[java] [echo]
[java] [echo] !ENTRY org.eclipse.equinox.p2.engine 4 4 2009-11-16 17:2
2:49.637
[java] [echo] !MESSAGE An error occurred while collecting items to be
installed
[java] [echo] !SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-11-16
17:22:49.637
[java] [echo] !MESSAGE session context was:(profile=profile, phase=org
eclipse.equinox.internal.provisional.p2.engine.phases.Collec t, operand=, action
=).
[java] [echo] !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4
0 2009-11-16 17:22:49.637
[java] [echo] !MESSAGE Problems downloading artifact: osgi.bundle,org.
eclipse.cdt.core.win32,5.1.0.200909110608.
[java] [echo] !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4
4 2009-11-16 17:22:49.637
[java] [echo] !MESSAGE File has invalid content:C:\DOCUME~1\XCHE~1\L
OCALS~1\Temp\signatureFile3547465801273756987.jar
[java] [echo] !SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4
0 2009-11-16 17:22:49.637
[java] [echo] !MESSAGE Invalid content:fragment.xml
[java] [echo] !STACK 0
[java] [echo] org.eclipse.osgi.signedcontent.InvalidContentException:
The file "fragment.xml" in the jar "C:\DOCUME~1\XCHE~1\LOCALS~1\Temp\signature
File3547465801273756987.jar" has been tampered!
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.verifyDigests(DigestedInputStream.java:102)
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.read(DigestedInputStream.java:129)
[java] [echo] at org.eclipse.osgi.baseadaptor.bundlefile.Bundl
eEntry.getBytes(BundleEntry.java:102)
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Signe
dContentImpl$SignedContentEntryImpl.verify(SignedContentImpl .java:167)
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Signe
dContentFile.getSignedEntries(SignedContentFile.java:51)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verifyContent(SignatureVerifier.jav a:82)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verify(SignatureVerifier.java:59)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.close(SignatureVerifier.java:100)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.reportStatus(SimpleAr tifactRepository.jav
a:843)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.downloadArtifact(Simp leArtifactRepository
java:452)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArt ifactRepository.java
:518)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.getArtifact(MirrorRequest.java:200)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transferSingle(MirrorRequest.java:175)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transfer(MirrorRequest.java:159)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.perform(MirrorRequest.java:95)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArt ifactRepository.java
:507)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifacts(SimpleAr tifactRepository.jav
a:563)
[java] [echo] at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.fetch(DownloadManager.java:109)
[java] [echo] at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.start(DownloadManager.java:97)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.phases.Collect.completePhase(Collect.java:73)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.postPerform(Phase.java:195)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.perform(Phase.java:78)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.PhaseSet.perform(PhaseSet.java:44)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.Engine.perform(Engine.java:54)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper. java:41)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper. java:23)
[java] [echo] at org.eclipse.equinox.internal.p2.director.app.
Application.planAndExecute(Application.java:265)
[java] [echo] at org.eclipse.equinox.internal.p2.director.app.
Application.run(Application.java:434)
[java] [echo] at org.eclipse.equinox.internal.p2.director.app.
Application.start(Application.java:536)
[java] [echo] at org.eclipse.equinox.internal.app.EclipseAppHa
ndle.run(EclipseAppHandle.java:194)
[java] [echo] at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[java] [echo] at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.start(EclipseAppLauncher.java:79)
[java] [echo] at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:368)
[java] [echo] at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:179)
[java] [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
[java] [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
[java] [echo] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
[java] [echo] at java.lang.reflect.Method.invoke(Method.java:5
97)
[java] [echo] at org.eclipse.equinox.launcher.Main.invokeFrame
work(Main.java:559)
[java] [echo] at org.eclipse.equinox.launcher.Main.basicRun(Ma
in.java:514)
[java] [echo] at org.eclipse.equinox.launcher.Main.run(Main.ja
va:1311)
[java] [echo] at org.eclipse.equinox.launcher.Main.main(Main.j
ava:1287)
[java] [echo] !SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4
0 2009-11-16 17:22:49.637
[java] [echo] !MESSAGE Problems downloading artifact: org.eclipse.upda
te.feature,org.eclipse.rcp,3.5.1.R35x_v20090811-9SA0FxVFqE70 OL1ARMrfcO6e7BA6.
[java] [echo] !SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4
4 2009-11-16 17:22:49.637
[java] [echo] !MESSAGE File has invalid content:C:\DOCUME~1\XCHE~1\L
OCALS~1\Temp\signatureFile3840778583052561179.jar
[java] [echo] !SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4
0 2009-11-16 17:22:49.637
[java] [echo] !MESSAGE Invalid content:feature.xml
[java] [echo] !STACK 0
[java] [echo] org.eclipse.osgi.signedcontent.InvalidContentException:
The file "feature.xml" in the jar "C:\DOCUME~1\XCHE~1\LOCALS~1\Temp\signatureF
ile3840778583052561179.jar" has been tampered!
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.verifyDigests(DigestedInputStream.java:102)
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Diges
tedInputStream.read(DigestedInputStream.java:129)
[java] [echo] at org.eclipse.osgi.baseadaptor.bundlefile.Bundl
eEntry.getBytes(BundleEntry.java:102)
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Signe
dContentImpl$SignedContentEntryImpl.verify(SignedContentImpl .java:167)
[java] [echo] at org.eclipse.osgi.internal.signedcontent.Signe
dContentFile.getSignedEntries(SignedContentFile.java:51)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verifyContent(SignatureVerifier.jav a:82)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.verify(SignatureVerifier.java:59)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.SignatureVerifier.close(SignatureVerifier.java:100)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.a
rtifact.repository.processing.ProcessingStep.close(Processin gStep.java:83)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.a
rtifact.repository.processing.ZipVerifierStep.close(ZipVerif ierStep.java:41)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.reportStatus(SimpleAr tifactRepository.jav
a:843)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.downloadArtifact(Simp leArtifactRepository
java:452)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArt ifactRepository.java
:518)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.getArtifact(MirrorRequest.java:200)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transferSingle(MirrorRequest.java:175)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.transfer(MirrorRequest.java:159)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.MirrorRequest.perform(MirrorRequest.java:95)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifact(SimpleArt ifactRepository.java
:507)
[java] [echo] at org.eclipse.equinox.internal.p2.artifact.repo
sitory.simple.SimpleArtifactRepository.getArtifacts(SimpleAr tifactRepository.jav
a:563)
[java] [echo] at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.fetch(DownloadManager.java:109)
[java] [echo] at org.eclipse.equinox.internal.p2.engine.Downlo
adManager.start(DownloadManager.java:97)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.phases.Collect.completePhase(Collect.java:73)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.postPerform(Phase.java:195)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.Phase.perform(Phase.java:78)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.PhaseSet.perform(PhaseSet.java:44)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.e
ngine.Engine.perform(Engine.java:54)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper. java:41)
[java] [echo] at org.eclipse.equinox.internal.provisional.p2.d
irector.PlanExecutionHelper.executePlan(PlanExecutionHelper. java:23)
[java] [echo] at org.eclipse.equinox.internal.p2.director.app.
Application.planAndExecute(Application.java:265)
[java] [echo] at org.eclipse.equinox.internal.p2.director.app.
Application.run(Application.java:434)
[java] [echo] at org.eclipse.equinox.internal.p2.director.app.
Application.start(Application.java:536)
[java] [echo] at org.eclipse.equinox.internal.app.EclipseAppHa
ndle.run(EclipseAppHandle.java:194)
[java] [echo] at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
[java] [echo] at org.eclipse.core.runtime.internal.adaptor.Ecl
ipseAppLauncher.start(EclipseAppLauncher.java:79)
[java] [echo] at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:368)
[java] [echo] at org.eclipse.core.runtime.adaptor.EclipseStart
er.run(EclipseStarter.java:179)
[java] [echo] at sun.reflect.NativeMethodAccessorImpl.invoke0(
Native Method)
[java] [echo] at sun.reflect.NativeMethodAccessorImpl.invoke(N
ativeMethodAccessorImpl.java:39)
[java] [echo] at sun.reflect.DelegatingMethodAccessorImpl.invo
ke(DelegatingMethodAccessorImpl.java:25)
[java] [echo] at java.lang.reflect.Method.invoke(Method.java:5
97)
[java] [echo] at org.eclipse.equinox.launcher.Main.invokeFrame
work(Main.java:559)
[java] [echo] at org.eclipse.equinox.launcher.Main.basicRun(Ma
in.java:514)
[java] [echo] at org.eclipse.equinox.launcher.Main.run(Main.ja
va:1311)
[java] [echo] at org.eclipse.equinox.launcher.Main.main(Main.j
ava:1287)
[java]
[java] logDirectorCall:
[java]
[java] BUILD FAILED
Re: PDE director throws signature exception [message #603362 is a reply to message #55041] Tue, 17 November 2009 10:13 Go to previous message
Rothmans is currently offline RothmansFriend
Messages: 37
Registered: July 2009
Member
All right, have read the referenced bug description.

Looks like the problem occurs only for the standard Eclipse plugins that are unpacked in my target eclipse platform folder (I am using raw Eclipse CDT distribution).

So the unpacked plugins, which are not signed according to the Eclipse documentation (in contrast to the jared plugins) get jared during the build and put to the p2.build.repo repository.
They land unsigned there and this poses the problem while gathering the application.

If I add
jarProcessor.unsign=true
signJars=true
to the main build.properties file the build succeeds.
(But, as I understand, the original Eclipse signatures get replaced with my own)
Previous Topic:databinding.observable and databinding.property missing after headless build
Next Topic:ToggleState default value
Goto Forum:
  


Current Time: Mon Dec 22 23:43:53 GMT 2014

Powered by FUDForum. Page generated in 0.02218 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software