Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

Failed to find the required service , Check in plugin.xml.

Even after included "com.ibm.team.process.internal.common.service.IProcessService" in Plugin.xml , receving following error the trigger of the Plugin. Am i missing any thing ??

The service 'testworldadvisor.TestWorldProhibitSave@15161516' failed to find the required service 'interface com.ibm.team.process.internal.common.service.IProcessService'. Check <prerequisites> in plugin.xml.

1 vote

Comments

Same problem here but on interface com.ibm.team.workitem.common.IAuditableCommon

Any idea ?



3 answers

Permanent link
 same problem here with com.ibm.team.repository.IRepositoryItemServer

0 votes

Comments

Please open up a new question, instead of bumping up new questions, thanks.





Permanent link
The answer to your question is in Article 1000 in the library, I think. Look for prerequisite. You can also find how that works at the end of https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/.

You need to add a prerequisite section in the plugin XML to the extension point.

0 votes


Permanent link
 Net.. if you need access to loaded 'services', you must tell the plugin loader by defining these prerequisite  dependencies in the plugin.xml in advance. 

is not shown, but from one of my plugins

            <extensionService
                componentId="com.sd.tools.workitem.createapproval.participant.component"
                implementationClass="com.sd.tools.CreateApprovalParticipant">
                <prerequisites>
                 <requiredService interface="com.ibm.team.repository.common.service.IContributorService"/>    
            <requiredService interface="com.ibm.team.workitem.common.IAuditableCommon"/>         
            <requiredService interface="com.ibm.team.process.service.IProcessServerService"/>
            <requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
            <requiredService interface="com.ibm.team.repository.common.service.IQueryService"/>
            <requiredService interface="com.ibm.team.repository.service.IRepositoryItemService"/>               
                </prerequisites>
            </extensionService>

0 votes

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
× 6,141

Question asked: Sep 25 '12, 4:56 p.m.

Question was seen: 7,852 times

Last updated: Mar 10 '14, 3:33 p.m.

Confirmation Cancel Confirm