[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
TC express with Spring webflow and Spring security  XML
Forum Index -> Terracotta for Spring
Author Message
peremann

neo

Joined: 10/27/2011 07:13:49
Messages: 3
Offline

Hi all,

I am setting up TC express for clustering our application. The application uses Spring security (3.0.3) and Spring webflow (2.3.0). I use TC 3.6. The only documentation I can find on SSecurity and SWF is related to TC DSO, and TIMs in TC 3.1-3.3.

I see none of these TIMs in TC 3.6. Are they now included in TC express, and I need no configuration in my application or in TC to get it to work in my cluster?
rajoshi

seraphim

Joined: 07/04/2011 04:36:10
Messages: 1491
Offline

Yes , you are right they are included in TC express and you don't need to explicitly configure TIM's to get Spring security and Spring webflow work in your cluster.

Rakesh Joshi
Senior Consultant
Terracotta.
dominus

neo

Joined: 01/25/2012 05:09:22
Messages: 9
Offline

Hi,

I'm using Terracotta 3.5.4 (Standard) and Spring (Spring Security, Spring Web Flow) in our application. I would like to clarify the issue of clustering Spring Security and SpringWebFlow. My current configuration is not working and I don't know how to find what is wrong.

When I am taking down one server on which one user was inside a flow (spring web flow) and after the other server will take over, the user will get an exception after next request inside in a flow (first one which is going to the second server). Which looks like that spring-web-flow is not clustered.

This is my current configuration. Could you tell me what is wrong with this configuration (what is missing)?

<?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" />
</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
 
Forum Index -> Terracotta for Spring
Go to:   
Powered by JForum 2.1.7 © JForum Team