[
https://issues.apache.org/jira/browse/CAMEL-20847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852800#comment-17852800
]
Claus Ibsen commented on CAMEL-20847:
-------------------------------------
camel run cheese.xml --console --prop=camel.server.jolokiaEnabled=true
> camel-jbang - Run with jolokia enabled does not work
> ----------------------------------------------------
>
> Key: CAMEL-20847
> URL: https://issues.apache.org/jira/browse/CAMEL-20847
> Project: Camel
> Issue Type: Bug
> Components: camel-jbang
> Affects Versions: 4.6.0
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.x
>
>
> 2024-06-06 15:59:35.592 ERROR 78029 --- [ntloop-thread-0]
> io.vertx.ext.web.RoutingContext : Unhandled exception in router
> java.lang.NoSuchMethodError: 'org.json.simple.JSONObject
> org.jolokia.server.core.http.HttpRequestHandler.handleThrowable(java.lang.Throwable)'
> at
> org.apache.camel.component.platform.http.plugin.DefaultJolokiaPlatformHttpPlugin.lambda$createVertxHandler$0(DefaultJolokiaPlatformHttpPlugin.java:184)
> ~[camel-platform-http-jolokia-4.7.0-SNAPSHOT.jar:4.7.0-SNAPSHOT]
> at
> io.vertx.ext.web.impl.BlockingHandlerDecorator.lambda$handle$0(BlockingHandlerDecorator.java:48)
> ~[vertx-web-4.5.7.jar:4.5.7]
> at
> io.vertx.core.impl.ContextImpl.lambda$executeBlocking$1(ContextImpl.java:191)
> ~[vertx-core-4.5.7.jar:4.5.7]
> at io.vertx.core.impl.ContextInternal.dispatch(ContextInternal.java:279)
> ~[vertx-core-4.5.7.jar:4.5.7]
> at
> io.vertx.core.impl.ContextImpl.lambda$internalExecuteBlocking$2(ContextImpl.java:210)
> ~[vertx-core-4.5.7.jar:4.5.7]
> at io.vertx.core.impl.TaskQueue.run(TaskQueue.java:76)
> ~[vertx-core-4.5.7.jar:4.5.7]
> at
> java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
> ~[?:?]
> at
> java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
> ~[?:?]
> at
> io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
> [netty-common-4.1.108.Final.jar:4.1.108.Final]
> at java.base/java.lang.Thread.run(Thread.java:833) [?:?]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)