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

Unable to execute an operation

I am writing a server side component which needs an operation to be advised and executed. I have followed all the steps required to open up for process participation.

But when I try to execute the operation using following code:

IServerProcess serverProcess = processService
.getServerProcess(teamArea);
IOperationReport report = serverProcess.adviseAndExecute(someOp);


I get this exception:
com.ibm.team.process.common.advice.TeamOperationCanceledException: 'Updating Timesheet Hours' failed. Missing required license.


But I have required licenses for jazz contributor and developer (std version).

How to get rid of this exception, am I missing any step?

Thanks

0 votes



3 answers

Permanent link
Are you defining your operation in the "com.ibm.*" namespace? If so, you
will need to add an additional segment to your operation:
"com.ibm.unlicensed.*"

Operations in the "com.ibm.*" namespace have to be added to a client
access license (CAL) in order to be runnable with the standard server
key we include in RTC.

Jared Burns
Jazz Process Team


vikasbs wrote:
I am writing a server side component which needs an operation to be
advised and executed. I have followed all the steps required to open
up for process participation.

But when I try to execute the operation using following code:

IServerProcess serverProcess = processService
.getServerProcess(teamArea);
IOperationReport report =
serverProcess.adviseAndExecute(someOp);


I get this exception:
com.ibm.team.process.common.advice.TeamOperationCanceledException:
'Updating Timesheet Hours' failed. Missing required
license.


But I have required licenses for jazz contributor and developer (std
version).

How to get rid of this exception, am I missing any step?

Thanks

0 votes


Permanent link
Thanks Jared, it worked.

Pls correct me if I am wrong, you mean that if we have to create new operations in com.ibm.* namespace, then we have to create new license keys and then import them under License management?

Thanks,
Vikas

Are you defining your operation in the "com.ibm.*" namespace? If so, you
will need to add an additional segment to your operation:
"com.ibm.unlicensed.*"

Operations in the "com.ibm.*" namespace have to be added to a client
access license (CAL) in order to be runnable with the standard server
key we include in RTC.

Jared Burns
Jazz Process Team


0 votes


Permanent link
You are right. Any operation in the com.ibm.* namespace (other than
"com.ibm.unlicensed.*") needs to be included in a CAL.

If you are creating a new process operation for an IBM product, then the
product should have it's own CALs that cover the operation namespace
you are using.

Matt Lavin
Jazz Server Team


vikasbs wrote:
Thanks Jared, it worked.

Pls correct me if I am wrong, you mean that if we have to create new
operations in com.ibm.* namespace, then we have to create new license
keys and then import them under License management?

Thanks,
Vikas

jburnswrote:
Are you defining your operation in the "com.ibm.*"
namespace? If so, you
will need to add an additional segment to your operation:
"com.ibm.unlicensed.*"

Operations in the "com.ibm.*" namespace have to be added
to a client
access license (CAL) in order to be runnable with the standard
server
key we include in RTC.

Jared Burns
Jazz Process Team



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
× 10,951

Question asked: Sep 08 '08, 8:02 a.m.

Question was seen: 8,010 times

Last updated: Sep 08 '08, 8:02 a.m.

Confirmation Cancel Confirm