<?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 and Karaf in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191113#M144243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No there's no standard provisioning in the Activiti project for Karaf. I did create one for my Activiti in Action book though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The stack trace you included doesn't show classloading issues to me. Or is there more information in the stack trace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&amp;nbsp; regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Aug 2014 12:50:39 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2014-08-12T12:50:39Z</dc:date>
    <item>
      <title>Activiti and Karaf</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191112#M144242</link>
      <description>Activiti 5.16 is now OSGi compatible and Apache Karaf is a great environment to run Activiti. After some time I managed to install the engine as bundles in Apache Karaf. My first question is: Is there a standard provisioning for installing Activiti in Karaf (i.e. a feature.xml)?What I did is to impl</description>
      <pubDate>Tue, 12 Aug 2014 11:25:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191112#M144242</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2014-08-12T11:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Karaf</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191113#M144243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No there's no standard provisioning in the Activiti project for Karaf. I did create one for my Activiti in Action book though.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The stack trace you included doesn't show classloading issues to me. Or is there more information in the stack trace?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best&amp;nbsp; regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 12:50:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191113#M144243</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-08-12T12:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Karaf</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191114#M144244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I took a look into the activiti sources and saw a method in DefaultProcessDiagramCanvas &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public DefaultProcessDiagramCanvas(int width, int height, int minX, int minY, String imageType, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String activityFontName, String labelFontName, ClassLoader customClassLoader) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;which indicates, that you can use another ClassLoader which breaks OSGi principles &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:00:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191114#M144244</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2014-08-12T13:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Karaf</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191115#M144245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is this Github project by axemblr: &lt;/SPAN&gt;&lt;A href="https://github.com/axemblr/activiti-karaf" rel="nofollow noopener noreferrer"&gt;https://github.com/axemblr/activiti-karaf&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;But it is about 2 years old and targets Activiti 5.10. Upgrading it to newest version and dependencies will require quite a bit of effort.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also there are issues with Spring 4.x used by the latest Activiti version, which no longer offers native support for OSGi. As an alternative the jars are 'rebundled' by the guys on the Apache ServiceMix project, and a Karaf feature is available to install them: &lt;/SPAN&gt;&lt;A href="http://repo1.maven.org/maven2/org/apache/karaf/features/spring/3.0.1/spring-3.0.1-features.xml" rel="nofollow noopener noreferrer"&gt;http://repo1.maven.org/maven2/org/apache/karaf/features/spring/3.0.1/spring-3.0.1-features.xml&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This feature.xml also contains the spring-dm feature, where the version-range is modified, so Spring 4 is included. But for spring-dm the continued compatibility with new Spring releases is a bit uncertain.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 13:13:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191115#M144245</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2014-08-12T13:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Karaf</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191116#M144246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@trademak: Basicly, I did the same as you in the book-osgi-app (I like the idea of deploying seperate process osgi bundles), but the problem of generating the process image is still there. Can you reproduce this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know the &lt;/SPAN&gt;&lt;A href="https://github.com/axemblr/activiti-karaf" rel="nofollow noopener noreferrer"&gt;https://github.com/axemblr/activiti-karaf&lt;/A&gt;&lt;SPAN&gt; project but is not update-to-date and unnecessary complicated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Aug 2014 14:39:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191116#M144246</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2014-08-12T14:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Activiti and Karaf</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191117#M144247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved the problem by doing some "hacks" - but is there a way to remove the ugly classLoader functionality from org.activiti.image.util.ReflectUtil?? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Set the ClassLoader:&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;bean id="processEngineConfiguration" class="org.activiti.spring.SpringProcessEngineConfiguration"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="dataSource" ref="dataSource" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="jobExecutorActivate" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="enableDatabaseEventLogging" value="true" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="classLoader" ref="classLoader" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/bean&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="classLoader" factory-bean="classLoaderFactory" factory-method="getObject" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;bean id="classLoaderFactory" class="my.ClassLoaderFactoryBean" /&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;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class ClassLoaderFactoryBean implements BundleContextAware {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; private BundleContext bundleContext;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; public void setBundleContext(BundleContext bundleContext) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; this.bundleContext = bundleContext;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public ClassLoader getObject() {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Bundle bundle = this.bundleContext.getBundle();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; return bundle.adapt(BundleWiring.class).getClassLoader();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&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;Embed the images:&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;Embed-Transitive&amp;gt;true&amp;lt;/Embed-Transitive&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;Embed-Dependency&amp;gt;artifactId=activiti-image-generator;inline=org/activiti/icons/**&amp;lt;/Embed-Dependency&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2014 08:27:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activiti-and-karaf/m-p/191117#M144247</guid>
      <dc:creator>bkonrad</dc:creator>
      <dc:date>2014-08-13T08:27:19Z</dc:date>
    </item>
  </channel>
</rss>

