RTC Extension: What to change in plugin after required interface addition?
Hello,
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
Ralph Schoon (63.6k●3●36●47)
| answered Oct 30 '12, 4:32 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Timur,
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 Then open the site.xml and push rebuild all. Then try to redeploy. Sorry, but images seem to be broken for me. Timur Markunin selected this answer as the correct answer
Comments
Timur Markunin
commented Oct 30 '12, 5:04 a.m.
Thanks Ralph!
|
One other answer
Ralph Schoon (63.6k●3●36●47)
| answered Oct 29 '12, 11:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Timur,
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 Hi Ralph!
Timur Markunin
commented Oct 30 '12, 2:31 a.m.
Hi Ralph!
|
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.