Hi,
I am trying to implement Document Locking for an application in a clustered environment. We have two clustered servers.
What I try to do is:
-
Users log in via web.
-
From a view users click on a link that opens an agent (sending the UNID as a parameter to the agent).
-
The agent picks up the backend document using the UNID.
-
The first thing I do when the agent has got the backend document is doc.lock(arrLockHolders, false)
-
The agent processes the document and then opens it in edit mode to the user.
My problem is that this works if the user is on the Master Lock Server. If the user is on the other server I get Error 4000 on the line where I try to lock the document.
I changed the Master Lock Server to the other server and then it works there, but not on the other server.
Anyone has any idea?
The application is rather big. Over 6 Gig and 62000 documents.
When I made a testapplication where I do basically the same thing but with only a few documents it is working fine on both servers.
Best regards!
Peter