I am currently configured my cache container in JBoss 7.4 standalone.xml, and the ISPN remote server running on localhost. Everything was fine until it throws the error:
ISPN000492: Cannot find transcoder between 'application/x-jboss-marshalling' to 'application/x-protostream'
standalone.xml:
<remote-cache-container name="remoteContainer" default-remote-cluster="data-grid-cluster">
<property name="infinispan.client.hotrod.sasl_mechanism">SCRAM-SHA-512</property>
<property name="infinispan.client.hotrod.auth_realm">default</property>
<property name="infinispan.client.hotrod.auth_username">admin</property>
<property name="infinispan.client.hotrod.auth_password">12345</property>
<property name="infinispan.client.hotrod.client_intelligence">BASIC</property>
<remote-clusters>
<remote-cluster name="data-grid-cluster" socket-bindings="ispn1 ispn2"/>
</remote-clusters>
</remote-cache-container>
ISPN Cache configuration:
{ "distributed-cache": { "mode": "SYNC", "owners": 2, "encoding": { "key": { "media-type": "application/x-protostream" }, "value": { "media-type": "application/x-protostream" } }, "expiration": { "lifespan": 5000, "max-idle": 1000 }, "statistics": true } }
Note: I don't want to change the cache encoding because the infinispan web console stops working