Paolo Antinori created AMQ-5240:
-----------------------------------
Summary: [karaf] activemq:browse fails if transport is http
Key: AMQ-5240
URL: https://issues.apache.org/jira/browse/AMQ-5240
Project: ActiveMQ
Issue Type: Bug
Components: OSGi/Karaf
Affects Versions: 5.8.0
Environment: JBoss Fuse 6.0/Karaf 2.x
Reporter: Paolo Antinori
Priority: Minor
Related to
https://issues.jboss.org/browse/ENTESB-1612
{{activemq:browse}} raises {{NoClassDefFoundError}} when trying to browse a
destination over http.
Apparently there is a dependency of some implementation classes coming from
apache-httpclient 4.2 or newer, but I haven't found a proper OSGi bundle that
exported them properly.
Found the workaround to deploy a set of bundles, + a wrapped jar to have a
succesful invocation:
{code}
mvn:org.apache.httpcomponents/httpcore-osgi/4.3
mvn:commons-logging/commons-logging/1.1.3
'wrap:mvn:org.apache.httpcomponents/httpclient/4.2.5\$Export-Package=*'
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)