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

features:install spring-security hangs console

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 2.3.4, 2.3.7
    • None
    • karaf
    • None

    Description

      When trying to install the spring-security feature on an out-of-the-box servicemix 5.x (even the newest 5.1.2) container, the karaf console and the entire server just hangs.

      To replicate just download the latest servicemix ZIP, extract it and start the servicemix container. Then run features:install -v spring-security. It installs ok but then dies with the line stating:
      Refreshing bundles org.springframework.context (86), org.springframework.core (82), org.springframework.aop (85).

      Below the entire log of the install command:

      smx@root> features:install -v spring-security/3.1.4.RELEASE
      Installing feature spring-security 3.1.4.RELEASE
      Installing feature war 2.3.7
      Installing feature http-whiteboard 2.3.7
      Installing feature http 2.3.7
      Installing feature jetty 7.6.9.v20130131
      Found installed bundle: org.eclipse.jetty.servlet [70]
      Found installed bundle: org.eclipse.jetty.io [63]
      Found installed bundle: org.eclipse.jetty.security [69]
      Found installed bundle: org.eclipse.jetty.client [65]
      Found installed bundle: org.eclipse.jetty.server [68]
      Found installed bundle: org.eclipse.jetty.http [64]
      Found installed bundle: org.eclipse.jetty.continuation [66]
      Found installed bundle: org.eclipse.jetty.jndi [74]
      Found installed bundle: org.eclipse.jetty.webapp [73]
      Found installed bundle: org.eclipse.jetty.servlets [71]
      Found installed bundle: org.eclipse.jetty.plus [75]
      Found installed bundle: org.eclipse.jetty.jmx [67]
      Found installed bundle: org.eclipse.jetty.xml [72]
      Found installed bundle: org.eclipse.jetty.util [62]
      Found installed bundle: org.eclipse.jetty.websocket [76]
      Checking configuration file mvn:org.apache.karaf/apache-karaf/2.3.7/xml/jettyconfig
      Found installed bundle: org.ops4j.pax.web.pax-web-spi [78]
      Found installed bundle: org.ops4j.pax.web.pax-web-jetty [80]
      Found installed bundle: org.ops4j.pax.web.pax-web-api [77]
      Found installed bundle: org.ops4j.pax.web.pax-web-runtime [79]
      Found installed bundle: org.ops4j.pax.web.pax-web-extender-whiteboard [153]
      Found installed bundle: org.ops4j.pax.web.pax-web-jsp [197]
      Found installed bundle: org.ops4j.pax.web.pax-web-extender-war [198]
      Found installed bundle: org.ops4j.pax.web.pax-web-deployer [199]
      Found installed bundle: org.apache.karaf.management.mbeans.web [196]
      Found installed bundle: org.ops4j.pax.url.war [200]
      Found installed bundle: org.apache.karaf.shell.web [195]
      Installing feature spring-dm-web 1.2.1
      Installing feature spring-dm 1.2.1
      Installing feature spring 3.2.4.RELEASE
      Found installed bundle: org.springframework.aop [85]
      Found installed bundle: org.springframework.core [82]
      Found installed bundle: org.springframework.expression [83]
      Found installed bundle: org.springframework.context [86]
      Found installed bundle: org.springframework.context.support [87]
      Found installed bundle: org.springframework.beans [84]
      Found installed bundle: org.springframework.osgi.extensions.annotations [132]
      Found installed bundle: org.springframework.osgi.extender [131]
      Found installed bundle: org.apache.karaf.deployer.spring [17]
      Found installed bundle: org.springframework.osgi.core [130]
      Found installed bundle: org.springframework.osgi.io [129]
      Installing feature spring-web 3.2.4.RELEASE
      Installing bundle mvn:org.springframework/org.springframework.web.servlet/3.2.4.RELEASE
      Installing bundle mvn:org.springframework/org.springframework.web/3.2.4.RELEASE
      Installing bundle mvn:org.springframework.osgi/spring-osgi-web/1.2.1
      Installing bundle mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aspectj/1.7.4_1
      Installing bundle mvn:org.springframework.security/spring-security-config/3.1.4.RELEASE
      Installing bundle mvn:org.springframework.security/spring-security-taglibs/3.1.4.RELEASE
      Installing bundle mvn:org.springframework.security/spring-security-acl/3.1.4.RELEASE
      Installing bundle mvn:org.springframework.security/spring-security-core/3.1.4.RELEASE
      Installing bundle mvn:org.springframework.security/spring-security-web/3.1.4.RELEASE
      Refreshing bundles org.springframework.context (86), org.springframework.core (82), org.springframework.aop (85)
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              niels.bertram Niels Bertram
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: