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

CRJZS0383E The "Test" bundle could not be resolved

With RTC 4.0.3 , I am facing the issue "CRJZS0383E The "Test" bundle could not be resolved" while deploying the "Test" operation advisor whcih has the following plugin.xml file. Also I am facing the same issue for other advisor and participnat too with RTC 4.0.3. We can build this Test plugin without any compilation warning or errors and it has a simple code to read the work item old and new state. We have not faced such issue before with RTC 3.x , if anyone is aware of this issue and solution then could you please share the same.

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

<?eclipse version="3.4"?>

<plugin>

<extension

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

<operationAdvisor

class="test.HelloWorld"

id="Test.operationAdvisor"

name="Test"

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

<extensionService

componentId="TestextensionService"

implementationClass="test.HelloWorld">

<prerequisites>

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

</prerequisites>

</extensionService>

</operationAdvisor>

</extension>

</plugin>

0 votes

Comments

You have an issue with how you deploy the plugin. It is almost impossible to tell what you are doing wrong from just the information above. Is it working in a Jetty debug server Launch?

Hi Ralph

Thank you for your quick response.

Following are the more details on this:

  1. I can successfully compile and build the plugin.
  2. I copy this plugin under as a update site under the sites directory on the RTC server.
  3. Then I execute the resetRequest.
  4. Restart the server and while starting the server I see  <style type="text/css"> </style> "Launch callback handler]  WARN eam.repository.provision.internal.ProvisionService  - CRJZS0383E The "Test" bundle could not be resolved. <meta>
    in the jazz.log file.
  5. Though we get the above message in the log file server gets restarted.
  6. When I try to add this plugin in the operation behavior in the process configuration but I can not see this in the available preconditions list.

I have not faced such issue with RTC 3.x and RTC 4.0.1 but facing for RTC 4.0.3.

Let me know if you need more infomration.

Also I do not use the Jetty debug server launch.


Accepted answer

Permanent link
I had the same issue on 501 and was resolved after i added
    "org.eclipse.equinox.common"
to my
   "plugin dependencies". 

posting here just in case it helps someone...
Ralph Schoon selected this answer as the correct answer

0 votes


4 other answers

Permanent link
Then use Jetty. Unless you plugin runs in Jetty, I won't even try to deploy it on another server.
I am also missing deploying the .ini file in your description above. Also make sure you remove the files from the update site projects (except the site.xml) and rebuild.

1 vote


Permanent link
 Hi Dashrath. I´m facing the same issue. Were you able to resolve this? 


1 vote

Comments

Again, I would suggest to use Jetty first. See https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/ . There are several examples as well, you could look at.
In addition, if you have not created a TEST bundle you have a dependency to some bundle that is not on the server. If you have a TEST bundle then you failed to build and deploy that bundle.

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


Permanent link
 I'm stuck with this issue.

I noticed that when I add com.ibm.team.workitem.common to required plug-ins, Eclipse is
unable to find com.ibm.team.repository.common.

If you remove com.ibm.team.workitem.common from required plug-ins, then com.ibm.team.repository.common
shows up again in the list of available dependencies.

Unfortunatelly I can only reproduce the issue, but I have no idea in how to fix it.

To ad the dependency manually in MANIFEST.MF does not work. RTC does not load my plugin.

1 vote


Permanent link
 Finally I solved the issue!

The problem is the eclipse version used during the plugin creation.
I'm developing a plugin to RTC 4.0.6, when I create the new plugin project in eclipse it defaults the target platform to Eclipse 3.5.

You must to change it to Eclipse version 3.1 and then your plugin will be loaded!

Hope it helps someone who gets in this same trouble.

Best regards.
Wagner Santana.

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,937
× 343

Question asked: Sep 12 '13, 1:14 a.m.

Question was seen: 9,639 times

Last updated: Jun 10 '16, 4:43 p.m.

Confirmation Cancel Confirm