AnsweredAssumed Answered

Upgrading from ver 5.7 to 5.13

Question asked by lc_at_oppd on Sep 9, 2013
Latest reply on May 13, 2014 by hendrix
I currently have a  production Grails application that utilizes the Activit workflow using Activiti ver #5.7
I’ve been maintaining this system for 2 years with no issues, connected to an Oracle schema.

Now i’m trying to upgrade to Activiti ver 5.13. (With no changes first, to make sure all is well before I start taking advantage of the current version.)
Except for the database configuration changes, I have made no other changes to ver #5.13 Activiti-Explorer and Rest.
I copied the Explorer and Rest wars to the webapps directory of tomcat and let it unpack the directory structure.
Then I made my changes, to use an Oracle database.

Here’s the problem.
When I hit this code:
runtimeService.startProcessInstanceByKey(params.processDefinitionKey, params);
I receive this error:
“ No ClassDefFoundError  org/activiti/engine/impl/bpmn/parser/BpmnParse “

I was hoping its just some missing jar  or something similar
Any help would be greatly appreciated,
Larry
Below is part of the stacktrace:

java.lang.ClassNotFoundException: org.activiti.engine.impl.bpmn.parser.BpmnParse
   at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
   at org.activiti.engine.impl.cfg.DefaultBpmnParseFactory.createBpmnParse(DefaultBpmnParseFactory.java:25)
   at org.activiti.engine.impl.bpmn.parser.BpmnParser.createParse(BpmnParser.java:59)
   at org.activiti.engine.impl.bpmn.deployer.BpmnDeployer.deploy(BpmnDeployer.java:81)
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.deploy(DeploymentManager.java:42)
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.resolveProcessDefinition(DeploymentManager.java:95)
   at org.activiti.engine.impl.persistence.deploy.DeploymentManager.findDeployedLatestProcessDefinitionByKey(DeploymentManager.java:69)
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:64)
   at org.activiti.engine.impl.cmd.StartProcessInstanceCmd.execute(StartProcessInstanceCmd.java:36)
   at org.activiti.engine.impl.interceptor.CommandExecutorImpl.execute(CommandExecutorImpl.java:24)
   at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:61)
   at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:37)
   at org.activiti.engine.impl.RuntimeServiceImpl.startProcessInstanceByKey(RuntimeServiceImpl.java:63)
   at org.activiti.engine.RuntimeService$startProcessInstanceByKey.call(Unknown Source)
   

Outcomes