New user help

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?

From the Supported Environments document, Java 16 isn’t supported yet.

Try downgrading your Java.
There’s been a lot of success reported with Java 8

Thanks @GotnOGuts

Says OpenJDK 8 / 9 / 10 / 11 / 12 / 13 / 14,

so how do we download to OpenJDK 14 just for this folder?

I don’t actually have access to a Mac, so can’t really be much help there.

But…

  1. Do you have another Java version installed?
  2. You should (no promises) be able to do “JAVA_HOME=/path/to/JDK14 ./start-camunda.sh” (without quotes)

Hello @scheung38 ,

I can recommend Jenv for managing multiple JDK installations on your Macbook.

Are you familiar with using Command Line? If yes, this little guide can help you getting started with Jenv:

https://developer.bring.com/blog/configuring-jenv-the-right-way/

I hope this helps

Jonathan

1 Like

Now using 14:

But ERR:

camunda-bpm-ee-wildfly-7.15.4-ee java -version

openjdk version “14.0.2” 2020-07-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.2+12)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.2+12, mixed mode, sharing)

WARN [org.jboss.as.txn] (ServerService Thread Pool – 75) WFLYTX0013: The node-identifier attribute on the /subsystem=transactions is set to the default value. This is a danger for environments running multiple servers. Please make sure the attribute value is unique.

WARN [org.jboss.as.domain.management.security] (MSC service thread 1-2) WFLYDM0111: Keystore $HOME/Downloads/camunda-bpm-ee-wildfly-7.15.4-ee/./server/wildfly-22.0.1.Final/standalone/configuration/application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost

WARN [org.jboss.as.jaxrs] (MSC service thread 1-2) WFLYRS0018: Explicit usage of Jackson annotation in a JAX-RS deployment; the system will disable JSON-B processing for the current deployment. Consider setting the ‘resteasy.preferJacksonOverJsonB’ property to ‘false’ to restore JSON-B.

WARN [org.jboss.as.server.deployment] (MSC service thread 1-2) WFLYSRV0274: Excluded dependency org.jboss.resteasy.resteasy-jettison-provider via jboss-deployment-structure.xml does not exist.

WARN [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0274: Excluded dependency org.jboss.resteasy.resteasy-jettison-provider via jboss-deployment-structure.xml does not exist.

ERROR [stderr] (MSC service thread 1-5) Warning: Nashorn engine is planned to be removed from a future JDK release

Hi @scheung38,

you can ignore this:

With JDK 14, Javascript Nashorn is still there.

Hope this helps, Ingo

3 Likes