You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Victor Antonovich (JIRA)" <ji...@apache.org> on 2012/11/27 10:19:58 UTC

[jira] [Commented] (AMQ-4187) [osgi] activemq feature failed to install on Karaf 2.3.0

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

Victor Antonovich commented on AMQ-4187:
----------------------------------------

Same thing for me. Below are unresolved non-optional packages, as showed by Karaf 'headers' command:
{quote}
Import-Package = 
	...
	org.apache.commons.daemon;version="[1.0,2)",
	...
	org.apache.hadoop.conf,
	org.apache.hadoop.fs,
	...
	org.apache.qpid.proton.codec,
	org.apache.qpid.proton.engine,
	org.apache.qpid.proton.engine.impl,
	org.apache.qpid.proton.framing,
	org.apache.qpid.proton.message,
	org.apache.qpid.proton.type,
	org.apache.qpid.proton.type.messaging,
	org.apache.qpid.proton.type.transaction,
	org.apache.qpid.proton.type.transport,
	...
	org.fusesource.hawtdispatch;version="[1.12,2)",
	org.fusesource.leveldbjni.internal;version="[1.3,2)",
	...
	org.iq80.leveldb,
	org.iq80.snappy,
	...
	org.josql;version="[1.5,2)",
	...
	org.xerial.snappy,
	...
	scala,
	scala.collection,
	scala.collection.generic,
	scala.collection.immutable,
	scala.collection.mutable,
	scala.math,
	scala.reflect,
	scala.runtime,
	scala.sys
{quote}
Definitely ActiveMQ project need some integration tests to do automated checks for unresolved dependencies in Karaf features.
                
> [osgi] activemq feature failed to install on Karaf 2.3.0
> --------------------------------------------------------
>
>                 Key: AMQ-4187
>                 URL: https://issues.apache.org/jira/browse/AMQ-4187
>             Project: ActiveMQ
>          Issue Type: Bug
>    Affects Versions: 5.8.0
>         Environment: Karaf 2.3.0
>            Reporter: Carlos D. Morales
>            Priority: Minor
>
> A fresh install of Karaf 2.3.0, the configuration of the URL for the ActiveMQ 5.8-SNAPSHOT features and the installation of the 'activemq' feature give me the errors below. Please notice that I manually tried to install *commons-daemon/commons-daemon/1.0.10* to see if I could get any further but I had no luck.
> {noformat}
>         __ __                  ____      
>        / //_/____ __________ _/ __/      
>       / ,<  / __ `/ ___/ __ `/ /_        
>      / /| |/ /_/ / /  / /_/ / __/        
>     /_/ |_|\__,_/_/   \__,_/_/         
>   Apache Karaf (2.3.0)
> Hit '<tab>' for a list of available commands
> and '[cmd] --help' for help on a specific command.
> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
> karaf@root> features:addurl mvn:org.apache.activemq/activemq-karaf/5.8-SNAPSHOT/xml/features
> karaf@root> features:install activemq
> Error executing command: Could not start bundle mvn:org.apache.activemq/activemq-core/5.8-SNAPSHOT in feature(s) activemq-5.8-SNAPSHOT: Unresolved constraint in bundle org.apache.activemq.activemq-core [75]: Unable to resolve 75.0: missing requirement [75.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.commons.daemon)(version>=1.0.0)(!(version>=2.0.0)))
> karaf@root> osgi:install mvn:commons-daemon/commons-daemon/1.0.10
> Bundle ID: 81
> karaf@root> features:install activemq
> Error executing command: Could not start bundle mvn:org.apache.activemq/activemq-core/5.8-SNAPSHOT in feature(s) activemq-5.8-SNAPSHOT: Unresolved constraint in bundle org.apache.activemq.activemq-core [103]: Unable to resolve 103.0: missing requirement [103.0] osgi.wiring.package; (osgi.wiring.package=org.apache.hadoop.conf)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira