AnsweredAssumed Answered

UserTransaction is taking lot of time to commit

Question asked by chaituu on Jul 7, 2016
application is deployed in the clustered env(4 nodes).3 nodes will be used for zip extraction process.so 3 nodes will be called same code and below code started the Transaction till extraction was completed.But during commit of the transaction its taking lot of time.We are using 4.2 version.may be during concurrency the transaction is not getting is committed or is there any other reason?.we are using 4.2 enterprise version.

UserTransaction txn = transactionService.getNonPropagatingUserTransaction();

            try {
                txn.begin();
                QName jobType = nodeService.getType(nodeRef);
                //Below method does the zip extraction
                final Summary summary = extractService.extract(jobType, nodeRef);

                //This commit method is taking long time
                txn.commit();
            }

Outcomes