[
https://issues.jboss.org/browse/AS7-5544?page=com.atlassian.jira.plugin.s...
]
Guillaume Nodet commented on AS7-5544:
--------------------------------------
Alternatively, you need the following in {{standalone/configuration/standalone.xml}}:
{code}
<subsystem xmlns="urn:jboss:domain:osgi:1.2"
activation="eager">
<properties>
<property name="org.osgi.framework.startlevel.beginning">
1
</property>
<property
name="org.osgi.framework.system.packages.extra">
org.apache.karaf.jaas.boot;version=2.2.9
</property>
</properties>
<capabilities>
<capability name="javax.servlet.api:v25"/>
<capability name="javax.transaction.api"/>
<capability name="org.apache.felix.log"
startlevel="1"/>
<capability name="org.jboss.osgi.logging"
startlevel="1"/>
<capability name="org.apache.felix.configadmin"
startlevel="1"/>
<capability name="org.jboss.as.osgi.configadmin"
startlevel="1"/>
<capability
name="org.apache.servicemix.bundles:org.apache.servicemix.bundles.asm:3.3.1_1"
startlevel="1"/>
<capability
name="org.apache.aries:org.apache.aries.util:0.3.1"
startlevel="1"/>
<capability
name="org.apache.aries.proxy:org.apache.aries.proxy:0.3.1"
startlevel="1"/>
<capability
name="org.apache.aries.blueprint:org.apache.aries.blueprint:0.3.2"
startlevel="1"/>
<capability
name="org.apache.karaf.jaas:org.apache.karaf.jaas.config:2.2.9"
startlevel="1"/>
<capability
name="org.apache.karaf.jaas:org.apache.karaf.jaas.modules:2.2.9"
startlevel="1"/>
<capability
name="org.apache.karaf.shell:org.apache.karaf.shell.console:2.2.9"
startlevel="1"/>
<capability
name="org.apache.karaf.shell:org.apache.karaf.shell.commands:2.2.9"
startlevel="1"/>
<capability
name="org.apache.karaf.shell:org.apache.karaf.shell.osgi:2.2.9"
startlevel="1"/>
<capability name="org.apache.mina:mina-core:2.0.1"
startlevel="1"/>
<capability name="org.apache.sshd:sshd-core:0.7.0"
startlevel="1"/>
<capability
name="org.apache.karaf.shell:org.apache.karaf.shell.ssh:2.2.9"
startlevel="1"/>
</capabilities>
</subsystem>
{code}
and the following lines in {{bin/standalone.conf}}
{code}
JBHOME=`cd "$DIRNAME/.."; pwd`
KARAF_HOME="${JBHOME}/karaf"
KARAF_BASE="${KARAF_HOME}"
JAVA_OPTS="$JAVA_OPTS -Dkaraf.home=${KARAF_HOME} -Dkaraf.base=${KARAF_BASE}
-Dkaraf.startRemoteShell=true -Dkaraf.startLocalConsole=false"
{code}
You also need to create the {{karaf}} and {{karaf/etc}} directories inside the jboss as
installation folder and copy {{~/.ssh/authorized_keys2}} into
{{karaf/etc/authorized_keys}} file.
Then start jboss as and connect using {{ssh -o StrictHostKeyChecking=no -p 8101
localhost}}.
Add support for Apache Karaf
----------------------------
Key: AS7-5544
URL:
https://issues.jboss.org/browse/AS7-5544
Project: Application Server 7
Issue Type: Feature Request
Components: OSGi
Reporter: Thomas Diesler
Assignee: Thomas Diesler
The initial goal would be to make the console available
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira