My Oracle Support Banner

ORDS Does Not Start When Adding Opentelemetry-javaagent.jar To JDK_JAVA_OPTIONS (Doc ID 2992906.1)

Last updated on DECEMBER 19, 2023

Applies to:

Oracle REST Data Services - Version 23.3 and later
Information in this document applies to any platform.

Goal

Trying to use OpenTelemetry with Oracle REST Data Services.

After setting export JDK_JAVA_OPTIONS=-javaagent:/path/to/opentelemetry-javaagent.jar, ORDS refuses to start and gives the following error:

Error: ORDS requires Java 11 and above to run.
  Found Java version
17.0.9.
  Please set JAVA_HOME to appropriate version and update PATH if necessary.

Without JDK_JAVA_OPTIONS ORDS is able to start.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.