templates/openshift/action_hooks/templates/standalone.xml in openshifter-0.5 vs templates/openshift/action_hooks/templates/standalone.xml in openshifter-0.6
- old
+ new
@@ -30,25 +30,29 @@
<extension module="org.jboss.as.ejb3"/>
<extension module="org.jboss.as.jaxrs"/>
<extension module="org.jboss.as.jmx"/>
<extension module="org.jboss.as.jpa"/>
<extension module="org.jboss.as.logging"/>
+ <extension module="org.jboss.as.messaging"/>
<extension module="org.jboss.as.naming"/>
<extension module="org.jboss.as.sar"/>
<extension module="org.jboss.as.security"/>
<extension module="org.jboss.as.threads"/>
<extension module="org.jboss.as.transactions"/>
<extension module="org.jboss.as.web" />
<extension module="org.jboss.as.weld" />
- <extension module='org.torquebox.bootstrap' />
- <extension module='org.torquebox.core' />
- <extension module='org.torquebox.cdi' />
- <extension module='org.torquebox.jobs' />
- <extension module='org.torquebox.security' />
- <extension module='org.torquebox.services' />
- <extension module='org.torquebox.web' />
-
+ <extension module='org.torquebox.bootstrap'/>
+ <extension module='org.torquebox.core'/>
+ <extension module='org.torquebox.cache'/>
+ <extension module='org.torquebox.cdi'/>
+ <extension module='org.torquebox.jobs'/>
+ <extension module='org.torquebox.messaging'/>
+ <extension module='org.torquebox.security'/>
+ <extension module='org.torquebox.services'/>
+ <!--<extension module='org.torquebox.stomp'/>-->
+ <extension module='org.torquebox.web'/>
+ <extension module='org.projectodd.polyglot.hasingleton'/>
</extensions>
<profile>
<subsystem xmlns="urn:jboss:domain:logging:1.0">
<!--console-handler name="CONSOLE">
@@ -88,18 +92,18 @@
<subsystem xmlns="urn:jboss:domain:datasources:1.0">
<datasources>
<datasource jndi-name="java:jboss/datasources/ExampleDS" enabled="true" use-java-context="true" pool-name="H2DS">
<connection-url>jdbc:h2:${jboss.server.data.dir}/test;DB_CLOSE_DELAY=-1</connection-url>
<driver>h2</driver>
- <pool></pool>
+ <pool/>
<security>
<user-name>sa</user-name>
<password>sa</password>
</security>
- <validation></validation>
- <timeout></timeout>
- <statement></statement>
+ <validation/>
+ <timeout/>
+ <statement/>
</datasource>
<datasource jndi-name="java:jboss/datasources/MysqlDS" enabled="${mysql.enabled}" use-java-context="true" pool-name="MysqlDS">
<connection-url>jdbc:mysql://${OPENSHIFT_DB_HOST}:${OPENSHIFT_DB_PORT}/${OPENSHIFT_APP_NAME}</connection-url>
<driver>mysql</driver>
<security>
@@ -127,11 +131,11 @@
</driver>
</drivers>
</datasources>
</subsystem>
<subsystem xmlns="urn:jboss:domain:deployment-scanner:1.0">
- <deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" />
+ <deployment-scanner scan-interval="5000" relative-to="jboss.server.base.dir" path="deployments" deployment-timeout="1200" />
</subsystem>
<subsystem xmlns="urn:jboss:domain:ee:1.0" />
<subsystem xmlns="urn:jboss:domain:ejb3:1.0" />
<subsystem xmlns="urn:jboss:domain:infinispan:1.0" default-cache-container="hibernate">
<cache-container name="hibernate" default-cache="local-query">
@@ -145,10 +149,16 @@
</local-cache>
<local-cache name="timestamps">
<eviction strategy="NONE"/>
</local-cache>
</cache-container>
+ <cache-container name="torquebox" default-cache="sessions">
+ <local-cache name="sessions">
+ <eviction strategy="LRU" max-entries="10000"/>
+ <expiration max-idle="10000"/>
+ </local-cache>
+ </cache-container>
</subsystem>
<subsystem xmlns="urn:jboss:domain:jaxrs:1.0"/>
<subsystem xmlns="urn:jboss:domain:jca:1.0">
<archive-validation enabled="false" />
<bean-validation enabled="false" />
@@ -197,17 +207,74 @@
<virtual-server name="default-host" enable-welcome-root="false">
<alias name="localhost" />
</virtual-server>
</subsystem>
<subsystem xmlns="urn:jboss:domain:weld:1.0" />
- <subsystem xmlns='urn:jboss:domain:torquebox-bootstrap:1.0' />
- <subsystem xmlns='urn:jboss:domain:torquebox-core:1.0' />
- <subsystem xmlns='urn:jboss:domain:torquebox-cdi:1.0' />
- <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0' />
- <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0' />
- <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0' />
- <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0' />
+ <subsystem xmlns='urn:jboss:domain:messaging:1.1'>
+ <hornetq-server>
+ <persistence-enabled>true</persistence-enabled>
+ <journal-file-size>102400</journal-file-size>
+ <journal-min-files>2</journal-min-files>
+ <connectors>
+ <in-vm-connector name='in-vm' server-id='0'/>
+ </connectors>
+ <acceptors>
+ <in-vm-acceptor name='in-vm' server-id='0'/>
+ </acceptors>
+ <security-enabled>false</security-enabled>
+ <address-settings>
+ <address-setting match='#'>
+ <dead-letter-address>jms.queue.DLQ</dead-letter-address>
+ <expiry-address>jms.queue.ExpiryQueue</expiry-address>
+ <redelivery-delay>0</redelivery-delay>
+ <max-size-bytes>20971520</max-size-bytes>
+ <message-counter-history-day-limit>10</message-counter-history-day-limit>
+ <address-full-policy>PAGE</address-full-policy>
+ </address-setting>
+ </address-settings>
+ <jms-connection-factories>
+ <connection-factory name='InVmConnectionFactory'>
+ <connectors>
+ <connector-ref connector-name='in-vm'/>
+ </connectors>
+ <entries>
+ <entry name='java:/ConnectionFactory'/>
+ </entries>
+ </connection-factory>
+ <connection-factory name='RemoteConnectionFactory'>
+ <connectors>
+ <connector-ref connector-name='in-vm'/>
+ </connectors>
+ <entries>
+ <entry name='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/>
+ <jmx-management-enabled>false</jmx-management-enabled>
+ </hornetq-server>
+ </subsystem>
+ <subsystem xmlns='urn:jboss:domain:torquebox-bootstrap:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-core:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-cache:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-cdi:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-jobs:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-messaging:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-security:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:torquebox-services:1.0'/>
+ <!--<subsystem xmlns='urn:jboss:domain:torquebox-stomp:1.0' socket-binding='stomp'/>-->
+ <subsystem xmlns='urn:jboss:domain:torquebox-web:1.0'/>
+ <subsystem xmlns='urn:jboss:domain:polyglot-hasingleton:1.0'/>
</profile>
<interfaces>
<interface name="management">
<loopback-address value="${OPENSHIFT_INTERNAL_IP}"/>
@@ -225,8 +292,11 @@
<socket-binding name="jndi" port="1099"/>
<socket-binding name="osgi-http" port="8090"/>
<socket-binding name="remoting" port="4447"/>
<socket-binding name="txn-recovery-environment" port="4712"/>
<socket-binding name="txn-status-manager" port="4713"/>
+ <!--<socket-binding name='messaging' port='5445' interface="public"/>-->
+ <!--<socket-binding name='messaging-throughput' port='5455'/>-->
+ <!--<socket-binding name='stomp' port='8675'/>-->
</socket-binding-group>
</server>