missing dependency feature "com.ibm.team.workitem.client.rtc.feature".
![]()
Hi,
I developed a RTC plug-in and have the following error in the ccm.log file, after deploying it to the server: ERROR eam.repository.provision.internal.ProvisionService - CRJAZ0282I The feature "" is missing dependency feature "com.ibm.team.workitem.client.rtc.feature". My included features are: <requires> <import feature="com.ibm.team.workitem.common.rtc.feature" version="3.2.1.v20140611_0118"/> <import feature="com.ibm.team.workitem.client.rtc.feature" version="3.1.801.v20140613_0649"/> <import feature="com.ibm.team.scm.common.rtc.feature" version="3.2.101.v20140613_0649"/> <import feature="com.ibm.team.scm.client.rtc.feature" version="3.2.101.v20140613_0649"/> <import feature="com.ibm.team.repository.services.jfs.feature" version="1.0.3000.v20140115_0121"/> <import feature="com.ibm.team.repository.common.jfs.feature" version="1.1.0.v20140623_2326"/> <import feature="com.ibm.team.repository.client.jfs.feature" version="1.1.0.v20140505_2030"/> <import feature="com.ibm.team.process.common.jfs.feature" version="1.1.4000.v20131214_0006"/> <import feature="com.ibm.team.process.client.jfs.feature" version="1.1.3000.v20131011_2353"/> <import feature="com.ibm.team.workitem.client.rtc.feature.source" version="3.1.801.v20140626_0224"/> </requires> I am not sure that i need all of these features, i found RTC extending examples where this step is not mentioned, but i followed the "IBM Rational Team Concert 4.x Extensibility.pdf" workshop where it says: "(...)for Jazz server side provisioning, you need to use features. Using the compute button was helpful because having the list of plug-ins makes it straight forward to figure out the list of features you really want." However, the missing feature mentioned in the log-error (com.ibm.team.workitem.client.rtc.feature) is not available in the list of features. I only found "com.ibm.team.workitem.client.rtc.feature.source" but adding it did not fix the error. Please help :) Best regards, Andrada |
3 answers
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Feb 23 '15, 9:50 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Feb 23 '15, 9:55 a.m.
On the server you will never have anything matching the naming pattern *.client.*. That is why you see the problem.
The Workshop also goes through a cleanup process to get rid of dependencies that are not needed in 6.1. Although I don't always do that necessarily, it is the good thing to consider. Unfortunately I don't know all the details. I would get rid of all the features that don't match the naming pattern *.server.jfs.feature or *.server.rtc.feature. . Although common API is available on the server, I think the server features depend on it and you don't have to specify it. For common API the mane pattern is *.common.*. This is a client API and not available on the server: com.ibm.team.workitem.client.rtc.feature Dubious entries for a server extension: <import feature="com.ibm.team.workitem.client.rtc.feature" version="3.1.801.v20140613_0649"/> <import feature="com.ibm.team.scm.client.rtc.feature" version="3.2.101.v20140613_0649"/> <import feature="com.ibm.team.repository.client.jfs.feature" version="1.1.0.v20140505_2030"/> <import feature="com.ibm.team.process.client.jfs.feature" version="1.1.3000.v20131011_2353"/> <import feature="com.ibm.team.workitem.client.rtc.feature.source" version="3.1.801.v20140626_0224"/> Comments Hello Ralph,
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Did you consider following Lab 6.1 of the workshop?
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I assume the extension runs on Jetty. If not make sure it runs there first.
Hi Ralph,
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You might be able to get it running without Jetty. Good luck with that. It will probably cost 10 times the effort compared to Jetty. And no one will be able to help.
Hi Ralph,
Throw the current development server setup away and re-run the JUnit test to setup the test database in Lab 1.
I forgot to explicitly mention that I also deleted the temporary server folder and did the set up for Jetty again :)
1
Make sure you have successfully copied over the xml files too.
What language setting does your machine have?
I have an English language machine, 8 GB RAM and not in a virtual machine.
1
1.4 Complete Setup of Your RTC Eclipse Client
Hi Ralph,
1
![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
I don't know where Tomcat will allow you to access files and what will be taken as root folder. I store configuration information in the process XML like described in the workshop.
Please accept an answer as correct. Thanks!
showing 5 of 14
show 9 more comments
|
![]()
Ralph Schoon (62.7k●3●36●43)
| answered Feb 25 '15, 6:06 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Delete the server folder as in the image:
![]() Then rerun 1.6 Test the Jetty Based Server Launch |
![]()
So, i managed to get the plugin to work on Jetty.
But when deploying its feature to tomcat, i still have the CRJZS0383E The bundle could not be resolved. error. :( I think that the error is somewhere in the construction of the feature*, maybe I do not have all the right dependencies, or some imports (other than the plugin) may be missing. I followed the steps of the workshop about deploying, but my plugin is different, so not all the dependencies apply *if the problem would have been because of the configuration file, i would be receiving errors when saving the work item, not during installation of the plugin. :( Comments ![]() FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you can provide me with the source - all parts, including the feature, I can try to have a look. mail: ralph.schoon@de.ibm.com
|