Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Marketplace Client Project » Profile id _SELF_ is not registered - when using MPC in my RCP application(I'm using MPC in my RCP, but when I try to install anything from Eclipse Marketplace, it fails.)
Profile id _SELF_ is not registered - when using MPC in my RCP application [message #724648] Mon, 12 September 2011 14:09 Go to next message
Trace Windham is currently offline Trace Windham
Messages: 16
Registered: July 2009
Junior Member
Here's the message I get when I try to install anything from the Eclipse Marketplace using the MPC in my RCP application.

Quote:
Problems occurred while performing provisioning operation: Profile id _SELF_ is not registered.
Profile id _SELF_ is not registered.


I did some Google searches and found this message in a post to this forum here...
http://dev.eclipse.org/mhonarc/lists/epp-dev/msg01203.html

It seems as if the cause of the issue was not determined.


Now for the good news.

I have a work around for this issue, but it's not ideal yet. The work around is to use a target environment for my RCP application that includes every plugin I have. This isn't really optimal, because I don't want the users of my application to have to download such a massive amount of data just to use my app.

I will spending the day trying to figure out what plugin is needed to make this issue stop happening.

If someone has a list of the required features/plugins to get this working correctly, that would be great to have as well.

Thank You,
Trace Windham

Here's the target file I'm using when I get the error in my RCP application.

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.6"?>

<target name="prometheusui" sequenceNumber="14">
<locations>
<location includeAllPlatforms="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.help.feature.group" version="1.3.0.v20110327-7i7uFFiFFt6ZqnbOrMXLd1"/>
<unit id="org.eclipse.sdk.ide" version="3.7.0.I20110613-1736"/>
<unit id="org.eclipse.epp.mpc.feature.group" version="1.1.0.I20110525-0742"/>
<repository location="http://download.eclipse.org/releases/indigo/"/>
</location>
</locations>
<includeBundles>
<plugin id="org.eclipse.jdt.junit"/>
<plugin id="org.eclipse.ui.workbench.compatibility"/>
<plugin id="com.ibm.icu"/>
<plugin id="org.eclipse.equinox.ds"/>
<plugin id="org.eclipse.swt"/>
<plugin id="org.eclipse.equinox.p2.garbagecollector"/>
<plugin id="org.eclipse.equinox.launcher.win32.win32.x86"/>
<plugin id="org.eclipse.equinox.p2.discovery.compatibility"/>
<plugin id="org.eclipse.equinox.p2.repository"/>
<plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
<plugin id="org.eclipse.equinox.p2.touchpoint.natives"/>
<plugin id="org.eclipse.jdt.apt.core"/>
<plugin id="org.eclipse.ui.editors"/>
<plugin id="org.mortbay.jetty.server"/>
<plugin id="org.eclipse.ui.intro.universal"/>
<plugin id="org.eclipse.core.variables"/>
<plugin id="org.eclipse.pde.core"/>
<plugin id="org.eclipse.equinox.p2.jarprocessor"/>
<plugin id="org.eclipse.jdt.compiler.tool"/>
<plugin id="org.eclipse.equinox.jsp.jasper.registry"/>
<plugin id="org.eclipse.equinox.concurrent"/>
<plugin id="org.eclipse.ecf.provider.filetransfer"/>
<plugin id="org.eclipse.equinox.p2.ql"/>
<plugin id="org.eclipse.jface"/>
<plugin id="org.eclipse.platform"/>
<plugin id="org.eclipse.ui.ide"/>
<plugin id="org.apache.commons.httpclient"/>
<plugin id="javax.servlet"/>
<plugin id="org.eclipse.ui.forms"/>
<plugin id="org.eclipse.equinox.p2.publisher"/>
<plugin id="org.eclipse.equinox.p2.director"/>
<plugin id="org.apache.commons.codec"/>
<plugin id="org.eclipse.ui.console"/>
<plugin id="org.apache.lucene.queries"/>
<plugin id="org.eclipse.ecf.ssl"/>
<plugin id="org.eclipse.equinox.security.win32.x86"/>
<plugin id="org.eclipse.equinox.app"/>
<plugin id="org.eclipse.equinox.frameworkadmin"/>
<plugin id="org.eclipse.jdt.debug.ui"/>
<plugin id="org.eclipse.equinox.p2.operations"/>
<plugin id="org.eclipse.search"/>
<plugin id="org.eclipse.core.databinding.beans"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.objectweb.asm"/>
<plugin id="org.eclipse.ant.launching"/>
<plugin id="org.eclipse.ui.presentations.r21"/>
<plugin id="org.eclipse.ui.navigator"/>
<plugin id="org.eclipse.pde.junit.runtime"/>
<plugin id="org.eclipse.equinox.p2.transport.ecf"/>
<plugin id="org.eclipse.jdt.junit4.runtime"/>
<plugin id="org.eclipse.pde.ua.ui"/>
<plugin id="org.eclipse.ui.intro"/>
<plugin id="org.mortbay.jetty.util"/>
<plugin id="org.eclipse.jdt.junit.core"/>
<plugin id="org.eclipse.jdt.compiler.apt"/>
<plugin id="org.eclipse.compare.core"/>
<plugin id="org.eclipse.jface.text"/>
<plugin id="org.eclipse.pde.ds.ui"/>
<plugin id="org.eclipse.ecf"/>
<plugin id="org.apache.lucene.misc"/>
<plugin id="org.eclipse.pde"/>
<plugin id="org.eclipse.ltk.ui.refactoring"/>
<plugin id="org.eclipse.equinox.p2.ui.sdk"/>
<plugin id="org.eclipse.equinox.p2.publisher.eclipse"/>
<plugin id="org.eclipse.equinox.jsp.jasper"/>
<plugin id="org.eclipse.help.base"/>
<plugin id="org.eclipse.team.cvs.ui"/>
<plugin id="org.eclipse.epp.mpc.core"/>
<plugin id="org.eclipse.jsch.ui"/>
<plugin id="org.eclipse.equinox.launcher"/>
<plugin id="org.eclipse.core.databinding"/>
<plugin id="org.eclipse.jdt.apt.pluggable.core"/>
<plugin id="org.eclipse.pde.ua.core"/>
<plugin id="org.eclipse.core.filesystem"/>
<plugin id="org.eclipse.ui.views"/>
<plugin id="org.eclipse.platform.doc.user"/>
<plugin id="org.eclipse.equinox.p2.directorywatcher"/>
<plugin id="org.eclipse.core.runtime.compatibility.registry"/>
<plugin id="org.eclipse.core.runtime.compatibility.auth"/>
<plugin id="org.eclipse.pde.api.tools.ui"/>
<plugin id="org.eclipse.equinox.p2.core"/>
<plugin id="javax.servlet.jsp"/>
<plugin id="org.apache.commons.el"/>
<plugin id="org.eclipse.rcp"/>
<plugin id="org.eclipse.ui.views.properties.tabbed"/>
<plugin id="org.eclipse.equinox.p2.metadata.repository"/>
<plugin id="com.jcraft.jsch"/>
<plugin id="org.eclipse.compare.win32"/>
<plugin id="org.eclipse.cvs"/>
<plugin id="org.eclipse.core.commands"/>
<plugin id="org.eclipse.equinox.preferences"/>
<plugin id="org.eclipse.help.webapp"/>
<plugin id="org.eclipse.equinox.p2.ui.discovery"/>
<plugin id="org.eclipse.equinox.p2.console"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.ltk.core.refactoring"/>
<plugin id="org.eclipse.pde.api.tools"/>
<plugin id="org.eclipse.team.core"/>
<plugin id="org.eclipse.core.filebuffers"/>
<plugin id="org.eclipse.epp.mpc.ui"/>
<plugin id="org.eclipse.ui"/>
<plugin id="org.apache.lucene"/>
<plugin id="org.apache.lucene.highlighter"/>
<plugin id="org.eclipse.team.ui"/>
<plugin id="org.eclipse.core.databinding.observable"/>
<plugin id="org.eclipse.ui.ide.application"/>
<plugin id="org.eclipse.pde.ui"/>
<plugin id="org.eclipse.core.filesystem.win32.x86"/>
<plugin id="org.junit4"/>
<plugin id="org.eclipse.equinox.util"/>
<plugin id="org.eclipse.update.core"/>
<plugin id="org.eclipse.swt.win32.win32.x86"/>
<plugin id="org.junit" version="4.8.2.v4_8_2_v20110321-1705"/>
<plugin id="org.eclipse.debug.ui"/>
<plugin id="org.eclipse.core.resources"/>
<plugin id="org.eclipse.jdt.debug"/>
<plugin id="org.apache.commons.logging"/>
<plugin id="org.eclipse.ui.browser"/>
<plugin id="org.eclipse.equinox.p2.metadata"/>
<plugin id="org.eclipse.equinox.p2.engine"/>
<plugin id="org.eclipse.jsch.core"/>
<plugin id="org.eclipse.help"/>
<plugin id="org.eclipse.core.net"/>
<plugin id="org.apache.lucene.core"/>
<plugin id="org.eclipse.ui.workbench.texteditor"/>
<plugin id="org.eclipse.core.runtime.compatibility"/>
<plugin id="org.apache.lucene.snowball"/>
<plugin id="org.apache.lucene.analysis"/>
<plugin id="org.eclipse.equinox.p2.ui.importexport"/>
<plugin id="org.eclipse.equinox.security.ui"/>
<plugin id="org.eclipse.update.configurator"/>
<plugin id="org.eclipse.pde.doc.user"/>
<plugin id="org.eclipse.ecf.filetransfer"/>
<plugin id="org.eclipse.ecf.provider.filetransfer.httpclient"/>
<plugin id="org.eclipse.jdt.junit.runtime"/>
<plugin id="org.eclipse.team.cvs.ssh2"/>
<plugin id="org.eclipse.jdt.launching"/>
<plugin id="org.eclipse.jdt.doc.user"/>
<plugin id="org.eclipse.update.ui"/>
<plugin id="org.eclipse.update.scheduler"/>
<plugin id="org.sat4j.pb"/>
<plugin id="org.eclipse.ui.externaltools"/>
<plugin id="org.eclipse.pde.runtime"/>
<plugin id="org.eclipse.pde.build"/>
<plugin id="org.eclipse.osgi.util"/>
<plugin id="org.eclipse.jdt.core.manipulation"/>
<plugin id="org.eclipse.debug.core"/>
<plugin id="org.eclipse.equinox.http.servlet"/>
<plugin id="org.eclipse.equinox.http.jetty"/>
<plugin id="org.eclipse.sdk"/>
<plugin id="org.sat4j.core"/>
<plugin id="org.eclipse.core.expressions"/>
<plugin id="org.eclipse.help.ui"/>
<plugin id="org.eclipse.pde.ui.templates"/>
<plugin id="org.eclipse.core.runtime"/>
<plugin id="org.eclipse.pde.launching"/>
<plugin id="org.hamcrest.core"/>
<plugin id="org.eclipse.equinox.event"/>
<plugin id="org.eclipse.help.appserver"/>
<plugin id="org.eclipse.pde.ds.core"/>
<plugin id="org.eclipse.jdt"/>
<plugin id="org.eclipse.equinox.p2.updatechecker"/>
<plugin id="org.eclipse.platform.doc.isv"/>
<plugin id="org.eclipse.equinox.simpleconfigurator"/>
<plugin id="org.eclipse.ant.core"/>
<plugin id="org.eclipse.jdt.doc.isv"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.eclipse.equinox.security"/>
<plugin id="org.eclipse.equinox.p2.touchpoint.eclipse"/>
<plugin id="org.eclipse.jdt.ui"/>
<plugin id="org.eclipse.jdt.apt.ui"/>
<plugin id="org.eclipse.equinox.p2.updatesite"/>
<plugin id="org.eclipse.equinox.p2.extensionlocation"/>
<plugin id="org.eclipse.ecf.provider.filetransfer.ssl"/>
<plugin id="org.eclipse.core.boot"/>
<plugin id="org.eclipse.ecf.identity"/>
<plugin id="org.eclipse.ant.ui"/>
<plugin id="org.eclipse.equinox.p2.repository.tools"/>
<plugin id="org.eclipse.ui.views.log"/>
<plugin id="org.eclipse.ui.win32"/>
<plugin id="org.apache.ant"/>
<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.ui.cheatsheets"/>
<plugin id="org.eclipse.core.externaltools"/>
<plugin id="org.eclipse.update.core.win32"/>
<plugin id="org.eclipse.core.net.win32.x86"/>
<plugin id="org.eclipse.text"/>
<plugin id="org.eclipse.equinox.frameworkadmin.equinox"/>
<plugin id="org.eclipse.equinox.p2.reconciler.dropins"/>
<plugin id="org.apache.jasper"/>
<plugin id="org.eclipse.compare"/>
<plugin id="org.eclipse.epp.mpc.help.ui"/>
<plugin id="org.eclipse.equinox.p2.director.app"/>
<plugin id="org.eclipse.core.resources.win32.x86"/>
<plugin id="org.eclipse.ui.navigator.resources"/>
<plugin id="org.eclipse.equinox.p2.ui"/>
<plugin id="org.apache.lucene.memory"/>
<plugin id="org.eclipse.jface.databinding"/>
<plugin id="org.eclipse.equinox.http.registry"/>
<plugin id="org.eclipse.ui.workbench"/>
<plugin id="org.eclipse.ecf.provider.filetransfer.httpclient.ssl"/>
<plugin id="org.eclipse.equinox.p2.artifact.repository"/>
<plugin id="org.junit" version="3.8.2.v3_8_2_v20100427-1100"/>
<plugin id="org.apache.lucene.spellchecker"/>
<plugin id="org.eclipse.core.databinding.property"/>
<plugin id="org.eclipse.jdt.core"/>
<plugin id="org.eclipse.ui.net"/>
<plugin id="org.eclipse.equinox.p2.discovery"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.equinox.p2.ui.sdk.scheduler"/>
<plugin id="org.eclipse.core.contenttype"/>
<plugin id="org.eclipse.team.cvs.core"/>
</includeBundles>
</target>

Re: Profile id _SELF_ is not registered - when using MPC in my RCP application [message #724816 is a reply to message #724648] Tue, 13 September 2011 05:13 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin Muskalla
Messages: 338
Registered: July 2009
Senior Member
Hi Trace,

I wonder if you face a problem with your zipping tool?
This post sheds some light on the problem as well: http://aniszczyk.org/2010/04/26/eclipse-and-profile-id-_self_-is-not-registered/

Hope that helps,
Benjamin
Re: Profile id _SELF_ is not registered - when using MPC in my RCP application [message #724923 is a reply to message #724816] Tue, 13 September 2011 09:59 Go to previous messageGo to next message
Trace Windham is currently offline Trace Windham
Messages: 16
Registered: July 2009
Junior Member
Thanks Benjamin,

That was helpful. It didn't solve my problem directly, but it did help me think of one more thing to try.

Here's what I did to solve this.

I had failed to mention that I was running my RCP in a development environment, so I had to open up the "Run Configuration" page and select my launch configuration and then select the "Configuration" tab. From there, I selected the "Support software installation in the launched application" check box. Once I did that, the Marketplace Client installed a feature from the Eclipse Marketplace easily. <palm slaps forehead>

Thanks for the help,
Trace
Re: Profile id _SELF_ is not registered - when using MPC in my RCP application [message #725282 is a reply to message #724923] Wed, 14 September 2011 08:27 Go to previous message
Benjamin Muskalla is currently offline Benjamin Muskalla
Messages: 338
Registered: July 2009
Senior Member
Hi Trace,

great that you've solved it! You might want to consider opening a bug against PDE/UI to warn users if they include p2 bundles but don't check that checkbox.
Previous Topic:MarketPlace didn't work with my RCP
Next Topic:Marketplace, MPC and multi-feature solutions
Goto Forum:
  


Current Time: Wed Jul 30 11:29:26 EDT 2014

Powered by FUDForum. Page generated in 0.01567 seconds