<?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 ActivitiException: unknown variable type name jpa-entity in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52119#M30565</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I’m having this exception when I try to use a timer boundary event to cancel a receive task. What does this exception mean? The same exception is thrown when I try to delete my deployment in Activiti Probe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My scenario is described here: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2367" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2367&lt;/A&gt;&lt;SPAN&gt; and this is my activiti.cfg.xml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&amp;lt;!– glassfish transaction manager –&amp;gt;&lt;BR /&gt;&amp;lt;bean id="transactionManager" class="org.springframework.jndi.JndiObjectFactoryBean"&amp;gt;&lt;BR /&gt;&amp;lt;property name="jndiName" value="java:appserver/TransactionManager"&amp;gt;&amp;lt;/property&amp;gt;&lt;BR /&gt;&amp;lt;property name="resourceRef" value="true" /&amp;gt;&lt;BR /&gt;&amp;lt;/bean&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.JtaProcessEngineConfiguration"&amp;gt;&lt;BR /&gt;&amp;lt;property name="dataSourceJndiName" value="jdbc/process" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="jpaPersistenceUnitName" value="process-pu" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="jpaHandleTransaction" value="false" /&amp;gt; &amp;lt;!– it's JTA –&amp;gt;&lt;BR /&gt;&amp;lt;property name="jpaCloseEntityManager" value="false" /&amp;gt; &amp;lt;!– it's container-managed –&amp;gt;&lt;BR /&gt;&amp;lt;property name="transactionManager" ref="transactionManager" /&amp;gt;&lt;BR /&gt;&amp;lt;property name="databaseSchemaUpdate" value="true" /&amp;gt;&lt;BR /&gt;&lt;BR /&gt;(…)&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I have searched the user guide and this forum, but I was unable to find the answer. According to &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=9&amp;amp;t=2293" rel="nofollow noopener noreferrer"&gt;this other topic&lt;/A&gt;&lt;SPAN&gt;, it seems my config should be jpaHandleTransaction=true and jpaCloseEntityManager=true, but in my case I need JTA (jpaHandleTransaction=false) and container-managed transactions (jpaCloseEntityManager=false).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something wrong with my config?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Sep 2011 17:23:47 GMT</pubDate>
    <dc:creator>andregs</dc:creator>
    <dc:date>2011-09-09T17:23:47Z</dc:date>
    <item>
      <title>ActivitiException: unknown variable type name jpa-entity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52119#M30565</link>
      <description>I’m having this exception when I try to use a timer boundary event to cancel a receive task. What does this exception mean? The same exception is thrown when I try to delete my deployment in Activiti Probe.My scenario is described here: http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=2367 and</description>
      <pubDate>Fri, 09 Sep 2011 17:23:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52119#M30565</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-09-09T17:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiException: unknown variable type name jpa-entity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52120#M30566</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The values of the jpaHandleTransaction and jpaCloseEntityManager don't matter. But you should set the jpaEntityManagerFactory (as the userguide states) or a jpaPersistenceUnitName…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 08:40:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52120#M30566</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-09-16T08:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: ActivitiException: unknown variable type name jpa-entity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52121#M30567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you for your reply, but jpaPersistenceUnitName was provided.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems to be an issue with job executor being used in different process engines… when I programmatically deploy my BAR file and start the job executor myself, the problem does not occur. So I stop using Activiti Probe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 11:45:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/activitiexception-unknown-variable-type-name-jpa-entity/m-p/52121#M30567</guid>
      <dc:creator>andregs</dc:creator>
      <dc:date>2011-09-16T11:45:04Z</dc:date>
    </item>
  </channel>
</rss>

