It's all about the answers!

Ask a question

Why is my Operation Advisor not showing up when I try to enable it?

Susan Hanson (1.6k2173193) | asked Jan 20 '14, 8:41 a.m.
More Operation Advisor issues (sorry).

I have the first Operation Advisor created and enabled (following this article:

Then I wanted to do another one, so I followed the same instructions but changed a bit (name, package, logic in the advisor).  I created the Feature, created the Site, directory, etc.

Then I restarted my server, but the operation advisor is not listed in the list of Preconditions when I go into my project area.  However, I have no idea where to start debugging.  I have gone back and double-checked spelling in my directory for my site, in my .ini file for my provisioning_profiles ... everything.


sam detweiler commented Jan 20 '14, 9:02 a.m.

did u restart the server cold? it only loads plugins on cold starts

then shutdown and restart server

also look in server/logs/ccm.log for possible reasons the plugin did not load

sam detweiler commented Jan 20 '14, 11:05 a.m.

typo again

you should see this response

The Jazz Server has been flagged to reset and reload from the configured update-site when it is next restarted

Accepted answer

permanent link
sam detweiler (12.4k6178201) | answered Jan 20 '14, 10:53 a.m.
this is what I meant by define it as a requirement

on your plugin.xml, the second entry, rich click, add extensionservice
right click on extensionservice, add prerequisite

here is a plugin from Ralphwhich shows it
            name="Create Approvel Participant"
                    <requiredService interface=""/>   
                    <requiredService interface=""/>
                    <requiredService interface=""/>         
                    <requiredService interface=""/>
                    <requiredService interface=""/>             

Susan Hanson selected this answer as the correct answer

Susan Hanson commented Jan 21 '14, 3:12 a.m.

I've been looking for Ralph's Create Approval Participant, can you toss me the link, please??

And your reset command and your other answers all have my Advisor now loading and working.  I now have to get all the right logic.

sam detweiler commented Jan 21 '14, 6:16 a.m.

here is the link to the approvals participant in Ralph's blog

One other answer

permanent link
Susan Hanson (1.6k2173193) | answered Jan 20 '14, 9:24 a.m.
Thanks!  I actually went ahead and rebooted and that also cleared it up.  I'll remember to requestRestart next time.

Susan Hanson commented Jan 20 '14, 9:30 a.m.

well, spoke too soon .. it shows up now but gets an error stating that my OperationAdvisor failed to find the require dservice 'interface'. Check <prerequisites> in plugin.xml.

Well, my plugin.xml doesn't HAVE any <prerequisites> tag (maybe that is the problem), but I do have  listed as a required plugin. 

Is there a place to register this hard dependency/prereq on the class itself?


Your answer

Register or to post your answer.