-
1. Re: Experience with Clustering
clementp Mar 6, 2013 11:43 PM (in response to clementp)After spending some time tinkering with the settings, the way to get it to work is to enable write-behind on the file-store, else the dreaded SchematicEntryLiteral expected to be marshallable would occur:
<cache-container name="modeshape" default-cache="dshell"> <transport lock-timeout="60000"/> <distributed-cache name="dshell" mode="ASYNC" batching="false"> <transaction mode="NON_XA" locking="PESSIMISTIC"/> <file-store relative-to="jboss.server.data.dir" path="modeshape/store/dshell" passivation="false" purge="false"> <write-behind/> </file-store> </distributed-cache> </cache-container>
-
2. Re: Experience with Clustering
rhauch Mar 7, 2013 8:19 AM (in response to clementp)1 of 1 people found this helpfulClement Pang wrote:
Upon start-up, we see the exception from the bug: Object of type class org.infinispan.schematic.internal.SchematicEntryLiteral expected to be marshallable
Is it exactly the same stack trace as in MODE-1769? If not, I'd like to know what it is because that likely means Infinispan might have another bug (other than ISPN-2748).
For AS 7.1.1.Final users using synchronous distribution: this issue is should not pose a problem.
For AS 7.1.1.Final users using asynchronous distribution: I think that Clement's solution of using write-behind is the only way to get this to work. (I've updated MODE-1769 with a comment reflecting this.)
For AS7.2 users: this should be fixed, and you should not have to enable write-behind when using asynchronous distribution.
For those not using AS7 at all: the fix in ModeShape 3.1.1.Final appears to work, but we also recommend you override ModeShape's BOM and upgrade to the latest Infinispan 5.2.x version (which has fixed the problem). See our documentation for details.