How can I add Apache Karaf inside JBoss AS 7? I have written a forum thread about my tries https://community.jboss.org/message/801941. I tried configuring JBoss subsystem adding Apache Karaf capabilities and depenendencies and it did not work. Moreover I tried to build JBoss AS7 using modular options with Karaf, and it did not work.