You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[To redirect Truffle log output to a file use one of the following options:
* '--log.file=<path>' if the option is passed using a guest language launcher.
* '-Dpolyglot.log.file=<path>' if the option is passed using the host Java launcher.
* Configure logging using the polyglot embedding API.]
[engine] WARNING: The polyglot context is using an implementation that does not support runtime compilation.
The guest application code will therefore be executed in interpreted mode only.
Execution only in interpreted mode will strongly impact the guest application performance.
For more information on using GraalVM see https://www.graalvm.org/java/quickstart/.
To disable this warning the '--engine.WarnInterpreterOnly=false' option or use the '-Dpolyglot.engine.WarnInterpreterOnly=false' system property.
[engine] WARNING: The polyglot context is using an implementation that does not support runtime compilation.
The guest application code will therefore be executed in interpreted mode only.
Execution only in interpreted mode will strongly impact the guest application performance.
For more information on using GraalVM see https://www.graalvm.org/java/quickstart/.
To disable this warning the '--engine.WarnInterpreterOnly=false' option or use the '-Dpolyglot.engine.WarnInterpreterOnly=false' system property.
The -Dpolyglot.engine.WarnInterpreterOnly=false can be added to the Dockerfiles and README documentation.
The first link above above will be more complicated in that research is needed to see if this can be passed through environment variables. The FOLIO environment exposes the environment variable JAVA_OPTIONS. This is probably want needs to be done, for example, the Java options is described here:
So, the environment variable may need to be set as follows (perhaps in Rancher and then documented in the code?):
# Set the location of the verticles.ENV VERTICLE_HOME /usr/verticles
# Pass custom java options.ENV JAVA_OPTIONS -XX:MaxRAMPercentage=66.0 -Dpolyglot.engine.WarnInterpreterOnly=false
An alternative might be to update the Deployment Descriptor:
The
-Dpolyglot.engine.WarnInterpreterOnly=false
can be added to theDockerfile
s and README documentation.These dockerfiles should be updated:
mod-camunda/Dockerfile
Line 1 in bc5ccc8
mod-camunda/docker/build_and_run/Dockerfile
Line 43 in bc5ccc8
The first link above above will be more complicated in that research is needed to see if this can be passed through environment variables. The FOLIO environment exposes the environment variable
JAVA_OPTIONS
. This is probably want needs to be done, for example, the Java options is described here:mod-camunda/descriptors/ModuleDescriptor-template.json
Line 402 in bc5ccc8
So, the environment variable may need to be set as follows (perhaps in Rancher and then documented in the code?):
An alternative might be to update the Deployment Descriptor:
mod-camunda/descriptors/DeploymentDescriptor-template.json
Line 5 in bc5ccc8
The second link above should be as simple as adding the parameter to the exec command like this:
CMD java -jar -Xmx4096m ./mod-camunda.jar -Dpolyglot.engine.WarnInterpreterOnly=false
The text was updated successfully, but these errors were encountered: