vineetu1
25th February 2007, 07:37
Hi,

Has any body already deviced/developed a solution to remove all the orphaned application locks ?

What I mean by orphaned application locks:

Suppose a session is opened and application lock is activated for that user-pid-session.. and subsequently the user's login got disconnected (mostly due to time-out)..

There is no point in that application lock being still active. There should be a session which will fina all the orphaned application locks and delete those...

dilipk.pandey
26th February 2007, 08:16
Dear All,

I am also looking out for the solution of the problem what Vineet has asked. Please help.

Thanks in advance.
Dilip.

norwim
26th February 2007, 08:17
use session ttstpdelrlock

hth

Norbert

vineetu1
28th February 2007, 08:43
This application would remove the application locks for even those applications (processes) which are active.. and we don't want that.

What we want is to identify the orphaned locks and remove those.

Once the solution is identified, can incorporate it before applying any new lock...
i.e. before applying any new lock, we check whether there is any lock already present for that key ? If yes then we deny to put the lock as it is asumed that somebody is already using that application.

But in proposed senario, we will check the validity of the lock (whether it is current or orphaned) if it is orphaned the lock will be removed and a fresh lock will be inserted for the new user. (it could be the same user but the PID will change)

günther
28th February 2007, 17:10
I totally agree to your demands. But I think there will be no solution.

Here is our workaround: Every evening all users are kicked out of the system and all application locks are removed. So we can start on a defined level for the next day.

If users cannot open their sales order text and all that stuff, they must call the it department.

Günther