[
https://issues.jboss.org/browse/AS7-5544?page=com.atlassian.jira.plugin.s...
]
Guillaume Nodet edited comment on AS7-5544 at 9/12/12 12:39 PM:
----------------------------------------------------------------
So far, I've deployed Karaf bundles the following way:
* copy the file
http://central.maven.org/maven2/org/apache/karaf/jaas/org.apache.karaf.ja...
into modules/org/jboss/osgi/framework/main/
* reference that jar inside the modules/org/jboss/osgi/framework/main/module.xml
* modify standalone/configuration/standalone.xml to add the following definition in the
osgi subsystem properties definition:
<property
name="org.osgi.framework.system.packages.extra">
org.apache.karaf.jaas.boot;version=2.2.9
</property>
* add the following capabilities to the osgi subsystem configuration in
standalone/configuration/standalone.xml
<!-- blueprint -->
<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"/>
<!-- jaas -->
<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"/>
<!-- console -->
<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"/>
<!-- ssh -->
<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"/>
* create the $[karaf.base] folder and $[karaf.base]/etc folder
* copy etc/users.properties from the karaf distribution into $[karaf.base]/etc/
Start AS7. An exception will be printed which is harmless (CNFE on a spring class).
Try to login launching the bin/client script from the karaf distribution.
I currently end up with an authentication failure which I haven't investigated yet.
was (Author: gnodet):
So far, I've deployed Karaf bundles the following way:
* copy the file
http://central.maven.org/maven2/org/apache/karaf/jaas/org.apache.karaf.ja...
into modules/org/jboss/osgi/framework/main/
* reference that jar inside the modules/org/jboss/osgi/framework/main/module.xml
* modify standalone/configuration/standalone.xml to add the following definition in the
osgi subsystem properties definition:
<property
name="org.osgi.framework.system.packages.extra">
org.apache.karaf.jaas.boot;version=2.2.9
</property>
* add the following capabilities to the osgi subsystem configuration in
standalone/configuration/standalone.xml
<!-- blueprint -->
<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"/>
<!-- jaas -->
<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"/>
<!-- console -->
<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"/>
<!-- ssh -->
<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"/>
* create the $[karaf.base] folder and $[karaf.base]/etc folder
* copy etc/users.properties from the karaf distribution into $[karaf.base]/etc/
Start AS7. An exception will be printed which is harmless (CNFE on a spring class).
Try to login launching the bin/client script from the karaf distribution.
I currently endue with an authentication failure which I haven't investigated yet.
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