Mahalo endless loop on prepareAndCommit
Guy Korland <[email protected]> Sun, 18 May 2008 19:04:31 +0300
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Hi,
We found out that TransactionManager.commit(long timeout) might stack
forever even if we set a timeout.
It seems like the following code on TxnManagerTransaction is the source
of it (line 680):
if ((job instanceof PrepareJob) ||
(job instanceof PrepareAndCommitJob)) {
try {
Line 680: if
(job.isCompleted(Long.MAX_VALUE)) {
result = (Integer)
job.computeResult();
Do you have any suggestions?
Thanks,
Guy
--------------------------------------------------------------------------
Getting Started: http://www.jini.org/wiki/Category:Getting_Started
Community Web Site: http://jini.org
jini-users Archive: http://archives.java.sun.com/archives/jini-users.html
Unsubscribing: email "signoff JINI-USERS" to [email protected]