AS7 provides initial runtime support for Karaf based products
thomas.diesler Nov 12, 2012 10:04 AMFolks,
as of today AS7 provides initial runtime support for Karaf based products. If you have a clean AS7 build you can do
> cd build-modular > mvn -Dmodular=karaf clean install
in separate console you can then start the server
> cd target/jboss-as-karaf-7.2.0.Alpha1-SNAPSHOT > bin/standalone.sh ... 15:59:46,676 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011011: Starting bundles for start level: 1 15:59:46,725 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.felix.log:1.0.0 15:59:46,762 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: jboss-osgi-logging:1.0.0 15:59:46,822 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.felix.configadmin:1.2.8 15:59:46,841 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: jboss-as-osgi-configadmin:7.2.0.Alpha1-SNAPSHOT 15:59:46,851 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.servicemix.bundles.asm:3.3.1.1 15:59:46,853 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.aries.util:0.3.1 15:59:46,875 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.aries.proxy:0.3.1 15:59:47,015 INFO [org.apache.aries.blueprint.container.BlueprintExtender] (MSC service thread 1-3) No quiesce support is available, so blueprint components will not participate in quiesce operations 15:59:47,084 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.aries.blueprint:0.3.2 15:59:47,104 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.karaf.jaas.config:2.2.9 15:59:47,112 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.karaf.jaas.modules:2.2.9 15:59:47,251 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.karaf.shell.console:2.2.9 15:59:47,261 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.karaf.shell.commands:2.2.9 15:59:47,270 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.karaf.shell.osgi:2.2.9 15:59:47,273 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.mina.core:2.0.1 15:59:47,276 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.sshd.core:0.7.0 15:59:47,286 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011002: Bundle started: org.apache.karaf.shell.ssh:2.2.9 15:59:47,288 INFO [org.jboss.osgi.framework] (MSC service thread 1-3) JBOSGI011000: OSGi Framework started
and finally connect using your favorite SSH client
[tdiesler@tdvaio build-modular]$ ssh -o StrictHostKeyChecking=no -p 8101 localhost @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the DSA key sent by the remote host is a1:98:65:83:ff:ee:c2:e7:ad:23:77:31:55:b1:4e:af. Please contact your system administrator. Add correct host key in /home/tdiesler/.ssh/known_hosts to get rid of this message. Offending DSA key in /home/tdiesler/.ssh/known_hosts:16 Password authentication is disabled to avoid man-in-the-middle attacks. Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks. __ __ ____ / //_/____ __________ _/ __/ / ,< / __ `/ ___/ __ `/ /_ / /| |/ /_/ / / / /_/ / __/ /_/ |_|\__,_/_/ \__,_/_/ Apache Karaf (2.2.9) Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf. tdiesler@root>
For complete support, please monitor AS7-5918
cheers
--thomas