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 ???? |
3 answers
Ralph Schoon (63.5k●3●36●46)
| answered Aug 01 '12, 5:31 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. Comments
Sudeshna Mitra
commented Aug 01 '12, 7:46 a.m.
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. |
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? Comments
Sudeshna Mitra
commented Aug 02 '12, 7:24 a.m.
The message Unable to instantiate advisor show in workitem page in RTC. |
Ralph Schoon (63.5k●3●36●46)
| answered Aug 02 '12, 7:30 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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.
|
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.