<?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 Deploy Implementations for ServiceTasks on JBoss Separately in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/deploy-implementations-for-servicetasks-on-jboss-separately/m-p/184145#M137275</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am quite new to Activiti and JavaEE and I wonder: How to properly deploy Implementations of ServiceTasks in JBoss?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Scenario:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using activiti-rest.war on a JBoss Wildfly and I upload processes using REST. Now, sometimes it happens that I create a process and write an implementation that should be called. How would I deploy that implementation without having to redeploy the WAR archive?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I tried: making a module that contains my classes as JAR files but sinde they extend JavaDelegate, the local classloader cannot resole that dependency. If I could make JBoss use the parent classloader, that would be too easy but that is aparently not how classloaders in JBoss are meant to work &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://connect.hyland.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I could probably do: try making a module of Activiti and deploy that while depending on it but I did not realy want to make a copy of Activiti and fiddle around every time I update Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So: how to dynamically reploy implementations at runtime without updating the WAR archive?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope someone has an idea/solution for this case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Marcus&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Nov 2014 07:17:57 GMT</pubDate>
    <dc:creator>marcuss</dc:creator>
    <dc:date>2014-11-13T07:17:57Z</dc:date>
    <item>
      <title>Deploy Implementations for ServiceTasks on JBoss Separately</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-implementations-for-servicetasks-on-jboss-separately/m-p/184145#M137275</link>
      <description>Hi,I am quite new to Activiti and JavaEE and I wonder: How to properly deploy Implementations of ServiceTasks in JBoss?Scenario:I am using activiti-rest.war on a JBoss Wildfly and I upload processes using REST. Now, sometimes it happens that I create a process and write an implementation that should</description>
      <pubDate>Thu, 13 Nov 2014 07:17:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-implementations-for-servicetasks-on-jboss-separately/m-p/184145#M137275</guid>
      <dc:creator>marcuss</dc:creator>
      <dc:date>2014-11-13T07:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: Deploy Implementations for ServiceTasks on JBoss Separately</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/deploy-implementations-for-servicetasks-on-jboss-separately/m-p/184146#M137276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Marcus.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;war should have all activiti dependencies (JavaDelegate too). Put jar file with your service task implementation into classpath and it should work. (dynamically redeploy implementations has to be supported by class loader - jBPM 3 had this feature. But there was a decision made to do not support it in activiti. Have a look there)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Nov 2014 08:10:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/deploy-implementations-for-servicetasks-on-jboss-separately/m-p/184146#M137276</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2014-11-13T08:10:04Z</dc:date>
    </item>
  </channel>
</rss>

