[jboss-dev-forums] [JBoss AS 7 Development] - Re: ClassCastException with Infinispan using multiple applications
Dmitry Chuiko
do-not-reply at jboss.com
Thu Jul 19 05:25:54 EDT 2012
Dmitry Chuiko [https://community.jboss.org/people/dchuiko] created the discussion
"Re: ClassCastException with Infinispan using multiple applications"
To view the discussion, visit: https://community.jboss.org/message/748976#748976
--------------------------------------------------------------
Thanks for such an instant reply!
Unfortunatelly AS7 upgrade to 7.1.2 doesn't solve the problem. In the internals of Configuration class for the target cache in run time storeAsBinary is not enabled despite the fact that storeValuesAsBinary is true as storeKeysAsBinary is also true. So MarshalledValueInterceptor doesn't created in InterceptorChainFactory that follows to the same ClassCastException on getting value.
Here is our cache configuration:
<cache-container name="lognex" default-cache="DefaultLCache" start="EAGER">
<transport stack="tcp" lock-timeout="60000"/>
<replicated-cache name="DefaultLCache" mode="SYNC" batching="true" jndi-name="java:jboss/infinispan/cache/DefaultLCache" start="EAGER">
<transaction mode="NON_XA"/>
</replicated-cache>
</cache-container>
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/748976#748976]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120719/b547fb53/attachment.html
More information about the jboss-dev-forums
mailing list