RTC Operation Participant Not Initializing
I am trying to create an operation participant plug-in. I have used this article to set up my environment and create the included sample advisor. This is working successfully. Using this reference I've created a new plug-in project which extends com.ibm.team.process.service.operationParticipants instead of *.operationAdvisors. And my class implements IOperationParticipant.
When I build to the server, the plug-in is not initializing. However, I receive no errors in the jazz.log. In the command line I cannot see the Console.out.println I added in the Activator class and in my RTC Project Area - Follow-up actions there are still 0 available. What am I missing? |
5 answers
Please check your extension definition in the plugin.xml. It looks like the class ("workitem.extension.participant.defect.selectSeverityOnInitialSave") specified in the extension dose not exist. I guess the class name might be workitem.extension.participant.defect.
|
Here's the error log now:
http-9443-Processor24] ERROR com.ibm.team.process.common - CRJAZ6011E:An exception occurred creating extension. |
Thanks huangqf, but I was already resetting the server with the URL provided.
As an Update: I've used the IBM Rational Team Concert Extensibility Workshop pdf from the workshop page -- http://jazz.net/library/article/477 to realize I also needed to add required Features to the Feature project. Now my Participant is showing as an option to save a work item. However, when I try to save the option I am getting the error - 'Failed to Instantiate Participant, an exception occurred creating extension.' In the log I'm getting a class not found error. |
I guess you will need to reset the server to load the new plugin, just as
mentioned in http://jazz.net/library/article/495: Invoking the following URL https://localhost:9443/jazz/admin/cmd/requestReset and restart the server. |
Update - I am now getting an error in my log --
2010-10-28 18:13:53,102 WARN com.ibm.team.repository.service.internal.scheduler - CRJAZ0867I Attempted to remove the job "LogChangeEventAppenderTask" but the job is not scheduled. 2010-10-28 18:15:17,744 INFO uration.OverridablePropertyFileServerConfiguration - CRJAZ1363I Loading configuration from "file:///C%3a/RTC-EX~1.2IF/jazz/server/conf/jazz/teamserver.properties". 2010-10-28 18:15:19,636 INFO .repository.service.internal.rdb.ConnectionFactory - CRJAZ1365I Attempting Initial Database Connection Using Db Name/Location: //localhost:1433;databaseName=jazz;user=xxxxxxxx;password=xxxxxxxx; 2010-10-28 18:15:19,877 INFO .repository.service.internal.rdb.ConnectionFactory - CRJAZ1364I Initial database connection successful Db Product Name: Microsoft SQL Server Db Product Version: 9.00.1399 Db URL: jdbc:sqlserver://localhost:1433;xopenStates=false;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;loginTimeout=15;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=jazz;applicationName=Microsoft SQL Server JDBC Driver; Jdbc Driver Name: Microsoft SQL Server JDBC Driver 2.0 Jdbc Driver Version: 2.0.1803.100 2010-10-28 18:15:20,087 INFO m.team.fulltext.service.internal.index.IndexConfig - CRJAZ8192I: Fulltext Index Location: C:\RTC-ExpressC-Server-2.0.0.2iFix3-Win32\jazz\server\workitemindex\fulltext_index 2010-10-28 18:15:20,087 INFO m.team.fulltext.service.internal.index.IndexConfig - CRJAZ8190E: The fulltext index location property (indexLocation) should point to an absolute directory but is currently set to 'workitemindex' 2010-10-28 18:16:02,137 WARN net.jazz.ajax.service.internal.http.ProxyHandler - No whitelist configured for web UI server 2010-10-28 18:16:02,137 WARN net.jazz.ajax.service.internal.http.ProxyHandler - Attempt made to make a remote request to URI https://localhost:9443/jazz/storage, but no whitelist is configured 2010-10-28 18:16:02,147 ERROR net.jazz.ajax.service.internal.http.ThemingHandler - Error creating namespace (response code 403): null |
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.