<?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: error in delegate java service task when using timer in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206018#M159148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"the dataaccessmanager is @transactional annotated."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that means you have @Transactional annotation in&amp;nbsp; ITicketManager? (if so, is it an interface, or a class?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you have @Transactional on the interface maybe is better to move it in the concrete class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be nice if you could provide a unit test for it and then the community could investigate directly on your code (which is easier and productive than trying to reproduce it first)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Nov 2015 09:28:06 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2015-11-02T09:28:06Z</dc:date>
    <item>
      <title>error in delegate java service task when using timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206017#M159147</link>
      <description>Hello,i'm developing a java application, with spring and activiti intedgred in it.the application is jpa and hibernate based for dataAccess.here is my issue:my activiti process is simple:start event –&amp;gt; service task –&amp;gt; end eventwhen calling the dataAccessManager to insert feature in database du</description>
      <pubDate>Sat, 31 Oct 2015 13:29:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206017#M159147</guid>
      <dc:creator>idr_mdi</dc:creator>
      <dc:date>2015-10-31T13:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: error in delegate java service task when using timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206018#M159148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;"the dataaccessmanager is @transactional annotated."&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;that means you have @Transactional annotation in&amp;nbsp; ITicketManager? (if so, is it an interface, or a class?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if you have @Transactional on the interface maybe is better to move it in the concrete class.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would be nice if you could provide a unit test for it and then the community could investigate directly on your code (which is easier and productive than trying to reproduce it first)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 09:28:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206018#M159148</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-11-02T09:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: error in delegate java service task when using timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206019#M159149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi vasile,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks for your reply.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ITicketManager is an interface, the implementation Class (TicketManager) is @Transactional annotated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;whene i execute the service java delegate as non asynchronous task , it executes. i can have the TicketManager instance from the line code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; ITicketManager tm=(ITicketManager) execution.getVariable("ticketManager");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when i change the task to be asynchronous the same line code retrun a "com.sun.jdi.InvocationException occurred invoking method."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;remark:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when calling other beans (not DataAccessBeans) , i have no problem the get the correct instance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 11:04:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206019#M159149</guid>
      <dc:creator>idr_mdi</dc:creator>
      <dc:date>2015-11-02T11:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: error in delegate java service task when using timer</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206020#M159150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i found a solution for my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i don't pass the TicketManager as a variable during the process start but&amp;nbsp; i inject it in the task via @Autowire (having the issue of null but solved it by setting&amp;nbsp; the java delegate tas as spring bean).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 18:52:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-in-delegate-java-service-task-when-using-timer/m-p/206020#M159150</guid>
      <dc:creator>idr_mdi</dc:creator>
      <dc:date>2015-11-02T18:52:06Z</dc:date>
    </item>
  </channel>
</rss>

