<?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: Activiti CDI startup in an EAR with multiple WARs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175087#M128217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Heiko: thanks for this insight. Very good information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 30 May 2014 08:57:00 GMT</pubDate>
    <dc:creator>jbarrez</dc:creator>
    <dc:date>2014-05-30T08:57:00Z</dc:date>
    <item>
      <title>Activiti CDI startup in an EAR with multiple WARs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175084#M128214</link>
      <description>Hello,I'm looking to build an EAR with the following features:multiple WARs, some with Activiti, some without Activiti.Activiti libraries are in the EAR's "lib" directory, so are in the same classloader.WARs with Activiti uses CDI (i.e. they have a beans.xml and services\org.activiti.cdi.spi.Process</description>
      <pubDate>Mon, 26 May 2014 08:03:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175084#M128214</guid>
      <dc:creator>jkronegg</dc:creator>
      <dc:date>2014-05-26T08:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti CDI startup in an EAR with multiple WARs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175085#M128215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No, it seems that each war will deploy the processes. I don't think there is a way around that - you will need another way of deploying your processes (eg programmatically / through REST / …)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 08:31:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175085#M128215</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-27T08:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti CDI startup in an EAR with multiple WARs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175086#M128216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;your setup is definitely a mess with CDI. The currently available Implementation for CDI is &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;UL&gt;&lt;LI&gt;WebSphere 8.0.0.x -&amp;gt; CDI OWB 1.0.1&lt;/LI&gt;&lt;LI&gt;WebSphere 8.5.5.x -&amp;gt; CDI OWB 1.1.0&lt;/LI&gt;&lt;LI&gt;WebSphere Liberty 8.5.5 -&amp;gt; CDI OWB 1.6.x&lt;/LI&gt;&lt;/UL&gt;&lt;SPAN&gt;Even this makes it difficult to help you out, cause some major drawbacks of the CDI spec have been fixed with version 1.1.x. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What you can do to here is, that you provide a deployment.xml within your EAR and change the class loading strategy to SINGLE instead of MULTIPLE, thus all WARs, EJBs and JARs share the same class loader. We use this too in some projects to make sure CDI-interceptors and -decorators work over JAR/WAR boundaries. However, note, that this is a configuration that IBM itself considers as 'not-supported'. From our experiences it works quite well.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Some more information can be found here: &lt;/SPAN&gt;&lt;A href="https://issues.apache.org/jira/browse/DELTASPIKE-335" rel="nofollow noopener noreferrer"&gt;https://issues.apache.org/jira/browse/DELTASPIKE-335&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Deltaspike tries to get around this issue, however they can't really find a application server independent solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Heiko&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 May 2014 15:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175086#M128216</guid>
      <dc:creator>bardioc</dc:creator>
      <dc:date>2014-05-27T15:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti CDI startup in an EAR with multiple WARs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175087#M128217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@Heiko: thanks for this insight. Very good information.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 May 2014 08:57:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-cdi-startup-in-an-ear-with-multiple-wars/m-p/175087#M128217</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-05-30T08:57:00Z</dc:date>
    </item>
  </channel>
</rss>

