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&...]