Niels Bertram created KARAF-3252:
------------------------------------
Summary: features:install spring-security hangs console
Key: KARAF-3252
URL: https://issues.apache.org/jira/browse/KARAF-3252
Project: Karaf
Issue Type: Bug
Components: karaf-webcontainer
Affects Versions: 2.3.7, 2.3.4
Reporter: Niels Bertram
Priority: Minor
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:
{code}
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)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)