Paul
12-16-2010, 11:51 AM
Hi,
We’re still neophytes in your world but one of the things we’re have a hard time understanding and dealing with are the object locks being created and when those locks are released and whether or not we can gain finer control. For instance:
I created a test user account on our AS/400 and in Valence Administration which I logged in with just to make sure a grid was limited as expected. I logged out and tried to delete the account from the AS/400 but it was being held by the VALENCE22 job under the QTMHTTP user. I’ve been trying to shut down the server to release the lock but the server won’t shut down. I’ve logged out of all Valence sessions and closed by browser but the server is still running. In WRKACTJOBS I have VALENCE22 jobs still showing under both the test account I'm trying to delete and the real account I'm using for the application. And in the HTTP administrator the server status is “Stopping”. It’s been 20 minutes. This is the second time this has happened where the server would not shut down and one of the users had a file locked. I had to end the jobs manually. See the next issue.
I had a logical file I created and after testing it in Valence I realized I forgot to include a column. When I tried to delete the logical so I could recreate it, it was still held by the VALENCE22 jobs running under the user I had logged in to Valence with even though I had logged out and closed the browser. I was able to release the lock by manually ending the job.
There have been numerous other instances similar to the latter where I was only able to release the lock by restarting the server. Can someone explain to us how the object locks work, how long they’re held after log out, and if possible any additional controls we can use to force locks to be released without restarting the server instance?
Thanks,
Paul
We’re still neophytes in your world but one of the things we’re have a hard time understanding and dealing with are the object locks being created and when those locks are released and whether or not we can gain finer control. For instance:
I created a test user account on our AS/400 and in Valence Administration which I logged in with just to make sure a grid was limited as expected. I logged out and tried to delete the account from the AS/400 but it was being held by the VALENCE22 job under the QTMHTTP user. I’ve been trying to shut down the server to release the lock but the server won’t shut down. I’ve logged out of all Valence sessions and closed by browser but the server is still running. In WRKACTJOBS I have VALENCE22 jobs still showing under both the test account I'm trying to delete and the real account I'm using for the application. And in the HTTP administrator the server status is “Stopping”. It’s been 20 minutes. This is the second time this has happened where the server would not shut down and one of the users had a file locked. I had to end the jobs manually. See the next issue.
I had a logical file I created and after testing it in Valence I realized I forgot to include a column. When I tried to delete the logical so I could recreate it, it was still held by the VALENCE22 jobs running under the user I had logged in to Valence with even though I had logged out and closed the browser. I was able to release the lock by manually ending the job.
There have been numerous other instances similar to the latter where I was only able to release the lock by restarting the server. Can someone explain to us how the object locks work, how long they’re held after log out, and if possible any additional controls we can use to force locks to be released without restarting the server instance?
Thanks,
Paul