Unlock user view

I have a problem with view locking in activeSync. If a user is logged in to IdM user site (and thus lock a user view), and that activeSync receives an update for the same user, activeSync will fail and skip that change number. This causes certain changes are not processed by activeSync.

Does anyone know how can I unlock a user view by using xpress/java code? In that way I can make sure activeSync process always unlock a user before any process, and thus resolve the issue.

Thanks!

[503 byte] By [steveloh] at [2007-11-26 9:40:53]
# 1

Not so good...

I have found out how to unlock a user view via xpress code. Still it doesn't solve my problem at all. The activeSync checkouts the user view long before the it processes the activeSynf Form. Thus it has thrown the lock exception before accessing my express code in the form.

I appreciate if anyone can give the slightest suggestion on how to tackle this issue.

steveloh at 2007-7-7 0:38:46 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2

You can try to minimize the impact by setting the activesync polling period to off hours (not ideal, if your requirement is near real-time data sync). You can also shorten the lock timeout value in the Repository Configuration object (lockTimeoutMillis) but this can cause problems if it's too short.

If it's a custom-built activeSync adapter, then you might be able to make use of the unlockView method in the com.waveset.object.ViewHandler interface (and/or unlockObject method in the com.waveset.session.Session interface) at the beginning of the poll cycle.

Jason

jsallee at 2007-7-7 0:38:46 > top of Java-index,Web & Directory Servers,Directory Servers...