JBoss.orgCommunity Documentation

Chapter 13. Overlord S-RAMP Server Configuration

13.1. Datasource
13.1.1. JBoss EAP 6
13.1.2. Tomcat 7
13.1.3. Jetty 8
13.1.4. JBoss Fuse 6.1

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 locations, based on your platform:

  • Between runs, the ModeShape repository name cannot be changed. The name is used on multiple paths used for binary storage, search indexes, etc. Attempting to do so, without changing all necessary paths, will result in ModeShape failures during startup.
  • Similarly, between runs, the Infinispan "local-cache" name (and accompanying "cacheName" in the ModeShape config) cannot be changed. ModeShape includes a hash of the cache name within its node IDs, so changing the name is guaranteed to break your repository.