It's all about the answers!

Ask a question

CRJZS0383E The "Test" bundle could not be resolved


Dashrath Kale (1542623) | asked Sep 12 '13, 1:14 a.m.
retagged Sep 16 '13, 9:35 a.m. by Ralph Earle (25739)

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>


Comments
Ralph Schoon commented Sep 12 '13, 3:00 a.m. | edited Sep 12 '13, 6:33 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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?


Dashrath Kale commented Sep 12 '13, 3:20 a.m.

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.


Dashrath Kale commented Sep 12 '13, 3:22 a.m.

Also I do not use the Jetty debug server launch.

Accepted answer


permanent link
Dinesh Kumar B (4.1k413) | answered Oct 31 '14, 1:49 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". 

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

4 other answers



permanent link
Ralph Schoon (60.5k33643) | answered Sep 12 '13, 4:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.

permanent link
Leonardo Marzo (24964852) | answered Jul 21 '14, 4:23 p.m.
 Hi Dashrath. I´m facing the same issue. Were you able to resolve this? 



Comments
Ralph Schoon commented Jul 22 '14, 2:32 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

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.


Dinesh Kumar B commented 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...


permanent link
Wagner Santana (212) | answered Oct 03 '15, 9:14 p.m.
 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.

permanent link
Wagner Santana (212) | answered Jun 10 '16, 4:43 p.m.
 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.

Your answer


Register or to post your answer.