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

Missing bundle when deploying to RTC

Hello,

I tried to deploy my first extension to the RTC server but I got the following:

CRJZS0383E The "net.jazz.rtcext.workitem.extensions.service" bundle could not be resolved.
CRJZS0436I Invalid bundle diagnosis:
CRJAZ1218E The "net.jazz.rtcext.workitem.extensions.service" bundle with the id 1660 is invalid, the bundle is not RESOLVED. Examine the the diagnostics that follow this message to determine why the bundle cannot be resolved.
net.jazz.rtcext.workitem.extensions.service [1660]
Unresolved requirement: Require-Bundle: com.ibm.team.workitem.client; bundle-version="3.1.1500"


How can I fix this with the missing bundel? my be there is a link describing the solution in the forum?
Thanks and regards.

0 votes



3 answers

Permanent link

There is no way of telling what the issue is based on the information here.. 


If the extension works on Jetty but the packaging for deployment has created some problem, retry the steps check the feature project, recreate the update site. Make sure the paths are correct. Make sure to manage the dependencies as explained in the extensions workshop. Make sure not to get dependencies to client API into the server project. Check for errors and warnings.

0 votes

Comments

 Hello Ralph,


I removed all not used dependencies and create the feaute and update site again. Now I can deploy it to the test server but when I try to execute after addding it to a project area I get an error:com.ibm.team.repository.common.transport.TeamServiceRegistryException: CRJAZ1094I The service "net.jazz.rtcext.workitem.extensions.service.BuildOnStateChangeParticipant" failed to be activated because a service it depends on, "com.ibm.team.workitem.service.IWorkItemCommon", has not been acquired and forcing service activation was not requested.
from plugin.xml
 <prerequisites>
                                <requiredService
                  interface="com.ibm.team.workitem.service.IWorkItemCommon"/>
                                   </prerequisites>


Permanent link

 I know the extensions workshop is a lot of material. It is easy to overlook steps. I know that there is a temptation to short cut and do your own thing and not perform the extensions workshop.


The error message about the prerequisites says exactly what the problem is. And that you see it now and have not seen it earlier testing on Jetty is pretty clearly pointing out that you have not really been following the extensions workshop.

It appears you try to rush developing an extension and deploy it. I would suggest you first perform the full extensions workshop. You learn what the steps are, what can be done how and how debugging on Jetty works. 
 
I have seen this in the past the pattern is that my advice has been ignored and the user floods the forum with questions that would not even come up if they had followed the workshop. 

My time is too valuable for that. 

Your plugin seems to be untested on Jetty. The error above would happen on Jetty as well. Since it has not been tested on Jetty, it is likely that it does not work anyway. The plugin.xml is lacking basic information, so it is not deployable. Deploying on another server is the final last step after all the development and testing (on Jetty) has been done already.

You can 
  1. Execute the workshop and learn the basic techniques
  2. Stumble from one issue to the next and ask here and waste days waiting for answers. 
You can also search for keywords in the extensions workshop document e.g. 'prerequisites' and try to fix issues. Or on the internet and that might work to some extend. 

My experience so far is, if you try to rush it the way you do, it is unlikely you will be successful and you are spending 20 times the effort in stumbling from one issue to the next, which you could have avoided by learning the basics first.

Good luck.


0 votes

Comments
Hello Ralph,

thanks for your response. I did go through all the workshops for version 6.03 and 7.0.2 and my plugin is working perfectly in the local test server and on Jetty (version 6.0.3) I tried to test in a new test server (7.0.2) and I followed the exact steps in the workshop. I will try to go through them again till the problem is fixed.
Thanks again for your valuable time and have a nice weekend.

It can not work on Jetty, if you miss providing the prerequisites., which is a manual step that is all too easy to miss. 

Have you found the statements about the prerequisites in the extensions workshop and successfully added the required prerequisites to the plugin.xml? 


Permanent link

 

 I know the extensions workshop is a lot of material. It is easy to overlook steps. I know that there is a temptation to short cut and do your own thing and not perform the extensions workshop.

The error message about the prerequisites says exactly what the problem is. And that you see it now and have not seen it earlier testing on Jetty is pretty clearly pointing out that you have not really been following the extensions mygiftcardsite workshop.

It appears you try to rush developing an extension and deploy it. I would suggest you first perform the full extensions workshop. You learn what the steps are, what can be done how and how debugging on Jetty works. 
 
I have seen this in the past the pattern is that my advice has been ignored and the user floods the forum with questions that would not even come up if they had followed the workshop. 

My time is too valuable for that. 

Your plugin seems to be untested on Jetty. The error above would happen on Jetty as well. Since it has not been tested on Jetty, it is likely that it does not work anyway. The plugin.xml is lacking basic information, so it is not deployable. Deploying on another server is the final last step after all the development and testing (on Jetty) has been done already.

You can 
  1. Execute the workshop and learn the basic techniques
  2. Stumble from one issue to the next and ask here and waste days waiting for answers. 
You can also search for keywords in the extensions workshop document e.g. 'prerequisites' and try to fix issues. Or on the internet and that might work to some extend. 

My experience so far is, if you try to rush it the way you do, it is unlikely you will be successful and you are spending 20 times the effort in stumbling from one issue to the next, which you could have avoided by learning the basics first.

Good luck.

PS: I have tried to provide additional information here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ 

Thanks for response, It's work for me, looking for same issue.

0 votes

Comments

This is the context of the question of another person. If you want to answer, please do so.


If you have a question create your own question and do not infest the question of someone else with your question (provided as an answer). 

Whatever you want to say with your misplaced question as answer here, I do not understand. 

Please create your own question I will delete your answer here soon.  

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

Question asked: Aug 19 '21, 8:59 a.m.

Question was seen: 2,515 times

Last updated: Aug 24 '21, 2:44 a.m.

Confirmation Cancel Confirm