You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Francisco Philip (JIRA)" <ji...@apache.org> on 2012/05/31 22:54:23 UTC

[jira] [Commented] (AMQ-3812) activemq-core won't deploy in Karaf, missing fusesource imports

    [ https://issues.apache.org/jira/browse/AMQ-3812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286925#comment-13286925 ] 

Francisco Philip commented on AMQ-3812:
---------------------------------------

Hi
I still have the problem when I use mqtt as a protcol 

<transportConnector name="mqtt" uri="mqtt://localhost:61612"/>

just test a port with telnet localhost 61612 the 
Exception in thread "ActiveMQ Transport Server Thread Handler: mqtt://localhost:61612" java.lang.NoClassDefFoundError: org/fusesource/hawtbuf/Buffer
	at org.apache.activemq.transport.mqtt.MQTTTransportFilter.<init>(MQTTTransportFilter.java:52)
	at org.apache.activemq.transport.mqtt.MQTTTransportFactory.compositeConfigure(MQTTTransportFactory.java:44)
	at org.apache.activemq.transport.TransportFactory.serverConfigure(TransportFactory.java:272)
	at org.apache.activemq.transport.mqtt.MQTTTransportFactory.serverConfigure(MQTTTransportFactory.java:56)
	at org.apache.activemq.transport.tcp.TcpTransportServer.handleSocket(TcpTransportServer.java:420)
	at org.apache.activemq.transport.tcp.TcpTransportServer$1.run(TcpTransportServer.java:353)
	at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.ClassNotFoundException: org.fusesource.hawtbuf.Buffer not found by org.apache.activemq.activemq-core [165]
	at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)
	at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)
	at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)

How features or dependecies I should be install to resolve the problem?
                
> activemq-core won't deploy in Karaf, missing fusesource imports
> ---------------------------------------------------------------
>
>                 Key: AMQ-3812
>                 URL: https://issues.apache.org/jira/browse/AMQ-3812
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.6.0
>            Reporter: Chris Geer
>            Assignee: Dejan Bosanac
>             Fix For: 5.6.0
>
>
> When trying to deploy 5.6-SNAPSHOT into Karaf/SMX activemq-core won't resolve due to missing imports. 
> org.fusesource.hawtbuf;version="[1.9,2)",
> org.fusesource.mq.leveldb,
> org.fusesource.mqtt.client,
> org.fusesource.mqtt.codec
> java.lang.Exception: Could not start bundle mvn:org.apache.activemq/activemq-core/5.6-SNAPSHOT in feature(s) activemq-5.6-SNAPSHOT, activemq-1.0-SNAPSHOT: Unresolved constraint in bundle org.apache.activemq.activemq-core [71]: Unable to resolve 71.0: missing requirement [71.0] package; (&(package=org.fusesource.hawtbuf)(version>=1.9.0)(!(version>=2.0.0)))
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:353)[27:org.apache.karaf.features.core:2.2.4]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl$1.run(FeaturesServiceImpl.java:975)[27:org.apache.karaf.features.core:2.2.4]
> Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.activemq.activemq-core [71]: Unable to resolve 71.0: missing requirement [71.0] package; (&(package=org.fusesource.hawtbuf)(version>=1.9.0)(!(version>=2.0.0)))
> 	at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3446)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:1734)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:918)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)[org.apache.felix.framework-3.0.9.jar:]
> 	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:350)[27:org.apache.karaf.features.core:2.2.4]
> 	... 1 more

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira