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

problem with custom plugin

I had added my custom classes into the  plugin project to create custom precondition plugin ,the plugin load in operation advisor but when I run ,
the message shows Unable to instantiate Advisor.

Any Help ????

0 votes



3 answers

Permanent link
Does it run in the jetty environment as described in https://jazz.net/library/article/1000 ?

I would make that work before trying to deploy. Other typical issues are the build settings in the plug in editor (e.g. missing classes) missing dependencies etc.

Try to make it work with Jetty first and have a look at the logs. If it runs there see what the build includes and try to create an update site.

0 votes

Comments

Hi,

I was running my plugin in Tomcat. I want to call my custom java class to load on save button in RTC so, I add my custom class into plugin project. How can I do this ???

There are descriptions on the Wiki for adding buttons etc. for example here: https://jazz.net/wiki/bin/view/Main/ContributingAttributePresentationsV2 and https://jazz.net/library/LearnItem.jsp?href=content/docs/web-ui-programming/index.html I have never done what you try, so I can't help here.


Permanent link
the pre/post condition plugins run on the server, totally separated from any UI.

where are u seeing the message "the message shows Unable to instantiate Advisor.",
in the server log?


0 votes

Comments

The message Unable to instantiate advisor show in workitem page in RTC.


Permanent link
I can only imagine that this comes up when the extension point tries to instantiate the provider class. If it fails due to: issues with the plugin.xml or MANIFEST.MF, missing code or files due to the build setup. I would assume there is more information in the server logs or in the Eclipse log in the .metadata folder. 

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
× 7,519
× 1,702
× 383

Question asked: Aug 01 '12, 2:51 a.m.

Question was seen: 6,060 times

Last updated: Aug 02 '12, 7:30 a.m.

Confirmation Cancel Confirm