Petals Distribution

Unable to start a Petals ESB container configured with the OpenTelemetry Java agent

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Blocker Blocker
  • Resolution: Fixed
  • Affects Version/s: 5.3.0
  • Fix Version/s: 5.4.0
  • Component/s: Container
  • Security Level: Public
  • Description:
    Hide

    The following error occurs when trying to start a Petals ESB container configured with the OpenTelemetry Java Agent: java -javaagent:/tmp/opentelemetry-javaagent.jar ...

    System class loader does not define the appendToClassPathForInstrumentation method
    Unable to add /tmp/opentelemetry-javaagent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
    FATAL ERROR in native method: processing of -javaagent failed, appending to system class path failed
    Show
    The following error occurs when trying to start a Petals ESB container configured with the OpenTelemetry Java Agent: java -javaagent:/tmp/opentelemetry-javaagent.jar ...
    System class loader does not define the appendToClassPathForInstrumentation method
    Unable to add /tmp/opentelemetry-javaagent.jar to system class path - the system class loader does not define the appendToClassPathForInstrumentation method or the method failed
    FATAL ERROR in native method: processing of -javaagent failed, appending to system class path failed
  • Environment:
    -

Activity

Hide
Christophe DENEUX added a comment - Tue, 1 Apr 2025 - 11:58:38 +0200

PetalsBootstrapClassloader updated to be able to accept a Java agent, with svn#45312

Show
Christophe DENEUX added a comment - Tue, 1 Apr 2025 - 11:58:38 +0200 PetalsBootstrapClassloader updated to be able to accept a Java agent, with svn#45312

People

Dates

  • Created:
    Tue, 1 Apr 2025 - 11:09:30 +0200
    Updated:
    Tue, 1 Apr 2025 - 11:58:38 +0200
    Resolved:
    Tue, 1 Apr 2025 - 11:58:38 +0200