[ 
https://issues.apache.org/jira/browse/AMQ-5770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Onofré updated AMQ-5770:
--------------------------------------
    Fix Version/s: 5.12.0
                   5.11.2

> activemq-web-console feature doesn't install in Karaf 4 SNAPSHOT
> ----------------------------------------------------------------
>
>                 Key: AMQ-5770
>                 URL: https://issues.apache.org/jira/browse/AMQ-5770
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: webconsole
>    Affects Versions: 5.11.1, 5.12.0
>            Reporter: Bernhard Schuhmann
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: 5.11.2, 5.12.0
>
>         Attachments: AMQ-5770.patch
>
>
> {{feature:install activemq-web-console}} fails with
> {noformat} 
> Error executing command: Unable to resolve root: missing requirement [root] 
> osgi.identity; osgi.identity=activemq-web-console; type=ka
> raf.feature; version="[5.12.0.SNAPSHOT,5.12.0.SNAPSHOT]"; 
> filter:="(&(osgi.identity=activemq-web-console)(type=karaf.feature)(version>
> =5.12.0.SNAPSHOT)(version<=5.12.0.SNAPSHOT))" [caused by: Unable to resolve 
> activemq-web-console/5.12.0.SNAPSHOT: missing requirement 
> [activemq-web-console/5.12.0.SNAPSHOT] osgi.identity; 
> osgi.identity=org.apache.activemq.activemq-web-console; type=osgi.bundle; 
> versio
> n="[5.12.0.SNAPSHOT,5.12.0.SNAPSHOT]"; resolution:=mandatory [caused by: 
> Unable to resolve org.apache.activemq.activemq-web-console/5.
> 12.0.SNAPSHOT: missing requirement 
> [org.apache.activemq.activemq-web-console/5.12.0.SNAPSHOT] 
> osgi.wiring.package; filter:="(&(osgi.wi
> ring.package=javax.servlet.resources)(version>=2.5.0)(!(version>=4.0.0)))"]]
> {noformat}
> As this package seems not to be used in the web console, an it not be 
> removed? I've tested locally with this change
> {noformat}
> diff --git a/activemq-web-console/pom.xml b/activemq-web-console/pom.xml
> index 1f1e641..4bdbe51 100755
> --- a/activemq-web-console/pom.xml
> +++ b/activemq-web-console/pom.xml
> @@ -142,7 +142,6 @@
>                org.w3c.dom,
>                javax.servlet;version="[2.5,4)",
>                javax.servlet.http;version="[2.5,4)",
> -              javax.servlet.resources;version="[2.5,4)",
>                javax.servlet.jsp,
>                javax.servlet.jsp.tagext,
>                javax.servlet.jsp.el,
> {noformat}
> And web console works if ActiveMQ is started standalone and deployed into 
> Karaf 4.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to