To forcefully remove an activity, use the following rhino-console command or related MBean operation.
Consult the spec before ending an activity
The JAIN SLEE 1.1 specification provides detailed rules for ending no-longer-required activities. |
Console command: removeactivity
Command |
removeactivity [-non-resident] <activity pkey>* Description Remove activities. Use -non-resident to remove activities not currently owned by any cluster node. |
---|---|
Example |
To remove the activities with the primary keys $ ./rhino-console removeactivity C.101:219852641476611.0 C.101:219852641476612.0 2 activities removed |
MBean operation: removeActivity
MBean |
|
---|---|
Rhino operation |
public void removeActivity(String activityPKey, boolean nonResident) throws InvalidPKeyException, UnknownActivityException, ManagementException; This operation removes the activity with the given primary key.
The |