<?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: Not able to inject Beans in listeners in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52999#M31276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To be more precise: the activiti-rest webapp uses a Spring appliation context to configure itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The engine however, is not configured in Spring. There is an activiti.cfg.jar placed on the classpath, containing a process engine configuration for which the engine is called 'default'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The process engine is then referenced in the Spring context using the 'default' name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to tweak the activiti-rest webapp, and you want to use Spring you'll have to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- remove the activiti.cfg.jar or any other activiti.cfg.xml on the classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- add your process engine configuration to the applicationcontext (webapplicationtext.xml) of the activiti-rest webapp.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 09:38:33 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2011-06-28T09:38:33Z</dc:date>
    <item>
      <title>Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52992#M31269</link>
      <description>Hi,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have created one usertask with form. I have configured listener to that task. I have used Spring JPA. When i am submitting that form control comes to that listener but that listener not able to inject @PersistenceContext to EntityManager.Can any one help how could i configure my spring con</description>
      <pubDate>Fri, 24 Jun 2011 12:23:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52992#M31269</guid>
      <dc:creator>viral</dc:creator>
      <dc:date>2011-06-24T12:23:19Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52993#M31270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you set the required Spring scanner for @PersistenceContext support ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean class="org.springframework.orm.jpa.support.PersistenceAnnotationBeanPostProcessor" /&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 07:27:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52993#M31270</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-06-27T07:27:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52994#M31271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It is also not working after adding Spring scanner for @PersistenceContext. It is working w/o Spring scanner for @PersistenceContext when i am working JUNIT. But is not woking when i an relacing activiti.cfg.xml in rest application&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Viral&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 09:19:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52994#M31271</guid>
      <dc:creator>viral</dc:creator>
      <dc:date>2011-06-27T09:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52995#M31272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How are you replacing the activiti.cfg.xml in the REST app? Do you change the spring config manually there?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 09:34:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52995#M31272</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-06-27T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52996#M31273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, I am creating activiti-cfg.jar for my activiti.cfg.xml and then Relacing the activiti-cfg.jar .&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 10:03:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52996#M31273</guid>
      <dc:creator>viral</dc:creator>
      <dc:date>2011-06-27T10:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52997#M31274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A regular activiti.cfg.xml doesnt have Spring support, so thats why it doesnt work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You need a 'real' spring-Activiti config to make it work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 10:16:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52997#M31274</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-06-27T10:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52998#M31275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But I have configured that as given in user guide. So where do i get help for 'real' spring-Activiti.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 10:35:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52998#M31275</guid>
      <dc:creator>viral</dc:creator>
      <dc:date>2011-06-27T10:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to inject Beans in listeners</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52999#M31276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To be more precise: the activiti-rest webapp uses a Spring appliation context to configure itself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The engine however, is not configured in Spring. There is an activiti.cfg.jar placed on the classpath, containing a process engine configuration for which the engine is called 'default'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The process engine is then referenced in the Spring context using the 'default' name.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to tweak the activiti-rest webapp, and you want to use Spring you'll have to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- remove the activiti.cfg.jar or any other activiti.cfg.xml on the classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- add your process engine configuration to the applicationcontext (webapplicationtext.xml) of the activiti-rest webapp.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 09:38:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/not-able-to-inject-beans-in-listeners/m-p/52999#M31276</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-06-28T09:38:33Z</dc:date>
    </item>
  </channel>
</rss>

