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

Jean-Baptiste Onofré resolved AMQ-8041.
---------------------------------------
    Resolution: Fixed

Probably spring-legacy was missing. I have updated the activemq features to add 
this repo automatically by default.

> Cannot install activemq on karaf 4.2.9
> --------------------------------------
>
>                 Key: AMQ-8041
>                 URL: https://issues.apache.org/jira/browse/AMQ-8041
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: OSGi/Karaf
>    Affects Versions: 5.15.13
>         Environment: Windows 10 
> Java 1.8.0_202
> I've added Camel 3.4.3 and deployed camel-activemq.
> I saw that camel-activemq installs
> 2020-09-14T09:50:44,547 | INFO | features-3-thread-1 | FeaturesServiceImpl | 
> 11 - org.apache.karaf.features.core - 4.2.9 | 
> *wrap:mvn:org.apache.activemq/activemq-osgi/5.15.13*$overwrite=merge&Import-Package=org.springframework.*;resolution:=optional;version="[5,6)",*;resolution:=optional
>  
> That's why I chose version 5.15.13
>            Reporter: Terrien Jean-Yves
>            Assignee: Jean-Baptiste Onofré
>            Priority: Blocker
>
> Multiple problems on activemq-broker deployment.
> >repo-add activemq 5.15.13
> >feature:install activemq-broker
> 1) 2020-09-14T09:52:28,802 | WARN  | features-3-thread-1 | Activator          
>               | 205 - org.ops4j.pax.web.pax-web-extender-war - 7.2.16 | Error 
> while creating extension for bundle org.apache.activemq.activemq-web-console 
> [143]
> java.lang.NoClassDefFoundError: com/sun/istack/Pool
> after install 
> >install -s mvn:com.sun.istack/istack-commons-runtime/3.0.11
> 2) 2020-09-14T09:53:11,244 | ERROR | CM Configuration Updater 
> (ManagedServiceFactory Update: factoryPid=[org.apache.activemq.server]) | 
> configadmin                      | 9 - org.apache.felix.configadmin - 1.9.16 
> | [org.osgi.service.cm.ManagedServiceFactory, id=401, 
> bundle=14/wrap:mvn:org.apache.activemq/activemq-osgi/5.15.13$overwrite=merge&Import-Package=org.springframework.*;resolution:=optional;version="[5,6)",*;resolution:=optional]:
>  Updating configuration 
> org.apache.activemq.server.4fb03afb-a88e-4ae5-9290-fb63275f3228 caused a 
> problem: Cannot start the broker
> org.osgi.service.cm.ConfigurationException: null : Cannot start the broker
>       at 
> org.apache.activemq.osgi.ActiveMQServiceFactory.updated(ActiveMQServiceFactory.java:147)
>  ~[!/:5.15.13]
>       at 
> org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.updated(ManagedServiceFactoryTracker.java:159)
>  ~[!/:?]
>       at 
> org.apache.felix.cm.impl.helper.ManagedServiceFactoryTracker.provideConfiguration(ManagedServiceFactoryTracker.java:93)
>  [!/:?]
>       at 
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.provide(ConfigurationManager.java:1253)
>  [!/:?]
>       at 
> org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceFactoryUpdate.run(ConfigurationManager.java:1197)
>  [!/:?]
>       at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:138) 
> [!/:?]
>       at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:105) 
> [!/:?]
>       at java.lang.Thread.run(Thread.java:748) [?:1.8.0_202]
> Caused by: 
> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 
> 24 in XML document from URL 
> [file:/H:/Karaf-distribution/apache-karaf-4.2.9/etc/activemq.xml] is invalid; 
> nested exception is org.xml.sax.SAXParseException; lineNumber: 24; 
> columnNumber: 101; cvc-elt.1 : Déclaration de l'élément 'beans' introuvable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to