It's all about the answers!

Ask a question

Service Provider plugin fails to load required interfaces

Luca Martinucci (1.0k396112) | asked Jul 20 '15, 2:41 a.m.
edited Jul 20 '15, 2:58 a.m.
I have written a Java plugin for RTC 4.0.6 which is an extension to
I have also declared 2 prerequisite interfaces for this plugin.
Everything looks ok, apparently there are no syntax errors, and the plugin is build correctly.
Anyway, at runtime, the 2 required interfaces are not loaded, and I receive en exception that prevents the plugin from running.
It seems that the application server fails to parse the plugin configuration.
These are the contents of the plugin.xml:

<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
    <extension point="">
                <providedService interface=""/>
              <requiredService interface=""/>
              <requiredService interface=""/>

Any guess?

Ralph Schoon commented Jul 20 '15, 2:52 a.m.

It would be way more helpful if you had provided the error message.

Luca Martinucci commented Jul 20 '15, 2:57 a.m.

This is the errror message:

The service '' failed to find the required service 'interface'. Check <prerequisites> in plugin.xml.

Accepted answer

permanent link
Ralph Schoon (63.2k33646) | answered Jul 20 '15, 3:18 a.m.
edited Jul 20 '15, 3:20 a.m.
I have used this in and it worked for me.

Luca Martinucci selected this answer as the correct answer

Luca Martinucci commented Jul 28 '15, 4:25 a.m.

Actually, I think that my syntax is correct.
I suppose that the service provider plugin is unable to retrieve the services because, being a service provider and neither an advisor nor a participant, it is not triggered by the Jazz server, so its plugin.xml is not parsed and its list of required services is empty (I debugged it, so I am sure that this list is empty).
Anyway, I solved the problem in a different way, by making each advisor and participant plugin retrieve the services and pass them to the service provider.

Your answer

Register or 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.