You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "tadayosi (via GitHub)" <gi...@apache.org> on 2024/03/22 07:15:28 UTC

[PR] Fix command `camel jolokia` fails to attach JVM agent [camel]

tadayosi opened a new pull request, #13585:
URL: https://github.com/apache/camel/pull/13585

   # Description
   
   It failed with "Failed to find Agent-Class manifest attribute from .../jolokia-agent-jvm-2.0.2.jar" since Jolokia upgrade to 2.0.x.
   
   console 1:
   ```console
   ➡  camel jolokia hello
   Cannot execute jolokia command due: Error while loading Jolokia agent to a JVM process
   ```
   
   console 2:
   ```console
   2024-03-22 16:01:06.134  INFO 2110231 --- [ - timer://java] hello.java:14                       : Hello Camel from route1
   2024-03-22 16:01:07.135  INFO 2110231 --- [ - timer://java] hello.java:14                       : Hello Camel from route1
   Failed to find Agent-Class manifest attribute from /home/tasato/.m2/repository/org/jolokia/jolokia-agent-jvm/2.0.2/jolokia-agent-jvm-2.0.2.jar
   2024-03-22 16:01:08.135  INFO 2110231 --- [ - timer://java] hello.java:14                       : Hello Camel from route1
   2024-03-22 16:01:09.135  INFO 2110231 --- [ - timer://java] hello.java:14                       : Hello Camel from route1
   
   ```
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (note that Camel 3 uses `camel-3.x`, whereas Camel 4 uses the `main` branch)
   
   # Tracking
   - [x] If this is a large change, bug fix, or code improvement, I checked there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it).
   
   <!--
   # *Note*: trivial changes like, typos, minor documentation fixes and other small items do not require a JIRA issue. In this case your pull request should address just this issue, without pulling in other changes.
   -->
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful subject line and body.
   
   <!--
   If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue.
   -->
   
   - [x] I have run `mvn clean install -DskipTests` locally and I have committed all auto-generated changes
   
   <!--
   You can run the aforementioned command in your module so that the build auto-formats your code. This will also be verified as part of the checks and your PR may be rejected if if there are uncommited changes after running `mvn clean install -DskipTests`.
   
   You can learn more about the contribution guidelines at https://github.com/apache/camel/blob/main/CONTRIBUTING.md
   -->
   
   


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix command `camel jolokia` fails to attach JVM agent [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus commented on PR #13585:
URL: https://github.com/apache/camel/pull/13585#issuecomment-2014495322

   already done on main


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix command `camel jolokia` fails to attach JVM agent [camel]

Posted by "tadayosi (via GitHub)" <gi...@apache.org>.
tadayosi commented on PR #13585:
URL: https://github.com/apache/camel/pull/13585#issuecomment-2014505571

   @davsclaus Today I collided with your work twice :joy:  Thanks anyway!


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix command `camel jolokia` fails to attach JVM agent [camel]

Posted by "davsclaus (via GitHub)" <gi...@apache.org>.
davsclaus closed pull request #13585: Fix command `camel jolokia` fails to attach JVM agent
URL: https://github.com/apache/camel/pull/13585


-- 
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: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org