• Documentation
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • Documentation
  • hsingh
  • Reporter: alexsnaps
  • July 15, 2010
  • 0
  • Watchers: 0
  • January 17, 2013
  • July 15, 2010

Description

Based on http://forums.terracotta.org/forums/posts/list/0/3936.page

The docs at http://www.terracotta.org/documentation/betadocs/distributed-ehcache-reference.html seem to be outdated.

According to the docs the “" element has to have the attributes valueMode="serialized" and clustered="true" but this results in a runtime exception

Caused by: net.sf.ehcache.CacheException: Error configuring from input stream. Initial cause was null:20: Could not set attribute “valueMode”.. Message was: java.lang.IllegalArgumentException: No enum const class net.sf.ehcache.config.TerracottaConfiguration$ValueMode.SERIALIZED at net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:157)

Changing it to “serialization” to match the Enum class fixes the problem.

Comments

ilevy 2010-07-15

fixed in source product docs.

Himadri Singh 2010-07-23

Verified in 3.3.0 docs.