<?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: Hot deployment in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47416#M26882</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am able to deploy the jars containing classes for actions and tasks using simple java trick. For tomcat container provide the custom implementation of WebappClassLoader which able to load the jars at runtime using addURL() method of URLClassLoader but this custom implementation varies for tomcat container version(different implementation for 7 and 8). There is another way of providing custom class loader to process engine itself which can able to add urls of jars at runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 01 Nov 2015 12:18:40 GMT</pubDate>
    <dc:creator>vikashkumarsing</dc:creator>
    <dc:date>2015-11-01T12:18:40Z</dc:date>
    <item>
      <title>Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47411#M26877</link>
      <description>I am using the activiti engine with spring. I would like to do hot deployment for processes which use java classes &amp;amp; beans. The problem is about the deployment of java classes. Until now I put them in the classpath. Is it possible to do it without having to redeploy my web application?I found th</description>
      <pubDate>Wed, 10 Aug 2011 10:59:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47411#M26877</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-08-10T10:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47412#M26878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently, there is nothing in activiti that allows deploying the JavaDelegates (and listeners etc.) alongside with your process, so they are reloaded when process is deployed, you're on your own here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You could maybe take a look at JRebel, the have production-use stuff as well…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 11:05:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47412#M26878</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-10T11:05:29Z</dc:date>
    </item>
    <item>
      <title>Re: Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47413#M26879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is that correct that hot deployment works but only using the rest app? The new version of the explorer doesn't use REST is that right? So it wont work… ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there already a solution using OSGi? What is the project activiti-osgi used for?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I put my application in a bundle and create new bundles for the new javadelegate classes I need, will the engine be able to find my JavaDelegate classes? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for all those questions and thank you for your very helpful answers!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 07:59:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47413#M26879</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-08-19T07:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47414#M26880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;With the new explorer, hot deployment of processes is possible, no problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not only rest allows deploying, all calls to API deploy work (originating from rest or not).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not very familiar with the activiti-osgi bundle, but I remember Guillaime Nodet (FuseSource) doing a hell of a job to get that right, so I'm quite confident activiti-osgi bundle is what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 08:31:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47414#M26880</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-08-24T08:31:09Z</dc:date>
    </item>
    <item>
      <title>Re: Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47415#M26881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;With the new explorer, hot deployment of processes is possible, no problem.&lt;BR /&gt;Not only rest allows deploying, all calls to API deploy work (originating from rest or not).&lt;BR /&gt;I'm not very familiar with the activiti-osgi bundle, but I remember Guillaime Nodet (FuseSource) doing a hell of a job to get that right, so I'm quite confident activiti-osgi bundle is what you need.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, what we need now is hot deployment of JavaDelegate classes. Is there any doc to understand what is the purpose and what is done in activiti-osgi? I didn't find anything and there is no comment in the code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Aug 2011 11:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47415#M26881</guid>
      <dc:creator>bhj2</dc:creator>
      <dc:date>2011-08-24T11:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47416#M26882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am able to deploy the jars containing classes for actions and tasks using simple java trick. For tomcat container provide the custom implementation of WebappClassLoader which able to load the jars at runtime using addURL() method of URLClassLoader but this custom implementation varies for tomcat container version(different implementation for 7 and 8). There is another way of providing custom class loader to process engine itself which can able to add urls of jars at runtime.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 Nov 2015 12:18:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47416#M26882</guid>
      <dc:creator>vikashkumarsing</dc:creator>
      <dc:date>2015-11-01T12:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Hot deployment</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47417#M26883</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;SPAN&gt;yes, there are multiple ways to archive this "hot deploy" functionality:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. as you already said, a custom class loader can do that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. configure the web application context:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Context … reloadable="true"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;WatchedResource&amp;gt;path/to/watched/resource&amp;lt;/WatchedResource&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;WatchedResource&amp;gt;another/path/to/another/resource&amp;lt;/WatchedResource&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/Context&amp;gt;&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;but don't forget to be pay attention when "hot-deploying" classes into a class loader.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When the redeployed classes are already loaded, the reload process can fail and then the only recovery solution is to restart your tomcat. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this happens because there are information in PermGen which cannot be removed since are referenced by various instances in your JVM.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error is: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"PermGen out of memory"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this could be fixed by adding these arguments: &amp;lt;code&amp;gt;-XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSPermGenSweepingEnabled&amp;lt;/code&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2015 08:49:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/hot-deployment/m-p/47417#M26883</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-11-02T08:49:33Z</dc:date>
    </item>
  </channel>
</rss>

