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

Plug-in Extension Implementation Class Not Able to Load Required Services

 I'm creating a server plug-in.  I have required services in plugin.xml:


  <extension
         point="....">
      <asynchronousTask
            taskId="....">
         <extensionService
               componentId="...."
               implementationClass=".....ScheduledTask">
            <prerequisites>
               <requiredService interface="com.ibm.team.workitem.service.IWorkItemServer"/>
               <requiredService interface="com.ibm.team.process.service.IProcessServerService"/>
               <requiredService interface="com.ibm.team.workitem.common.IWorkItemCommon"/>
               <requiredService interface="com.ibm.team.repository.service.IRepositoryItemService"/>
               <requiredService interface="com.ibm.team.repository.common.service.IContributorService"/>
               <requiredService interface="com.ibm.team.workitem.service.IQueryServer"/>
               <requiredService interface="com.ibm.team.repository.common.service.IQueryService"/>
               <requiredService interface="com.ibm.team.workitem.service.IAuditableServer"/>
               <requiredService interface="com.ibm.team.process.service.IProcessServerService"/>

The ScheduledTask class, however, is unable to load any of those services.  getService() results in a ServiceNotFoundException.  The exception message says to check prerequisites in plugin.xml.

0 votes


Be the first one to answer this question!

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
× 10,936

Question asked: Dec 04 '18, 11:26 a.m.

Question was seen: 1,420 times

Last updated: Dec 04 '18, 11:26 a.m.

Confirmation Cancel Confirm