<?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 Service Task could not be instantiated followed by a Boundary Timer Event on a User Task  in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196419#M149549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Platform&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Activiti Eclipse Designer 5.14 plugin&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Activiti 5.17 jars on the ClassPath&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) DB2 database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4) JDK1.8&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;5) Custom Web Application using Spring and apache-cxf REST service through JSON input&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My requirement is as follows,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) When a process is started it will come to a UserTask (Handle Request) where approver has to perform an action. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) There are two timers (Boundary Timer Event) on the UserTask (Handle Request).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; i) Reminder Notification timer (notificationTimer) for the task to be completed to approver through mail task &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; II) Auto decision timer (autoDecisionTimer) which has to cancel the approval task and move further in the process flow to ServiceTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Both the timers working fine if i dont have ServiceTask block but however if i have ServiceTask next to auto decision timer (autoDecisionTimer) only the (notificationTimer) is working fine and the (autoDecisionTimer) is failing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems like it is giving RANDOM ERRORS, very few times it working fine. The scenarios are as follows,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Following are the observations from the ACT_RU_JOB table ,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SCENARIO 1:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REV =&amp;nbsp; 7 and Exception_MSG_ =&amp;nbsp; couldn't instantiate class com.ms.msviz.activiti.workflow.servicetask.SrvcTask&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is class in ServiceTask which implements JavaDelegate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SCENARIO 2:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LOCK_EXP_TIME_ has some time and LOCK_OWNER_ has some random alphabets&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SCENARIO 3:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Everything is working fine without any issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached my process file and configuration file along with this issue, please find the attachments and please help us to resolve this issue, unable to even predict the result every time while running the process&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Oct 2015 15:46:43 GMT</pubDate>
    <dc:creator>dinesh_babu_p</dc:creator>
    <dc:date>2015-10-16T15:46:43Z</dc:date>
    <item>
      <title>Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196419#M149549</link>
      <description>Platform1) Activiti Eclipse Designer 5.14 plugin2) Activiti 5.17 jars on the ClassPath3) DB2 database4) JDK1.85) Custom Web Application using Spring and apache-cxf REST service through JSON inputMy requirement is as follows,1) When a process is started it will come to a UserTask (Handle Request) whe</description>
      <pubDate>Fri, 16 Oct 2015 15:46:43 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196419#M149549</guid>
      <dc:creator>dinesh_babu_p</dc:creator>
      <dc:date>2015-10-16T15:46:43Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196420#M149550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Really got stuck here, seeking for the help. Almost provided all the information regarding the issue. I am new to Activiti ad unable to write test cases which involves Boundary Timer. please help me in resolving this timer issue. This is the biggest ShowStopper in learning the Boundary Timer Event which involves CancelActivity="true" followed by invoking a Java Class through listeners.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly, provide us inputs to proceed further. Eagerly waiting for a response to solve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Appreciate your time,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dinesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 13:39:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196420#M149550</guid>
      <dc:creator>dinesh_babu_p</dc:creator>
      <dc:date>2015-10-19T13:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196421#M149551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dinesh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you add &lt;/SPAN&gt;&lt;CODE&gt;com.ms.msviz.activiti.workflow.servicetask.SrvcTask&lt;/CODE&gt;&lt;SPAN&gt; to the classpath?&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>Tue, 20 Oct 2015 07:04:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196421#M149551</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-10-20T07:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196422#M149552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;All the classes are added to the classpath. Whenever I invoke that class without timer it is able to pick up the class perfectly. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Exception arises only when it has to pick up after the timer which has "cancelActivity = true"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dinesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:08:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196422#M149552</guid>
      <dc:creator>dinesh_babu_p</dc:creator>
      <dc:date>2015-10-20T07:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196423#M149553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Dinesh.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Create jUnit test according to &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="https://forums.activiti.org/content/sticky-how-write-unit-test" rel="nofollow noopener noreferrer"&gt;https://forums.activiti.org/content/sticky-how-write-unit-test&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How to do that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.test.bpmn.event.timer.BoundaryTimerEventTest&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the activiti source code.&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>Tue, 20 Oct 2015 07:33:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196423#M149553</guid>
      <dc:creator>martin_grofcik</dc:creator>
      <dc:date>2015-10-20T07:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196424#M149554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have written, the test cases, the test case is passing however I am getting following exception in eclipse console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.707 [pool-1-thread-2] DEBUG o.a.engine.impl.db.DbSqlSession - executing: delete JobEntity [id=9]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.707 [pool-1-thread-2] DEBUG o.a.e.i.p.e.JobEntity.deleteTimer - ==&amp;gt;&amp;nbsp; Preparing: delete from ACT_RU_JOB where ID_ = ? and REV_ = ? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.707 [pool-1-thread-2] DEBUG o.a.e.i.p.e.JobEntity.deleteTimer - ==&amp;gt; Parameters: 9(String), 2(Integer)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.707 [pool-1-thread-2] DEBUG o.a.e.i.p.e.JobEntity.deleteTimer - &amp;lt;==&amp;nbsp;&amp;nbsp;&amp;nbsp; Updates: 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.716 [pool-1-thread-2] DEBUG o.a.e.i.interceptor.CommandContext - Optimistic locking exception : org.activiti.engine.ActivitiOptimisticLockingException: JobEntity [id=9] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.716 [pool-1-thread-2] DEBUG o.a.e.i.c.s.StandaloneMybatisTransactionContext - firing event rolling back…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.716 [pool-1-thread-2] DEBUG o.a.e.i.c.s.StandaloneMybatisTransactionContext - rolling back ibatis sql session…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.716 [pool-1-thread-2] DEBUG o.a.i.t.jdbc.JdbcTransaction - Rolling back JDBC Connection [conn2: url=jdbc:h2:mem:activiti user=SA]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.717 [pool-1-thread-2] DEBUG o.a.e.i.c.s.StandaloneMybatisTransactionContext - firing event rolled back…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.726 [pool-1-thread-2] DEBUG o.a.e.i.interceptor.LogInterceptor - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.824 [pool-1-thread-2] ERROR o.a.e.i.j.ExecuteJobsRunnable - exception during job execution: JobEntity [id=9] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiOptimisticLockingException: JobEntity [id=9] was updated by another transaction concurrently&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession$CheckedDeleteOperation.execute(DbSqlSession.java:286) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession.flushRegularDeletes(DbSqlSession.java:834) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession.flushDeletes(DbSqlSession.java:798) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:595) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:211) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContext.close(CommandContext.java:137) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:66) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) ~[activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.handleMultipleJobs(ExecuteJobsRunnable.java:94) [activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:49) [activiti-engine-5.17.0.jar:5.17.0]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_45]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_45]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;14:57:17.825 [main] DEBUG o.a.e.i.interceptor.LogInterceptor - &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached the test case documents also, please look into it and provide some inputs to resolve this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dinesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 09:36:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196424#M149554</guid>
      <dc:creator>dinesh_babu_p</dc:creator>
      <dc:date>2015-10-20T09:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196425#M149555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried running your unit test:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- I had to remove both taskListeners (as they referenced a class I didn't have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- At the end, the assertion&amp;nbsp; assertNull(task1); false. Because the timer fires and it goes to the escalation task.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- if I uncomment&amp;nbsp;&amp;nbsp;&amp;nbsp; assertEquals("Escalation", task1.getName());, it runs green&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The optimistick lock exception that you see seems to indicate something else is executing jobs. So did you check if you enabled the job executor? Disabling it should fix the test. Or do you have another engine maybe running against the same schema?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 17:51:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196425#M149555</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2015-10-20T17:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196426#M149556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, jbarrez,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our application as mentioned earlier there are two timers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Just send Email Notification after a minute (PT1M). This timer is a boundaryTimerEvent on approval task (UserTask)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2)Auto Decision timer exactly on same approval task (UserTask) which fires after 2 minutes (PT2M), it has a listener class which cannot be instantiated. If I remove the timer and try to call that class in my flow, the class can be instantiated and the flow is working fine,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But whenever it has to instantiate a class after Cancelling the approval task (UserTask), its not able to perform the operation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I made the property jobExecutorActivate="TRUE" and I have only one processEngine in my application. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dinesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 18:01:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196426#M149556</guid>
      <dc:creator>dinesh_babu_p</dc:creator>
      <dc:date>2015-10-20T18:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196427#M149557</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;Thanks for the valuable inputs provided by you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we have attached the activiti.cfg.xml file, TestTimer2.bpmn and MyUnitTest.java file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we have written the JUnit test cases for the process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;we are getting the following failure case reason, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.activiti.engine.ActivitiException: couldn't get table counts&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.TableDataManager.getTableCount(TableDataManager.java:146)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.GetTableCountCmd.execute(GetTableCountCmd.java:30)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cmd.GetTableCountCmd.execute(GetTableCountCmd.java:25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.ManagementServiceImpl.getTableCount(ManagementServiceImpl.java:53)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.test.AbstractActivitiTestCase.assertAndEnsureCleanDb(AbstractActivitiTestCase.java:137)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.test.AbstractActivitiTestCase.runBare(AbstractActivitiTestCase.java:123)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at junit.framework.TestResult$1.protect(TestResult.java:122)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at junit.framework.TestResult.runProtected(TestResult.java:142)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at junit.framework.TestResult.run(TestResult.java:125)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at junit.framework.TestCase.run(TestCase.java:129)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at junit.framework.TestSuite.runTest(TestSuite.java:252)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at junit.framework.TestSuite.run(TestSuite.java:247)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: org.apache.ibatis.exceptions.PersistenceException: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Error querying database.&amp;nbsp; Cause: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=MSVIZ.ACTIVITY, DRIVER=3.67.27&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may exist in org/activiti/db/mapping/entity/TableData.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error may involve org.activiti.engine.impl.TablePageMap.selectTableCount-Inline&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### The error occurred while setting parameters&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### SQL: select count(*) from ACTIVITY&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;### Cause: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=MSVIZ.ACTIVITY, DRIVER=3.67.27&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.exceptions.ExceptionFactory.wrapException(ExceptionFactory.java:26)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:111)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:102)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectOne(DefaultSqlSession.java:66)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.db.DbSqlSession.selectOne(DbSqlSession.java:441)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.TableDataManager.getTableCount(TableDataManager.java:186)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.activiti.engine.impl.persistence.entity.TableDataManager.getTableCount(TableDataManager.java:142)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 26 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Caused by: com.ibm.db2.jcc.am.SqlSyntaxErrorException: DB2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=MSVIZ.ACTIVITY, DRIVER=3.67.27&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at msjava.dbpool.connectionwrapper.internal.JdbcProxyingUtils$SQLExceptionHandlingInvocationHandler.invoke(JdbcProxyingUtils.java:230)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.proxy.$Proxy22.execute(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at java.lang.reflect.Method.invoke(Method.java:497)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.logging.jdbc.PreparedStatementLogger.invoke(PreparedStatementLogger.java:62)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.sun.proxy.$Proxy23.execute(Unknown Source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.statement.PreparedStatementHandler.query(PreparedStatementHandler.java:59)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.statement.RoutingStatementHandler.query(RoutingStatementHandler.java:73)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.SimpleExecutor.doQuery(SimpleExecutor.java:60)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.queryFromDatabase(BaseExecutor.java:267)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.BaseExecutor.query(BaseExecutor.java:137)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:96)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.executor.CachingExecutor.query(CachingExecutor.java:77)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at org.apache.ibatis.session.defaults.DefaultSqlSession.selectList(DefaultSqlSession.java:108)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; … 31 more&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When we run the test case using default process engine with default database, my test cases are passing successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it fails when the test cases are made through custom spring based process engine. (activiti.cfg.xml file) which i have attached here. We feel that there is issue with the configuration. Please provide us the solution for this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Waiting for your response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Dinesh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2015 19:57:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196427#M149557</guid>
      <dc:creator>dinesh_babu_p</dc:creator>
      <dc:date>2015-10-26T19:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196428#M149558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;what mybatis version are you using?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;maybe will be better if you'll provide a zip with entire unit test setup (dependencies, configs ,etc) exactly as it is in your system.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Oct 2015 11:17:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196428#M149558</guid>
      <dc:creator>vasile_dirla</dc:creator>
      <dc:date>2015-10-27T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: Service Task could not be instantiated followed by a Boundary Timer Event on a User Task</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196429#M149559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dinesh,&lt;/P&gt;&lt;P&gt;Can you please let me know, how the issue was resolved. I am getting similar Not able to instantiate error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 00:56:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/service-task-could-not-be-instantiated-followed-by-a-boundary/m-p/196429#M149559</guid>
      <dc:creator>rajr1980</dc:creator>
      <dc:date>2018-07-16T00:56:20Z</dc:date>
    </item>
  </channel>
</rss>

