-
Notifications
You must be signed in to change notification settings - Fork 2
Recommended JBoss Configuration
During tests all of the bundles run on JBoss AS 7.2. Because of it's subsystems some configuration is required (if you want to use all the bundles). These are only recommendations because it's the configuration of my test server.
<subsystem xmlns="urn:jboss:domain:osgi:1.2" activation="eager"> <properties> <property name="org.osgi.framework.startlevel.beginning"> 2 </property> </properties> <capabilities> <capability name="javax.servlet.api:v25" startlevel="1"/> <capability name="javax.transaction.api" startlevel="1"/> <capability name="javax.ejb.api" startlevel="1"/> <capability name="javax.mail.api" startlevel="1"/> <capability name="javax.jms.api" startlevel="1"/> <capability name="org.osgi.core" startlevel="1"/> <capability name="org.osgi.enterprise" startlevel="1"/> <capability name="org.slf4j" startlevel="1"/> <capability name="org.slf4j.impl" startlevel="1"/> <capability name="org.apache.aries.util" startlevel="1"/> <capability name="org.apache.aries.proxy" startlevel="1"/> <capability name="org.apache.aries.blueprint" startlevel="1"/> <capability name="org.apache.commons.lang3" startlevel="1"/> <capability name="org.h2" startlevel="1"/> <capability name="org.apache.felix.log" startlevel="2"/> <capability name="org.jboss.osgi.logging" startlevel="2"/> <capability name="org.apache.felix.configadmin" startlevel="2"/> </capabilities> </subsystem>
` true 102400 2 jms.queue.DLQ jms.queue.ExpiryQueue 0 10485760 BLOCK 10
<connection-factory name="InVmConnectionFactory">
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/InVMConnectionFactory"/>
</entries>
</connection-factory>
<connection-factory name="ConnectionFactory">
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="java:/ConnectionFactory"/>
</entries>
</connection-factory>
<connection-factory name="RemoteConnectionFactory">
<connectors>
<connector-ref connector-name="netty"/>
</connectors>
<entries>
<entry name="RemoteConnectionFactory"/>
<entry name="java:jboss/exported/jms/RemoteConnectionFactory"/>
</entries>
</connection-factory>
<pooled-connection-factory name="hornetq-ra">
<transaction mode="xa"/>
<connectors>
<connector-ref connector-name="in-vm"/>
</connectors>
<entries>
<entry name="java:/JmsXA"/>
</entries>
</pooled-connection-factory>
</jms-connection-factories>
<jms-destinations>
<jms-topic name="GuiUpdateTopic">
<entry name="deg/topic/gui/update"/>
<entry name="java:jboss/exported/jms/deg/topic/gui/update"/>
</jms-topic>
</jms-destinations>
</hornetq-server>
</subsystem>`
Please note that the role "prost" isn't necessary. You could use "guest", too, which already exists.