ENGINE-09008 -The process could not be started. : Cannot instantiate process definition

Problem: Error trying to start process.

Server: camunda_wildfly_ee_7.13

Configurtion build war:
-Attach pom.xmlpom.xml (1.8 KB)

Error message:

The process could not be started. : Cannot instantiate process definition start:1:808d3e5b-b468-11ea-9a3f-00224800f570: ENGINE-09008 Exception while instantiating class ‘com.camunda.bpm.Control’: ENGINE-09017 Cannot load class ‘com.camunda.bpm.Control’: com.camunda.bpm.Control from [Module “deployment.camunda-webapp-ee-jboss-7.13.0-ee.war” from Service Module Loader]

LOG DEPLOY WAR OK: (This war have the class com.camunda.bpm.Control)
11:07:45,772 INFO [org.camunda.bpm.webapp.impl.plugin.LicenseCheckResourceOverride] (default task-3) Found valid license key for customer corus.
11:13:51,090 INFO [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0027: Starting deployment of “corusconsulting_wildfly-0.0.1-SNAPSHOT.war” (runtime-name: “corusconsulting_wildfly-0.0.1-SNAPSHOT.war”)
11:13:51,431 INFO [org.camunda.bpm.container.impl.jboss.deployment.processor.ProcessApplicationProcessor] (MSC service thread 1-6) Detected user-provided @ProcessApplication component with name ‘com.camunda.bpm.SpringServletProcessApplication’.
11:13:51,558 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool – 24) WFLYUT0021: Registered web context: ‘/corusconsulting_wildfly-0.0.1-SNAPSHOT’ for server ‘default-server’
11:13:51,561 INFO [org.camunda.bpm.container.impl.jboss.service.ProcessApplicationDeploymentService] (ServerService Thread Pool – 92) Not creating a deployment for process archive ‘loan-approval’: no resources provided.
11:13:51,565 INFO [stdout] (MSC service thread 1-2) INICIO POST DEPLOY
11:13:51,653 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) WFLYSRV0010: Deployed “corusconsulting_wildfly-0.0.1-SNAPSHOT.war” (runtime-name : “corusconsulting_wildfly-0.0.1-SNAPSHOT.war”)

Is your process model not part of your WAR file?

No, I first do the deploy the file.bpmn from to Cockpit Deployments, and then I do the deploy the file.war introducing the file.war in standole–>deployments.

So doing that will break the relationship between the model and the class - if you plan on calling java classes directly like that you need to deploy them along with the process model by leaving the model in the resources folder when building your WAR file.

Thanks, this solve the problem.:slight_smile: