Some additional information:
We are using:
- Terracotta 3.5.4 (Express)
- Spring 3.1.0
- Spring Security 3.1.0
- Spring WebFlow 2.3.0
- Tomcat 6.0.35 (two nodes)
As we understand, Terracotta Express does not need any additional configuration (enabling TIM-modules, adding configuration related to DSO) to enable clustering of SpringSecurity/SpringWebFlow. Is that correct?
Terracotta config:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<tc:tc-config xmlns:tc="http://www.terracotta.org/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.terracotta.org/schema/terracotta-4.xsd">
<tc-properties>
<property name="l2.db.factory.name" value="com.tc.objectserver.storage.derby.DerbyDBFactory" />
<!-- Terracotta Server (L1) -> Terracotta Client (L2) -->
<property name="l1.healthcheck.l2.ping.enabled" value="true" />
<property name="l1.healthcheck.l2.ping.idletime" value="5000" />
<property name="l1.healthcheck.l2.ping.interval" value="1000" />
<property name="l1.healthcheck.l2.ping.probes" value="3" />
<property name="l1.healthcheck.l2.socketConnect" value="true" />
<property name="l1.healthcheck.l2.socketConnectTimeout" value="5" />
<property name="l1.healthcheck.l2.socketConnectCount" value="10" />
<!-- Terracotta Client (L2) -> Terracotta Server (L1) -->
<property name="l2.healthcheck.l1.ping.enabled" value="true" />
<property name="l2.healthcheck.l1.ping.idletime" value="5000" />
<property name="l2.healthcheck.l1.ping.interval" value="1000" />
<property name="l2.healthcheck.l1.ping.probes" value="3" />
<property name="l2.healthcheck.l1.socketConnect" value="true" />
<property name="l2.healthcheck.l1.socketConnectTimeout" value="5" />
<property name="l2.healthcheck.l1.socketConnectCount" value="10" />
</tc-properties>
<system>
<configuration-model>production</configuration-model>
</system>
<servers>
<server name="localhost" host="localhost">
<data>%(user.home)/terracotta35/server-data</data>
<logs>%(user.home)/terracotta35/server-logs</logs>
<statistics>%(user.home)/terracotta35/server-statistics</statistics>
<dso-port>9510</dso-port>
<jmx-port>9520</jmx-port>
<index>%(user.home)/terracotta35/server-data/index</index>
<dso>
<client-reconnect-window>120</client-reconnect-window>
<persistence>
<mode>temporary-swap-only</mode>
</persistence>
<garbage-collection>
<enabled>true</enabled>
<verbose>false</verbose>
<interval>3600</interval>
</garbage-collection>
</dso>
</server>
</servers>
<clients>
<logs>%(user.home)/terracotta35/client-logs%D</logs>
</clients>
<application>
<dso>
<web-applications>
<web-application>webapp</web-application>
</web-applications>
</dso>
</application>
</tc:tc-config>
Regards
Marek Dominiak