[ 
https://issues.apache.org/jira/browse/CAMEL-28027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grzegorz Grzybek updated CAMEL-28027:
-------------------------------------
    Issue Type: Improvement  (was: Task)

> camel hawtio jbang command should use Hawtio without Jolokia libs
> -----------------------------------------------------------------
>
>                 Key: CAMEL-28027
>                 URL: https://issues.apache.org/jira/browse/CAMEL-28027
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Grzegorz Grzybek
>            Assignee: Grzegorz Grzybek
>            Priority: Major
>
> When running {{org.apache.camel.dsl.jbang.core.commands.process.Hawtio}} (via 
> {{camel hawtio}} JBang command, the Hawtio web application is taken from 
> {{io.hawt:hawtio-embedded}} maven artifact.
> However {{camel-jbang-core}} itself depends on 
> {{org.jolokia:jolokia-agent-jvm}} with {{javaagentt}} classifier which brings 
> in Jolokia dependencies to the main classpath.
> This results in the below warning:
> {noformat}
> [main] WARN org.eclipse.jetty.server.handler.ContextHandler._hawtio - 
> jolokia-agent: org.jolokia.server.core.service.api.JolokiaService interface 
> is available from multiple class loaders:
> [main] WARN org.eclipse.jetty.server.handler.ContextHandler._hawtio - 
> jolokia-agent:  - oejew.WebAppClassLoader{hawtio}@53ec2968
> [main] WARN org.eclipse.jetty.server.handler.ContextHandler._hawtio - 
> jolokia-agent:  - jdk.internal.loader.ClassLoaders$AppClassLoader@5bc2b487
> [main] WARN org.eclipse.jetty.server.handler.ContextHandler._hawtio - 
> jolokia-agent: Possible reason: Multiple Jolokia agents are installed while 
> only a single agent per runtime is supported.
> [main] WARN org.eclipse.jetty.server.handler.ContextHandler._hawtio - 
> jolokia-agent: Possible effect: Jolokia service discovery may not work 
> correctly.
> {noformat}



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to