From: SourceForge.net <no...@so...> - 2011-10-06 13:56:42
|
Bugs item #3419602, was opened at 2011-10-06 11:56 Message generated for change (Tracker Item Submitted) made by r_botto You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=3419602&group_id=17691 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: rbotto (r_botto) Assigned to: Nobody/Anonymous (nobody) Summary: ElementImpl.appendChild transaction Initial Comment: I am using exist 1.4.1 as an atom server and metadata repository. When I try to activate backup jobs in conf.xml, we found that triggers never starts. Looking in detail we found that there was an activeTransacion after an atom post to modify an entry in some feed. The transaction was created at ElementImpl.appendChild : java.lang.Throwable at org.exist.storage.txn.TransactionManager.beginTransaction(TransactionManager.java:152) at org.exist.dom.ElementImpl.appendChild(ElementImpl.java:410) at org.exist.atom.util.DOMDB.replaceTextElement(DOMDB.java:40) at org.exist.atom.modules.AtomProtocol.doPost(AtomProtocol.java:269) at org.exist.atom.modules.AtomModuleBase.process(AtomModuleBase.java:55) at org.exist.atom.http.AtomServlet.service(AtomServlet.java:445) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:343) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:47) and never closed. Looking at appendChild and insertBefore in ElementImpl, insertBefore does a commit for the transaction and appendChild doesn't commit. Is correct to commit the transaction at appendChild ? Doing the change corrects the problem i have, but I want some confirmation. Regards, Rodolfo Botto. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=3419602&group_id=17691 |