Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Error updating product with p2
Error updating product with p2 [message #135602] Wed, 15 July 2009 17:20 Go to next message
Eclipse UserFriend
Originally posted by: gaston.tonietti.teracode.com

Hi all,

I got my build with p2 repository generation working following the blog "Building p2 RCP products in Eclipse 3.5M6" which uses PDE Build and I added standard p2 ui components following this one
"Equinox/p2/Adding Self-Update to an RCP Application"

The problem I have is:
I build the product and the repository for version 1.0.0, I launch the application (extracted in a separate folder obviously) then I bump the version to 1.0.1, rebuild all and run a check for updates in the
application.
The needed update is recognized perfectly, but when I accept, the update operation fails with the following error:

An error occurred while collecting items to be installed
session context was:(profile=profile, phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect, operand=[R]com.tc.bom.domain 0.9.90.M09 --> [R]com.tc.bom.domain 0.9.90.M10, action=).
The required Touchpoint: org.eclipse.equinox.p2.osgi 1.0.0 touchpoint for the collect action is not included in the installation manager configuration.
The required Touchpoint: org.eclipse.equinox.p2.osgi 1.0.0 touchpoint for the collect action is not included in the installation manager configuration.

com.tc.bom.domain is one of the plug-ins included in the product, could you please point me out how to solve this problem? Is it related to the build or I am doing something wrong?

Tanks a lot.
Gaston.
Re: Error updating product with p2 [message #135658 is a reply to message #135602] Thu, 16 July 2009 12:30 Go to previous messageGo to next message
Laurent Marchal is currently offline Laurent MarchalFriend
Messages: 91
Registered: July 2009
Member
Hi Gaston,

It seems the org.eclipse.equinox.p2.osgi touchpoint is missing in your
application. Be sure you have all the needed p2 plugins in your RCP app:
- If you use a feature based product, add the
org.eclipse.equinox.p2.user.ui feature that contains all the p2 needed
plugins (you need to add the org.apache.commons.logging plugin too).

- If you have a plugin based product add all these plugins :

<plugin
id="org.eclipse.equinox.p2.director"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.core"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.engine"
download-size="0"
install-size="0"
version="1.0.100.v20090525"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.jarprocessor"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.metadata"
download-size="0"
install-size="0"
version="1.0.100.v20090525"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.metadata.repository"
download-size="0"
install-size="0"
version="1.0.100.v20090525"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.artifact.repository"
download-size="0"
install-size="0"
version="1.0.100.v20090527-1812"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.exemplarysetup"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.touchpoint.eclipse"
download-size="0"
install-size="0"
version="1.0.100.v20090611-1224"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.touchpoint.natives"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.frameworkadmin"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.frameworkadmin.equinox"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.console"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.simpleconfigurator.manipulator"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.ui"
download-size="0"
install-size="0"
version="1.0.100.v20090527-1812"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.ui.sdk"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.ui.sdk.scheduler"
download-size="0"
install-size="0"
version="1.0.0.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.updatechecker"
download-size="0"
install-size="0"
version="1.1.0.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.garbagecollector"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.directorywatcher"
download-size="0"
install-size="0"
version="1.0.100.v20090525"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.reconciler.dropins"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.metadata.generator"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.updatesite"
download-size="0"
install-size="0"
version="1.0.100.v20090525"
unpack="false"/>

<plugin
id="org.sat4j.core"
download-size="0"
install-size="0"
version="2.1.0.v20090520"
unpack="false"/>

<plugin
id="org.sat4j.pb"
download-size="0"
install-size="0"
version="2.1.0.v20090520"
unpack="false"/>

<plugin
id="org.eclipse.equinox.security"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1800"
unpack="false"/>

<plugin
id="org.eclipse.equinox.security.ui"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1800"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.extensionlocation"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.director.app"
download-size="0"
install-size="0"
version="1.0.100.v20090521-1912"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.publisher"
download-size="0"
install-size="0"
version="1.0.0.v20090527-1812"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.repository.tools"
download-size="0"
install-size="0"
version="1.0.0.v20090527-1812"
unpack="false"/>

<plugin
id="org.eclipse.equinox.p2.repository"
download-size="0"
install-size="0"
version="1.0.0.v20090601-1921"
unpack="false"/>

<plugin
id="org.eclipse.ecf"
download-size="0"
install-size="0"
version="3.0.0.v20090604-1131"
unpack="false"/>

<plugin
id="org.eclipse.ecf.filetransfer"
download-size="0"
install-size="0"
version="3.0.0.v20090604-1131"
unpack="false"/>

<plugin
id="org.eclipse.ecf.identity"
download-size="0"
install-size="0"
version="3.0.0.v20090604-1131"
unpack="false"/>

<plugin
id="org.eclipse.ecf.provider.filetransfer"
download-size="0"
install-size="0"
version="3.0.0.v20090604-1131"
unpack="false"/>

<plugin
id="org.eclipse.ecf.provider.filetransfer.ssl"
download-size="0"
install-size="0"
version="1.0.0.v20090604-1131"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.ecf.provider.filetransfer.httpclient"
download-size="0"
install-size="0"
version="3.0.0.v20090604-1131"
unpack="false"/>

<plugin
id="org.eclipse.ecf.provider.filetransfer.httpclient.ssl"
download-size="0"
install-size="0"
version="1.0.0.v20090604-1131"
fragment="true"
unpack="false"/>

<plugin
id="org.eclipse.ecf.ssl"
download-size="0"
install-size="0"
version="1.0.0.v20090604-1131"
fragment="true"
unpack="false"/>

<plugin
id="org.apache.commons.codec"
download-size="0"
install-size="0"
version="1.3.0.v20080530-1600"
unpack="false"/>

<plugin
id="org.apache.commons.httpclient"
download-size="0"
install-size="0"
version="3.1.0.v20080605-1935"
unpack="false"/>

<plugin
id="org.apache.commons.logging"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

Hope this helps.
Laurent Marchal.

Gaston M. Tonietti a écrit :
> Hi all,
>
> I got my build with p2 repository generation working following the blog "Building p2 RCP products in Eclipse 3.5M6" which uses PDE Build and I added standard p2 ui components following this one
> "Equinox/p2/Adding Self-Update to an RCP Application"
>
> The problem I have is:
> I build the product and the repository for version 1.0.0, I launch the application (extracted in a separate folder obviously) then I bump the version to 1.0.1, rebuild all and run a check for updates in the
> application.
> The needed update is recognized perfectly, but when I accept, the update operation fails with the following error:
>
> An error occurred while collecting items to be installed
> session context was:(profile=profile, phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect, operand=[R]com.tc.bom.domain 0.9.90.M09 --> [R]com.tc.bom.domain 0.9.90.M10, action=).
> The required Touchpoint: org.eclipse.equinox.p2.osgi 1.0.0 touchpoint for the collect action is not included in the installation manager configuration.
> The required Touchpoint: org.eclipse.equinox.p2.osgi 1.0.0 touchpoint for the collect action is not included in the installation manager configuration.
>
> com.tc.bom.domain is one of the plug-ins included in the product, could you please point me out how to solve this problem? Is it related to the build or I am doing something wrong?
>
> Tanks a lot.
> Gaston.
Re: Error updating product with p2 [message #135811 is a reply to message #135658] Fri, 17 July 2009 20:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gaston.tonietti.teracode.com

Thanks a lot!
Just as you said, it was a matter of missing plug-ins, optional dependencies
were not included in the built product.

Now it is working perfectly! what a nice piece of software p2 when you
finally make it work :-)

Gaston.

Laurent Marchal wrote:

> Hi Gaston,
>
> It seems the org.eclipse.equinox.p2.osgi touchpoint is missing in your
> application. Be sure you have all the needed p2 plugins in your RCP app:
> - If you use a feature based product, add the
> org.eclipse.equinox.p2.user.ui feature that contains all the p2 needed
> plugins (you need to add the org.apache.commons.logging plugin too).
>
> - If you have a plugin based product add all these plugins :
>
> <plugin
> id="org.eclipse.equinox.p2.director"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.core"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.engine"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090525"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.jarprocessor"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.metadata"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090525"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.metadata.repository"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090525"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.artifact.repository"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090527-1812"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.exemplarysetup"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.touchpoint.eclipse"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090611-1224"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.touchpoint.natives"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.frameworkadmin"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.frameworkadmin.equinox"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.console"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.simpleconfigurator.manipulator"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.ui"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090527-1812"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.ui.sdk"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.ui.sdk.scheduler"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.updatechecker"
> download-size="0"
> install-size="0"
> version="1.1.0.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.garbagecollector"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.directorywatcher"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090525"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.reconciler.dropins"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.metadata.generator"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.updatesite"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090525"
> unpack="false"/>
>
> <plugin
> id="org.sat4j.core"
> download-size="0"
> install-size="0"
> version="2.1.0.v20090520"
> unpack="false"/>
>
> <plugin
> id="org.sat4j.pb"
> download-size="0"
> install-size="0"
> version="2.1.0.v20090520"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.security"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1800"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.security.ui"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1800"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.extensionlocation"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090520-1905"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.director.app"
> download-size="0"
> install-size="0"
> version="1.0.100.v20090521-1912"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.publisher"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090527-1812"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.repository.tools"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090527-1812"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.equinox.p2.repository"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090601-1921"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf"
> download-size="0"
> install-size="0"
> version="3.0.0.v20090604-1131"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.filetransfer"
> download-size="0"
> install-size="0"
> version="3.0.0.v20090604-1131"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.identity"
> download-size="0"
> install-size="0"
> version="3.0.0.v20090604-1131"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.provider.filetransfer"
> download-size="0"
> install-size="0"
> version="3.0.0.v20090604-1131"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.provider.filetransfer.ssl"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090604-1131"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.provider.filetransfer.httpclient"
> download-size="0"
> install-size="0"
> version="3.0.0.v20090604-1131"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.provider.filetransfer.httpclient.ssl"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090604-1131"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.eclipse.ecf.ssl"
> download-size="0"
> install-size="0"
> version="1.0.0.v20090604-1131"
> fragment="true"
> unpack="false"/>
>
> <plugin
> id="org.apache.commons.codec"
> download-size="0"
> install-size="0"
> version="1.3.0.v20080530-1600"
> unpack="false"/>
>
> <plugin
> id="org.apache.commons.httpclient"
> download-size="0"
> install-size="0"
> version="3.1.0.v20080605-1935"
> unpack="false"/>
>
> <plugin
> id="org.apache.commons.logging"
> download-size="0"
> install-size="0"
> version="0.0.0"
> unpack="false"/>
>
> Hope this helps.
> Laurent Marchal.
>
> Gaston M. Tonietti a écrit :
>> Hi all,
>>
>> I got my build with p2 repository generation working following the blog
>> "Building p2 RCP products in Eclipse 3.5M6" which uses PDE Build and I
>> added standard p2 ui components following this one "Equinox/p2/Adding
>> Self-Update to an RCP Application"
>>
>> The problem I have is:
>> I build the product and the repository for version 1.0.0, I launch the
>> application (extracted in a separate folder obviously) then I bump the
>> version to 1.0.1, rebuild all and run a check for updates in the
>> application. The needed update is recognized perfectly, but when I
>> accept, the update operation fails with the following error:
>>
>> An error occurred while collecting items to be installed
>> session context was:(profile=profile,
>>
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Collect,
>> operand=[R]com.tc.bom.domain 0.9.90.M09 --> [R]com.tc.bom.domain
>> 0.9.90.M10, action=). The required Touchpoint:
>> org.eclipse.equinox.p2.osgi 1.0.0 touchpoint for the collect action is
>> not included in the installation manager configuration. The required
>> Touchpoint: org.eclipse.equinox.p2.osgi 1.0.0 touchpoint for the
>> collect action is not included in the installation manager
>> configuration.
>>
>> com.tc.bom.domain is one of the plug-ins included in the product, could
>> you please point me out how to solve this problem? Is it related to the
>> build or I am doing something wrong?
>>
>> Tanks a lot.
>> Gaston.
Re: Error updating product with p2 [message #1779176 is a reply to message #135602] Wed, 03 January 2018 15:14 Go to previous message
owen gerig is currently offline owen gerigFriend
Messages: 1
Registered: January 2018
Junior Member
what xml file should these entries be put into?

C:\work\coderepo\eclipseworkspace\.metadata\.plugins\org.eclipse.equinox.p2.ui\dialog_settings.xml


if so mine has a section tag. Is this section tag a parent or same level item?

<section name="Workbench">
<plugin
id="org.eclipse.equinox.p2.director"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

.....other plugin definitions
</section >



or


<section name="Workbench">
</section >
<plugin
id="org.eclipse.equinox.p2.director"
download-size="0"
install-size="0"
version="1.0.100.v20090520-1905"
unpack="false"/>

.....other plugin definitions
Previous Topic:Servet bridge: tomcat severe logs about possible memory leak
Next Topic:p2 - dropins deprecated? What are the plans for the future.
Goto Forum:
  


Current Time: Fri Apr 26 01:40:13 GMT 2024

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

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

Back to the top