<?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: Getting ActivitiIllegalArgumentException: unknown type after adding jars and running tomcat with activiti webapps. in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/getting-activitiillegalargumentexception-unknown-type-after/m-p/231632#M184762</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;Considering your code is working when the class is not packaged in a jar, I guess you have a setup area like that:&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" … &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="customFormTypes"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="your_package.YourCustomFormType"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/property&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;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it true?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe you have a custom processEngineConfiguration ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you give some more details about how you set the customFormTypes in the process engine configuration? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(you could start investigating this by putting some breakpoints into this class: ProcessEngineConfigurationImpl.java in the initFormTypes method and check what values do you have in customFormTypes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;probably this attribute will be empty or null and then have to check why is not set with the list you provided)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2016 08:01:30 GMT</pubDate>
    <dc:creator>vasile_dirla</dc:creator>
    <dc:date>2016-03-22T08:01:30Z</dc:date>
    <item>
      <title>Getting ActivitiIllegalArgumentException: unknown type after adding jars and running tomcat with activiti webapps.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-activitiillegalargumentexception-unknown-type-after/m-p/231631#M184761</link>
      <description>Hi everyone! I have created a simple project that has to user activities and two custom form types. I test the App with a JUnit Test and with an App class with a main on it and it works great, then when I create a jar file with my classes and I add them to WEB-INF/lib in both web-apps activiti-explo</description>
      <pubDate>Thu, 17 Mar 2016 21:08:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-activitiillegalargumentexception-unknown-type-after/m-p/231631#M184761</guid>
      <dc:creator>heamaya</dc:creator>
      <dc:date>2016-03-17T21:08:36Z</dc:date>
    </item>
    <item>
      <title>Re: Getting ActivitiIllegalArgumentException: unknown type after adding jars and running tomcat with activiti webapps.</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/getting-activitiillegalargumentexception-unknown-type-after/m-p/231632#M184762</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;Considering your code is working when the class is not packaged in a jar, I guess you have a setup area like that:&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" … &amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;property name="customFormTypes"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;list&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; …&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean class="your_package.YourCustomFormType"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/list&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;/property&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;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is it true?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or maybe you have a custom processEngineConfiguration ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you give some more details about how you set the customFormTypes in the process engine configuration? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(you could start investigating this by putting some breakpoints into this class: ProcessEngineConfigurationImpl.java in the initFormTypes method and check what values do you have in customFormTypes,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;probably this attribute will be empty or null and then have to check why is not set with the list you provided)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2016 08:01:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/getting-activitiillegalargumentexception-unknown-type-after/m-p/231632#M184762</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2016-03-22T08:01:30Z</dc:date>
    </item>
  </channel>
</rss>

