Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] InvalidContentException

I don't know how I would have tampered files. How can I avoid this?
Or how can I add another repository? I tried to install my RCP with following command:

${ECLIPSE} \
 -nosplash \
 -application org.eclipse.equinox.p2.director.app.application \
 -metadataRepository ${UPDATE_LOCATION} \
 -artifactRepository ${UPDATE_LOCATION} \
 -installIU com.sigasi.hdt.rcp.product \
 -destination ${INSTALL_DIR} \
 -profile HDTProfile \
 -profileProperties org.eclipse.update.install.features=true \
 -bundlepool ${INSTALL_DIR} \
 -p2.os linux \
 -p2.ws gtk \
 -p2.arch x86 \
 -roaming \
 -vmArgs \
   -Declipse.p2.data.area=${INSTALL_DIR}/p2

Kind regards,
Hendrik.

Op 19 Sep 2008, om 15:19 heeft Pascal Rapicault het volgende geschreven:

This likely results from an attempt at installing content using an install where the content has been tempered.
For example if I have an install, change some files in it and then install from it, then the bundles that have been modified will cause such an error to occur (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=241596 for an example of the EPP packages).
If you add another repository (probably Ganymede) then the install should succeed.
HTH
PaScaL

<graycol.gif>Hendrik Eeckhaut ---19/09/2008 05:15:34 AM---Hi all, when trying to install my RCP application from a p2-repository I

<ecblank.gif>
From:
<ecblank.gif>
Hendrik Eeckhaut <hendrik.eeckhaut@xxxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>
P2 developer discussions <p2-dev@xxxxxxxxxxx>
<ecblank.gif>
Date:
<ecblank.gif>
19/09/2008 05:15 AM
<ecblank.gif>
Subject:
<ecblank.gif>
[p2-dev] InvalidContentException





Hi all,
when trying to install my RCP application from a p2-repository I  
encountered following exception:
Any idea how to resolve this? (The repository was generated from  
within Eclipse with the Eclipse product export wizard)
Thanks,
Hendrik.
!ENTRY org.eclipse.equinox.p2.engine 4 4 2008-09-19 10:40:48.794
!MESSAGE An error occurred while collecting items to be installed
!SUBENTRY 1 org.eclipse.equinox.p2.artifact.repository 4 0 2008-09-19  
10:40:48.795

!MESSAGE Problems downloading artifact:  
osgi.bundle,org.eclipse.platform,3.3.100.v200806172000.
!SUBENTRY 2 org.eclipse.core.runtime 0 0 2008-09-19 10:40:48.795
!MESSAGE OK
!SUBENTRY 2 org.eclipse.equinox.p2.artifact.repository 4 4 2008-09-19  
10:40:48.795

!MESSAGE File has invalid content: /tmp/signatureFile34736.jar
!SUBENTRY 3 org.eclipse.equinox.p2.artifact.repository 4 0 2008-09-19  
10:40:48.795
!MESSAGE
Invalid content: plugin_customization.ini
!STACK 0
org.eclipse.osgi.signedcontent.InvalidContentException: The file  
"plugin_customization.ini" in the jar "/tmp/signatureFile34736.jar"  
has been tampered!

at  
org
.eclipse
.osgi
.internal
.signedcontent
.DigestedInputStream.verifyDigests(DigestedInputStream.java:102)
at  
org
.eclipse
.osgi
.internal
.signedcontent.DigestedInputStream.read(DigestedInputStream.java:129)
at  
org
.eclipse
.osgi.baseadaptor.bundlefile.BundleEntry.getBytes(BundleEntry.java:102)

at org.eclipse.osgi.internal.signedcontent.SignedContentImpl
$SignedContentEntryImpl.verify(SignedContentImpl.java:167)
at  
org
.eclipse
.osgi
.internal
.signedcontent
.SignedContentFile.getSignedEntries(SignedContentFile.java:51)

at  
org
.eclipse
.equinox
.internal
.p2
.artifact
.repository.SignatureVerifier.verifyContent(SignatureVerifier.java:82)
at  
org
.eclipse
.equinox
.internal
.p2
.artifact.repository.SignatureVerifier.verify(SignatureVerifier.java:59)

at  
org
.eclipse
.equinox
.internal
.p2.artifact.repository.SignatureVerifier.close(SignatureVerifier.java:
100)
at  
org
.eclipse
.equinox
.internal
.p2
.artifact
.repository
.simple
.SimpleArtifactRepository.reportStatus(SimpleArtifactRepository.java:
791)

at  
org
.eclipse
.equinox
.internal
.p2
.artifact
.repository
.simple
.SimpleArtifactRepository
.downloadArtifact(SimpleArtifactRepository.java:417)
at  
org
.eclipse
.equinox
.internal
.p2
.artifact
.repository
.simple
.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:490)

at  
org
.eclipse
.equinox
.internal
.p2
.artifact.repository.MirrorRequest.transferSingle(MirrorRequest.java:
162)
at  
org
.eclipse
.equinox
.internal
.p2.artifact.repository.MirrorRequest.transfer(MirrorRequest.java:146)
at  
org
.eclipse
.equinox
.internal
.p2.artifact.repository.MirrorRequest.perform(MirrorRequest.java:94)

at  
org
.eclipse
.equinox
.internal
.p2
.artifact
.repository
.simple
.SimpleArtifactRepository.getArtifact(SimpleArtifactRepository.java:479)
at  
org
.eclipse
.equinox
.internal
.p2
.artifact
.repository
.simple
.SimpleArtifactRepository.getArtifacts(SimpleArtifactRepository.java:
536)

at  
org
.eclipse
.equinox.internal.p2.engine.DownloadManager.fetch(DownloadManager.java:
105)
at  
org
.eclipse
.equinox.internal.p2.engine.DownloadManager.start(DownloadManager.java:
93)
at  
org
.eclipse
.equinox
.internal
.provisional
.p2.engine.phases.Collect.completeInstallableUnitPhase(Collect.java:56)

at  
org
.eclipse
.equinox
.internal
.provisional
.p2
.engine.InstallableUnitPhase.completePhase(InstallableUnitPhase.java:79)
at  
org
.eclipse
.equinox.internal.provisional.p2.engine.Phase.postPerform(Phase.java:
143)
at  
org
.eclipse
.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:85)

at  
org
.eclipse
.equinox
.internal
.provisional
.p2.engine.InstallableUnitPhase.perform(InstallableUnitPhase.java:53)
at  
org
.eclipse
.equinox.internal.provisional.p2.engine.Phase.perform(Phase.java:46)
at  
org
.eclipse
.equinox.internal.provisional.p2.engine.PhaseSet.perform(PhaseSet.java:
38)

at  
org
.eclipse
.equinox.internal.provisional.p2.engine.Engine.perform(Engine.java:53)
at  
org
.eclipse
.equinox
.internal.p2.director.app.Application.planAndExecute(Application.java:
213)
at  
org
.eclipse
.equinox.internal.p2.director.app.Application.run(Application.java:365)

at  
org
.eclipse
.equinox.internal.p2.director.app.Application.start(Application.java:
423)
at  
org
.eclipse
.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at  
org
.eclipse
.core
.runtime
.internal
.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)

at  
org
.eclipse
.core
.runtime
.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at  
org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
382)
at  
org
.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at  
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
at  
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)

at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
at org.eclipse.equinox.launcher.Main.run(Main.java:1236)

!SUBENTRY 2 org.eclipse.core.runtime 0 0 2008-09-19 10:40:48.795
!MESSAGE OK
_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev



_______________________________________________
p2-dev mailing list
p2-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/p2-dev


Back to the top