Hi
Does someone has expirience with vaadin and terracotta.
Wich classes should i include as “instrumented-classes”?
I get always a strage endless loop if i include the
com.vaadin.ui…* package to the terracotta cluster.
Thanks
Silvan
Hi
Does someone has expirience with vaadin and terracotta.
Wich classes should i include as “instrumented-classes”?
I get always a strage endless loop if i include the
com.vaadin.ui…* package to the terracotta cluster.
Thanks
Silvan
I have seen one production deployment (of version 5) on Terracotta, but don’t know any details. Thus Vaadin should work. Anyone knows more about this?
I got this working with my demo application. I’m using Terracotta 3.1. Probably you will face problems because there is classes that doesn’t work like BeanItemContainer etc. Probably all classes that have there own serialization method will not work.
Here is my tc-config.xml:
<?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/config http://www.terracotta.org/schema/terracotta-4.xsd">
<servers>
<server name="localhost" host="localhost">
<dso-port>9510</dso-port>
<jmx-port>9520</jmx-port>
<data>target/terracotta/server/data</data>
<logs>target/terracotta/server/logs</logs>
<statistics>target/terracotta/server/statistics</statistics>
</server>
</servers>
<clients>
<logs>target/terracotta/clients/logs/%(tc.nodeName)</logs>
<statistics>target/terracotta/clients/statistics/%(tc.nodeName)</statistics>
<modules>
<module name="tim-jetty-6.1" version="2.0.0" />
<module name="tim-annotations" version="1.4.0" />
<module name="tim-spring-security-2.0" version="1.2.0" />
</modules>
</clients>
<application>
<dso>
<app-groups>
<app-group name="foo-group">
<web-application>test</web-application>
</app-group>
</app-groups>
<instrumented-classes>
<include>
<class-expression>com.vaadin..*</class-expression>
<honor-transient>false</honor-transient>
</include>
<include>
<class-expression>test.FooApplication</class-expression>
<honor-transient>true</honor-transient>
</include>
<include>
<class-expression>test.Foo</class-expression>
<honor-transient>true</honor-transient>
</include>
<include>
<class-expression>org.springframework.security.AccessDeniedException</class-expression>
</include>
</instrumented-classes>
<additional-boot-jar-classes>
<include>java.util.Locale</include>
<include>java.beans.FeatureDescriptor</include>
<include>java.beans.PropertyDescriptor</include>
<include>java.lang.NullPointerException</include>
</additional-boot-jar-classes>
<web-applications>
<web-application>test</web-application>
</web-applications>
</dso>
</application>
</tc:tc-config>
Thanks that helped a lot!
Important was the Terracotta version 3.1
I tried always with Terracotta version 2.7.1 but that didn’t work.
But now i have a different problem with the new Vaadin 6.2.x version, but thats another story (
Vaadin6.2.1 and Terracotta problem
)