It's all about the answers!

Ask a question

Unable to execute an operation


Vikas Setty (2162) | asked Sep 08 '08, 8:02 a.m.
JAZZ DEVELOPER
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

3 answers



permanent link
Jared Burns (4.5k29) | answered Sep 08 '08, 11:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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

permanent link
Vikas Setty (2162) | answered Sep 10 '08, 3:32 a.m.
JAZZ DEVELOPER
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



permanent link
Matt Lavin (2.7k2) | answered Sep 10 '08, 8:08 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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



Your answer


Register or 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.