Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-3189

webconsole feature installation fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 2.4.0
    • 2.4.0
    • karaf
    • None

    Description

      The installation of the webconsole feature fails, and refresh the shell console:

      karaf@root> features:install -v webconsole
      Installing feature webconsole 2.4.0-SNAPSHOT
      Installing feature http 2.4.0-SNAPSHOT
      Installing feature pax-http 3.1.1
      Installing feature pax-jetty 8.1.14.v20131031
      Installing bundle mvn:org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.2.0
      Installing bundle mvn:org.apache.geronimo.specs/geronimo-servlet_3.0_spec/1.0
      Installing bundle mvn:javax.mail/mail/1.4.4
      Installing bundle mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1
      Installing bundle mvn:org.apache.geronimo.specs/geronimo-annotation_1.1_spec/1.0.1
      Installing bundle mvn:org.apache.geronimo.specs/geronimo-jaspic_1.0_spec/1.1
      Installing bundle mvn:org.ow2.asm/asm-all/5.0.2
      Installing bundle mvn:org.eclipse.jetty.aggregate/jetty-all-server/8.1.14.v20131031
      Checking configuration file mvn:org.ops4j.pax.web/pax-web-features/3.1.1/xml/jettyconfig
      Installing bundle mvn:org.ops4j.base/ops4j-base-lang/1.4.0
      Installing bundle mvn:org.ops4j.pax.swissbox/pax-swissbox-core/1.7.0
      Installing bundle mvn:org.ops4j.pax.swissbox/pax-swissbox-optional-jcl/1.7.0
      Found installed bundle: org.objectweb.asm.all [78]
      Installing bundle mvn:org.apache.xbean/xbean-bundleutils/3.18
      Installing bundle mvn:org.apache.xbean/xbean-reflect/3.18
      Installing bundle mvn:org.apache.xbean/xbean-finder/3.18
      Installing bundle mvn:org.ops4j.pax.web/pax-web-api/3.1.1
      Installing bundle mvn:org.ops4j.pax.web/pax-web-spi/3.1.1
      Installing bundle mvn:org.ops4j.pax.web/pax-web-runtime/3.1.1
      Installing bundle mvn:org.ops4j.pax.web/pax-web-jetty/3.1.1
      Installing feature aries-blueprint 2.4.0-SNAPSHOT
      Installing feature aries-proxy 2.4.0-SNAPSHOT
      Found installed bundle: org.objectweb.asm.all [8]
      Found installed bundle: org.apache.aries.util [9]
      Found installed bundle: org.apache.aries.proxy.api [10]
      Found installed bundle: org.apache.aries.proxy.impl [11]
      Found installed bundle: org.apache.aries.blueprint.api [13]
      Found installed bundle: org.apache.aries.blueprint.cm [14]
      Found installed bundle: org.apache.aries.blueprint.core [15]
      Installing feature jaas 2.4.0-SNAPSHOT
      Found installed bundle: org.apache.karaf.jaas.config [16]
      Found installed bundle: org.apache.karaf.jaas.modules [17]
      Installing bundle mvn:org.apache.felix/org.apache.felix.metatype/1.0.10
      Installing bundle mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.branding/2.4.0-SNAPSHOT
      Installing bundle mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.console/2.4.0-SNAPSHOT
      Installing feature webconsole-condition-features_0_0_0 2.4.0-SNAPSHOT
      Installing bundle mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.features/2.4.0-SNAPSHOT
      Installing feature webconsole-condition-shell_0_0_0 2.4.0-SNAPSHOT
      Installing bundle mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.gogo/2.4.0-SNAPSHOT
      Installing feature webconsole-condition-instance_0_0_0 2.4.0-SNAPSHOT
      Installing bundle mvn:org.apache.karaf.webconsole/org.apache.karaf.webconsole.admin/2.4.0-SNAPSHOT
      Installing feature admin-condition-management_0_0_0 2.4.0-SNAPSHOT
      Found installed bundle: org.apache.karaf.admin.management [45]
      Installing feature jaas-condition-shell_0_0_0 2.4.0-SNAPSHOT
      Found installed bundle: org.apache.karaf.jaas.command [28]
      Installing feature features-condition-shell_0_0_0 2.4.0-SNAPSHOT
      Found installed bundle: org.apache.karaf.features.command [29]
      Installing feature features-condition-management_0_0_0 2.4.0-SNAPSHOT
      Found installed bundle: org.apache.karaf.features.management [46]
      Refreshing bundles org.apache.aries.proxy.impl (11)
      
              __ __                  ____      
             / //_/____ __________ _/ __/      
            / ,<  / __ `/ ___/ __ `/ /_        
           / /| |/ /_/ / /  / /_/ / __/        
          /_/ |_|\__,_/_/   \__,_/_/         
      
        Apache Karaf (2.4.0-SNAPSHOT)
       
      Hit '<tab>' for a list of available commands
      and '[cmd] --help' for help on a specific command.
      Hit '<ctrl-d>' or type 'osgi:shutdown' or 'logout' to shutdown Karaf.
       
      karaf@root> 
      

      A workaround is to first install the war feature, and after the webconsole feature:

      karaf@root> features:install war
      karaf@root> features:install webconsole
      

      I will review the webconsole feature to see who's the cause of the refresh.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            jbonofre Jean-Baptiste Onofré
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: