RTC Extension: What to change in plugin after required interface addition?
![](http://jazz.net/_images/myphoto/be33fe4d1ddb93b57e2b7b5f5d19c187.jpg)
I'm developing RTC follow-up action. I've added to my server-side plugin new required interface.
<requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
It works fine when I use Jetty server but when I'm trying to deploy it to Tomcat I'm receiving:
: CRJAZ1972E "com.ibm.team.workitem.service.internal.WorkItemRepositoryService" service faild to activate becuase a service that it depneds on "com.ibm.team.workitem.service.IWorkItemServer" faild to be activated.
I don't see my new follow-up in RTC UI. Did I miss to do something in plugin properties?
-thanks in advance
Accepted answer
![](http://jazz.net/_images/myphoto/be33fe4d1ddb93b57e2b7b5f5d19c187.jpg)
I have just deployed a plug in that has
<requiredService interface="com.ibm.team.workitem.service.IWorkItemServer" />
<requiredService interface="com.ibm.team.workitem.common.IWorkItemCommon" />
<requiredService interface="com.ibm.team.workitem.common.IAuditableCommon" />
<requiredService interface="com.ibm.team.links.common.service.ILinkService" />
It works flawless. I am pretty sure that when you updated your updatesite, you failed to rebuild properly. Something in your deployment process is wrong.
Make sure to remove everything except the site.xml
![](https://jazz.net/forum/upfiles/RemoveUpdateSiteContent.png)
![](https://jazz.net/forum/upfiles/RemoveUpdateSiteContent_1.png)
Then open the site.xml and push rebuild all. Then try to redeploy. Sorry, but images seem to be broken for me.
One other answer
![](http://jazz.net/_images/myphoto/be33fe4d1ddb93b57e2b7b5f5d19c187.jpg)
since Jetty works and the Extensions Workshop requires the same services:
<prerequisites>
<requiredService
interface="com.ibm.team.workitem.service.IWorkItemServer"/>
<requiredService
interface="com.ibm.team.build.internal.common.ITeamBuildService"/>
<requiredService
interface="com.ibm.team.build.internal.common.ITeamBuildRequestService"/>
</prerequisites>
I would assume you have an issue with the deployment. Did you request a server reset after undeploying / redeploying?
In addition, did you delete all the data in the updatesite poject, except the site.xml and then rebuild the site?
I have another extension where I needed IWorkitemServer maybe add that.
<prerequisites>
<requiredService interface="com.ibm.team.workitem.service.IWorkItemServer" />
<requiredService interface="com.ibm.team.workitem.common.IWorkItemCommon" />
<requiredService interface="com.ibm.team.workitem.common.IAuditableCommon" />
<requiredService interface="com.ibm.team.links.common.service.ILinkService" />
</prerequisites>
Comments
![](http://jazz.net/_images/myphoto/be33fe4d1ddb93b57e2b7b5f5d19c187.jpg)
Hi Ralph!
The problem appeared when I changed plugin.xml
<prerequisites>
<requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
</prerequisites>
I've requested server reset and my follow-up have disappeared from RTC UI.
Maybe I need to add some new features to my feature project before rebuild of updatesite project?
-thanks in advance
![](http://jazz.net/_images/myphoto/be33fe4d1ddb93b57e2b7b5f5d19c187.jpg)
Hi Ralph!
Sorry, I've added wrong interface name in the question above.
I've deployed several versions of my plugin and everything was fine.
The problem appeared when I changed plugin.xml
<prerequisites>
<requiredService interface="com.ibm.team.workitem.common.IAuditableCommon"/>
</prerequisites>
I've requested server reset and my follow-up have disappeared from RTC UI.
Do I need to add some new features to my feature project before rebuild of updatesite project because of addition of new required interface?
-thanks in advance