I have encountered a frustrating record locking problem in an enterprise Java
application (DB: SQL Server 2000) with Castor JDO 0.9.4
running under Windows 2000 Advanced Server.
The exception that occurs is org.exolab.castor.jdo.LockNotGrantedException, which
suggests that there is a transaction that is initiated
but not committed. I have checked all JDO methods that access the table where the
exception occurs, but it appears that all transactions
are initiated and committed properly.
Additionally, this exception is thrown only after 10-12 hours have elapsed since the
last time the Weblogic 7.0 Server process has been
restarted and occurs on only 1 of the 2 servers on which the application is resident;
despite the fact that both servers are running identical
copies of the application, this exception does not occur on the 2nd server.
Is there any way to check for the presence of a lock and to disable it in Java? The
table in question contains only 1 record.
Thank you in advance!
Edward
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev