It's all about the answers!

Ask a question

Failed to resolve the bundle "HelloWorldAdvisor".


Andy Phillipson (10431418) | asked Nov 13 '12, 11:45 a.m.
JAZZ DEVELOPER

I have ported the HelloWorldAdvisor sample described in https://jazz.net/library/article/495 to RTC4.0.  I had this example working fine in RTC3.x.  With the 4.0 implementation I am getting the following error in the ccm.log.

2012-11-13 11:24:51,658 [Launch callback handler]  WARN eam.repository.provision.internal.ProvisionService  - CRJZS0383W Failed to resolve the bundle "HelloWorldAdvisor".

I rechecked the plugin.xml, feature.xml, and site.xml as well as the setup of the .ini provisioning file and I don't see any problems.  Posted these files content below.

How do I debug this problem?

plugin.xml

<?xml version="1.0" encoding="UTF-8"?>

<?eclipse version="3.4"?>

<plugin>

<extension

point="com.ibm.team.process.service.operationAdvisors">

<operationAdvisor

class="helloworldadvisor.HelloWorldProhibitSave"

id="HelloWorldAdvisor.prohibitSave"

name="Prohibit Save (Hello World Advisor)"

operationId="com.ibm.team.workitem.operation.workItemSave">

<extensionService

componentId="helloworldadvisor.HelloWorldProhibitSave"

implementationClass="helloworldadvisor.HelloWorldProhibitSave">

<prerequisites>

<requiredService

interface="com.ibm.team.links.common.service.ILinkService" />

<requiredService

interface="com.ibm.team.repository.service.IRepositoryItemService" />

<requiredService

interface="com.ibm.team.workitem.service.IWorkItemServer" />

<requiredService

interface="com.ibm.team.workitem.common.IWorkItemCommon" />

</prerequisites>

</extensionService>

</operationAdvisor>

</extension>

</plugin>

feature.xml

<?xml version="1.0" encoding="UTF-8"?>

<feature

id="HelloWorldAdvisorFeature"

label="HelloWorldAdvisorFeature"

version="1.0.0.0">

<description url="http://www.example.com/description">

[Enter Feature Description here.]

</description>

<copyright url="http://www.example.com/copyright">

[Enter Copyright Description here.]

</copyright>

<license url="http://www.example.com/license">

[Enter License Description here.]

</license>

<plugin

id="HelloWorldAdvisor"

download-size="0"

install-size="0"

version="1.0.0.0"

unpack="false"/>

</feature>

 site.xml

<?xml version="1.0" encoding="UTF-8"?>

<site>

<feature url="features/HelloWorldAdvisorFeature_1.0.0.0.jar" id="HelloWorldAdvisorFeature" version="1.0.0.0">

<category name="Work Item Save Operations"/>

</feature>

<category-def name="Work Item Save Operations" label="Work Item Save Operations"/>

</site>

HelloWorldAdvisor.ini (at C:\IBM\JazzTeamServer\server\conf\ccm\provision_profiles)

url=file:ccm/sites/HelloWorldAdvisor-update-site
featureid=HelloWorldAdvisorFeature

features, plugins, and site.xml all located at:

C:\IBM\JazzTeamServer\server\conf\ccm\sites\HelloWorldAdvisor-update-site

3 answers



permanent link
Andy Phillipson (10431418) | answered Nov 13 '12, 4:40 p.m.
JAZZ DEVELOPER
Update: The problem went away after rewriting the Activator class. <shrug>  Something must have gone wrong in the eclipse project because my Activator class is now exactly the same as it was before I created it new.  Did not touch any other part of the solution.

permanent link
Dinesh Kumar B (4.1k413) | answered Oct 31 '14, 1:48 a.m.
JAZZ DEVELOPER
I had the same issue on 501 and was resolved after i added "org.eclipse.equinox.common" to my plugin dependencies.  adding here just in case it helps someone...

permanent link
Dinesh Kumar B (4.1k413) | answered Apr 16 '15, 2:49 a.m.
JAZZ DEVELOPER
lately, i have seen one more scenario where this error shows up :
Errors of the sort :
    CRJZS0383E The "rtc_test_plugin" bundle could not be resolved.
are seen when
    "the version of java on the server where the plugin is provisioned"
 is lower than
    "the version of java used by the eclipse client where the plugin is developed"

by pointing my Eclipse project to refer to the JRE from the server installation, and resetting the server (cmdRequestReset) and reprovisioning the update site, the issue was resolved for me...

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.