Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-8041

Cannot install activemq on karaf 4.2.9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 5.15.13
    • None
    • OSGi/Karaf
    • None

    Description

      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.

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            sekaijin Terrien Jean-Yves
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: