<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webscript transaction, InvalidNodeRefException in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250901#M204031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that you have to use the Java language, Alfresco doesn't provide any way to manage transactions using the Javascript API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 Feb 2011 09:36:32 GMT</pubDate>
    <dc:creator>openpj</dc:creator>
    <dc:date>2011-02-02T09:36:32Z</dc:date>
    <item>
      <title>Webscript transaction, InvalidNodeRefException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250898#M204028</link>
      <description>I have this error org.alfresco.service.cmr.repository.InvalidNodeRefException - Node does not exist: workspace://SpacesStore/7ad81e86-3a70-4cde-9c21-4d615616b6ad throw by my webscript.This error is not throw everytime, only when other webscript delete node is use by the first webscript.Webscript are</description>
      <pubDate>Fri, 21 Jan 2011 19:44:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250898#M204028</guid>
      <dc:creator>pmartin</dc:creator>
      <dc:date>2011-01-21T19:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Webscript transaction, InvalidNodeRefException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250899#M204029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;By default for each WebScript in Alfresco there is a unique transaction.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can try to change the transaction element in the webscript descriptor using the requiresnew value:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;transaction&amp;gt;requiresnew&amp;lt;/transaction&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;Maybe you could solve in this way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But if you need to implement a more complex procedure you have to implement your own WebScript using a Java-Backed WebScript and using RetryingTransactionHelper.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Java-Backed WebScript:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java-backed_Web_Scripts_Samples&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Transactions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java_Foundation_API#Handling_UserTransaction_Directly" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java_Foundation_API#Handling_UserTransaction_Directly&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 10:28:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250899#M204029</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-01-26T10:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Webscript transaction, InvalidNodeRefException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250900#M204030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;By default for each WebScript in Alfresco there is a unique transaction.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;My problem proves that is not true, one webscript change data in other webscript ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I try&amp;nbsp; &amp;lt;transaction&amp;gt;requiresnew&amp;lt;/transaction&amp;gt; and this config change absolutly nothing.&amp;nbsp; :x &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can exist a solution for webscript with javascript controler ? or only in java ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Feb 2011 19:49:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250900#M204030</guid>
      <dc:creator>pmartin</dc:creator>
      <dc:date>2011-02-01T19:49:24Z</dc:date>
    </item>
    <item>
      <title>Re: Webscript transaction, InvalidNodeRefException</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250901#M204031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that you have to use the Java language, Alfresco doesn't provide any way to manage transactions using the Javascript API.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Feb 2011 09:36:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscript-transaction-invalidnoderefexception/m-p/250901#M204031</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2011-02-02T09:36:32Z</dc:date>
    </item>
  </channel>
</rss>

