Response title
This is preview!
Click on Join Now to Sign Up
2 - I update the MO using TopoAPI.updateObject(MO, false, true).
According to WebNMS documentation the write lock on the MO is released on update completion.
more details...
alertAPI.clearLockForObject(alert.getEntity(), LockableObject.WRITE_LOCK);//release write lock
//then check it out
alert = alertAPI.checkout(alert.getEntity(), TIME);//successful!!!
//remove alertuserprops
alertAPI.removeUserProperties("remark");
The result is the data dissapear from the table for a while, then it come back!
The first time the trap is issued, everything works properly :
1 - I checkout the MO (as I said, I need a write lock to update the MO)
Everything goes fine.
I get the MO with a valid write lock.
2 - I update the MO using TopoAPI.updateObject(MO, false, true).
According to WebNMS documentation the write lock on the MO is released on update completion.
3 - The same device issues the trap once again (a minute later or so).
The trap processing starts normally.
The problem is : I am unable to checkout that MO.
I get a TimeoutException.