Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Failed to resolve the bundle "HelloWorldAdvisor".

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

0 votes



3 answers

Permanent link
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.

0 votes


Permanent link
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...

0 votes


Permanent link
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...

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,936

Question asked: Nov 13 '12, 11:45 a.m.

Question was seen: 5,434 times

Last updated: Apr 16 '15, 2:49 a.m.

Confirmation Cancel Confirm