Downloaded camunda-bpm-ee-wildfly-7.15.4-ee.zip and running ./start-camunda.sh in Mac OSX Big Sur
I get:
./start-camunda.sh
22:29:40,846 ERROR [org.camunda.bpm.engine.context] (MSC service thread 1-8) ENGINE-16004 Exception while closing command context: ENGINE-03051 There was an exception while invoking the TaskListener. Message: ‘Can’t find scripting engine for ‘javascript’: scriptEngine is null’: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: ‘Can’t find scripting engine for ‘javascript’: scriptEngine is null’
22:29:40,855 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service org.camunda.bpm.platform.process-application-module.“deployment.camunda-example-invoice-7.15.4-ee.war”.START: org.jboss.msc.service.StartException in service org.camunda.bpm.platform.process-application-module.“deployment.camunda-example-invoice-7.15.4-ee.war”.START: Exception while invoking the @PostDeploy method
Caused by: org.camunda.bpm.engine.ProcessEngineException: ENGINE-03051 There was an exception while invoking the TaskListener. Message: ‘Can’t find scripting engine for ‘javascript’: scriptEngine is null’
Caused by: org.camunda.bpm.engine.exception.NullValueException: Can’t find scripting engine for ‘javascript’: scriptEngine is null
22:29:40,860 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation (“deploy”) failed - address: ([(“deployment” => “camunda-example-invoice-7.15.4-ee.war”)]) - failure description: {“WFLYCTL0080: Failed services” => {“org.camunda.bpm.platform.process-application-module."deployment.camunda-example-invoice-7.15.4-ee.war".START” => "Exception while invoking the @PostDeploy method
Caused by: org.camunda.bpm.application.ProcessApplicationExecutionException: java.lang.reflect.InvocationTargetException
22:29:40,948 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 22.0.1.Final (WildFly Core 14.0.1.Final) started (with errors) in 9237ms - Started 773 of 980 services (1 services failed or missing dependencies, 371 services are lazy, passive or on-demand)
22:29:40,950 INFO [org.jboss
which java
/usr/local/opt/openjdk/bin/java
➜ camunda-bpm-ee-wildfly-7.15.4-ee java --version
openjdk 16.0.1 2021-04-20
OpenJDK Runtime Environment Homebrew (build 16.0.1+0)
OpenJDK 64-Bit Server VM Homebrew (build 16.0.1+0, mixed mode, sharing)
or how to set java to version that is supported only for this local project in ~/.zshrc?