JBoss.orgCommunity Documentation
Out-of-the-box, Overlord S-RAMP provides a useful, default server configuration. However, if you’d like to mold it into an existing setup, here are a few areas that can be modified.
By default, S-RAMP uses a simple file-based H2 datasource. However, any existing datasource can be used. Swap-out the datasource’s JNDI name in the following location:
Standalone modes: JBOSS_HOME/standalone/configuration/standalone*.xml
...
<cache-container name="modeshape">
<local-cache name="sramp">
<locking isolation="NONE"/>
<transaction mode="NON_XA"/>
<string-keyed-jdbc-store purge="false" passivation="false" datasource="[DATASOURCE JNDI NAME]">
<string-keyed-table prefix="ispn_bucket">
<id-column type="VARCHAR(500)" name="id"/>
<data-column type="VARBINARY(60000)" name="datum"/>
<timestamp-column type="BIGINT" name="version"/>
</string-keyed-table>
</string-keyed-jdbc-store>
</local-cache>
</cache-container>
...