12-12-2012 07:09 AM
Dec 12, 2012 5:15:22 AM org.activiti.engine.impl.interceptor.CommandContext close
SEVERE: Error while closing command context
org.activiti.engine.ActivitiException: couldn't instantiate class com.zukbox.bpmn.process.UpdateSQLProcessTask
at org.activiti.engine.impl.util.ReflectUtil.instantiate(ReflectUtil.java:131)
at org.activiti.engine.impl.bpmn.helper.ClassDelegate.instantiateDelegate(ClassDelegate.java:162)
….
Caused by: org.activiti.engine.ActivitiClassLoadingException: Class not found: com.zukbox.bpmn.process.UpdateSQLProcessTask
at org.activiti.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:81)
at org.activiti.engine.impl.util.ReflectUtil.instantiate(ReflectUtil.java:128)
… 58 more
Caused by: java.lang.ClassNotFoundException: com.zukbox.bpmn.process.UpdateSQLProcessTask
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1714)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1559)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
[color=#FF0000]at org.activiti.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:62)[/color]
….
[color=#FF0000]at org.activiti.engine.impl.util.ReflectUtil.loadClass(ReflectUtil.java:62)[/color]
… 59 more
Dec 12, 2012 5:15:24 AM org.activiti.engine.impl.interceptor.CommandContext close
SEVERE: Error while closing command context
org.activiti.engine.ActivitiOptimisticLockingException: TimerEntity[71397] was updated by another transaction concurrently
at org.activiti.engine.impl.db.DbSqlSession.flushUpdates(DbSqlSession.java:652)
at org.activiti.engine.impl.db.DbSqlSession.flush(DbSqlSession.java:460)
at org.activiti.engine.impl.interceptor.CommandContext.flushSessions(CommandContext.java:167)
12-13-2012 02:40 AM
12-13-2012 06:25 AM
1: classes on a remote filesystem that is not accessible for a short period?Thanks for your interest in this post.
2: this can happen. Search the forum and docs about optimistic lock exceptions.
3: no idea…
12-13-2012 01:48 PM
12-13-2012 03:19 PM
12-13-2012 04:18 PM
Hi,Nope, there's no easy easy way to reproduce this…It happens with some of my processes but not all of them and only when they are running on a timer, if I execute the job then it all works like it should.
Is this only happening sometimes or can it be easily reproduced? Then I can look into it.
Best regards,
12-14-2012 03:14 AM
12-14-2012 07:54 AM
Okay fair enough. Some more questions to get this reproduced then.
Are you using a timer start event? And after this timer start event there's a service task that invokes a Java class?
Are you using a Spring bean with an expression or the class attribute of the service task element?
Did you deploy the JAR to the WEB-INF/lib of the application?
Are you using the Activiti Explorer or a self made application?
Best regards,
12-15-2012 03:27 AM
12-17-2012 06:45 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.