You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.
Hi
I am on Forge 3.4.0.Final
I do addon-install --coordinate io.fabric8.forge:camel
wich gives me SUCCESS Addon io.fabric8.forge:camel,2.3.83 was installed successfully.
Then I use camel-connect --url http://.../jolokia
And I got a NoSuchMethodError on org.apache.http (see below)
After kicking out httpclient-4.5.2.jar out of my .forge/addons/io-fabric8-forge-camel-commands-2-3-83,it works like a charm
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at io.fabric8.forge.camel.commands.jolokia.ConnectCommand_$$javassist_2dc2464b-9ae4-447e-b8f7-9dedf7b55c13.execute(ConnectCommand$$_javassist_2dc2464b-9ae4-447e-b8f7-9dedf7b55c13.java)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:97)
at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:88)
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:176)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:158)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:149)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:137)
at org.jolokia.client.J4pClientBuilder.createPoolingConnectionManager(J4pClientBuilder.java:491)
at org.jolokia.client.J4pClientBuilder.createHttpClient(J4pClientBuilder.java:410)
at org.jolokia.client.J4pClientBuilder.build(J4pClientBuilder.java:404)
at org.apache.camel.commands.jolokia.JolokiaClientFactory.createJolokiaClient(JolokiaClientFactory.java:46)
at org.apache.camel.commands.jolokia.DefaultJolokiaCamelController.connect(DefaultJolokiaCamelController.java:87)
at io.fabric8.forge.camel.commands.jolokia.ConnectCommand.execute(ConnectCommand.java:76)
... 16 more
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I am on Forge 3.4.0.Final
I do addon-install --coordinate io.fabric8.forge:camel
wich gives me SUCCESS Addon io.fabric8.forge:camel,2.3.83 was installed successfully.
Then I use camel-connect --url http://.../jolokia
And I got a NoSuchMethodError on org.apache.http (see below)
After kicking out httpclient-4.5.2.jar out of my .forge/addons/io-fabric8-forge-camel-commands-2-3-83,it works like a charm
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at io.fabric8.forge.camel.commands.jolokia.ConnectCommand_$$javassist_2dc2464b-9ae4-447e-b8f7-9dedf7b55c13.execute(ConnectCommand$$_javassist_2dc2464b-9ae4-447e-b8f7-9dedf7b55c13.java)
at org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.execute(SingleCommandControllerImpl.java:94)
at org.jboss.forge.addon.shell.aesh.CommandAdapter.execute(CommandAdapter.java:97)
at org.jboss.forge.addon.shell.aesh.ForgeCommandContainer.executeCommand(ForgeCommandContainer.java:88)
at org.jboss.aesh.console.AeshConsoleImpl$AeshConsoleCallbackImpl.execute(AeshConsoleImpl.java:311)
at org.jboss.aesh.console.AeshProcess.run(AeshProcess.java:53)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.apache.http.impl.conn.CPool.setValidateAfterInactivity(I)V
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:176)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:158)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:149)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.(PoolingHttpClientConnectionManager.java:137)
at org.jolokia.client.J4pClientBuilder.createPoolingConnectionManager(J4pClientBuilder.java:491)
at org.jolokia.client.J4pClientBuilder.createHttpClient(J4pClientBuilder.java:410)
at org.jolokia.client.J4pClientBuilder.build(J4pClientBuilder.java:404)
at org.apache.camel.commands.jolokia.JolokiaClientFactory.createJolokiaClient(JolokiaClientFactory.java:46)
at org.apache.camel.commands.jolokia.DefaultJolokiaCamelController.connect(DefaultJolokiaCamelController.java:87)
at io.fabric8.forge.camel.commands.jolokia.ConnectCommand.execute(ConnectCommand.java:76)
... 16 more
The text was updated successfully, but these errors were encountered: