squakez commented on issue #5666:
URL: https://github.com/apache/camel-k/issues/5666#issuecomment-2186324984
The problem is some kind of classpath issue, as it seems we must include the
agent in the classpath by specifying it explicitly. Running the application
with these parameters is working:
```
-
-javaagent:dependencies/lib/main/org.jolokia.jolokia-agent-jvm-2.0.2-javaagent.jar=discoveryEnabled=false,host=*,port=8778
- -cp
-
./resources:/etc/camel/application.properties:/etc/camel/resources:/etc/camel/resources.d/_configmaps:/etc/camel/resources.d/_secrets:/etc/camel/sources/camel-k-embedded-flow.yaml:dependencies/lib/main/org.jolokia.jolokia-agent-jvm-2.0.2-javaagent.jar:dependencies/*:dependencies/app/*:dependencies/lib/boot/*:dependencies/lib/main/*:dependencies/quarkus/*
- io.quarkus.bootstrap.runner.QuarkusEntryPoint
```
We can certainly workaround that. However, it is still unanswered why this
problems happened from one moment to another. I thought it may be some change
in the jdk base docker image, but, trying the application with some older image
is having the same effect.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]