[
https://issues.redhat.com/browse/WFLY-13681?page=com.atlassian.jira.plugi...
]
Marek Posolda updated WFLY-13681:
---------------------------------
Description:
As mentioned in $subject, this currently fails with the exception due the fact that
infinispan-jboss-marshalling is not available in Wildfly 20.0.1, however infinispan
remoteStore configured with rawValues currently relies on it as can be seen on this line:
[
https://github.com/infinispan/infinispan/blob/10.1.8.Final/persistence/re...]
The error is like this:
{code:java}
Caused by: java.lang.ClassNotFoundException:
org.infinispan.jboss.marshalling.commons.GenericJBossMarshaller from [Module
"org.infinispan.persistence.remote" version 10.1.8.Final from local module
loader @5f2108b5 (finder: local module finder @31a5c39e (roots:
/tmp/wildfly-20.0.1.Final/modules,/tmp/wildfly-20.0.1.Final/modules/system/layers/base))]
{code}
h2. Steps to reproduce with more details:
1) Start infinispan server on your laptop. Assumption is, it is started on virtual host
"jdg1" on port 11222 listening to hotrod.
2) Configure standalone-ha.xml and add socket-binding like this:
{code:java}
<outbound-socket-binding name="cache-server">
<remote-destination host="${cache.hotrod.host}"
port="${cache.hotrod.port}"/>
</outbound-socket-binding>
{code}
and the infinispan cache like this:
{code:java}
<replicated-cache name="employee-distributable-cache"
statistics-enabled="true">
<locking isolation="REPEATABLE_READ"/>
<transaction mode="BATCH"/>
<remote-store cache="employee-distributable-cache"
remote-servers="cache-server" passivation="false"
preload="false" purge="false" shared="true">
<property name="rawValues">true</property>
<property
name="protocolVersion">${keycloak.connectionsInfinispan.hotrodProtocolVersion:2.6}</property>
</remote-store>
</replicated-cache>
{code}
3) Deploy the application from the attachement of this JIRA (it should ensure that cache
is started at startup)
4) Start the server with:
{code:java}
./standalone.sh -c standalone-ha.xml -Dcache.hotrod.host=jdg1 -Dcache.hotrod.port=11222
{code}
5) See server.log attachement for the full exception stacktrace
was:
As mentioned in $subject, this currently fails with the exception due the fact that
infinispan-jboss-marshalling is not available in Wildfly 20.0.1, however infinispan
remoteStore configured with rawValues currently relies on it as can be seen on this line:
https://github.com/infinispan/infinispan/blob/10.1.8.Final/persistence/re...
The error is like this:
{code}
Caused by: java.lang.ClassNotFoundException:
org.infinispan.jboss.marshalling.commons.GenericJBossMarshaller from [Module
"org.infinispan.persistence.remote" version 10.1.8.Final from local module
loader @5f2108b5 (finder: local module finder @31a5c39e (roots:
/tmp/wildfly-20.0.1.Final/modules,/tmp/wildfly-20.0.1.Final/modules/system/layers/base))]
{code}
<h2> Steps to reproduce with more details: </h2>
1) Start infinispan server on your laptop. Assumption is, it is started on virtual host
"jdg1" on port 11222 listening to hotrod.
2) Configure standalone-ha.xml and add socket-binding like this:
{code}
<outbound-socket-binding name="cache-server">
<remote-destination host="${cache.hotrod.host}"
port="${cache.hotrod.port}"/>
</outbound-socket-binding>
{code}
and the infinispan cache like this:
{code}
<replicated-cache name="employee-distributable-cache"
statistics-enabled="true">
<locking isolation="REPEATABLE_READ"/>
<transaction mode="BATCH"/>
<remote-store cache="employee-distributable-cache"
remote-servers="cache-server" passivation="false"
preload="false" purge="false" shared="true">
<property name="rawValues">true</property>
<property
name="protocolVersion">${keycloak.connectionsInfinispan.hotrodProtocolVersion:2.6}</property>
</remote-store>
</replicated-cache>
{code}
3) Deploy the application from the attachement of this JIRA (it should ensure that cache
is started at startup)
4) Start the server with:
{code}
./standalone.sh -c standalone-ha.xml -Dcache.hotrod.host=jdg1 -Dcache.hotrod.port=11222
{code}
5) See server.log attachement for the full exception stacktrace
Infinispan cache configured with remote-store with rawValues fails
------------------------------------------------------------------
Key: WFLY-13681
URL:
https://issues.redhat.com/browse/WFLY-13681
Project: WildFly
Issue Type: Bug
Components: Clustering
Affects Versions: 20.0.1.Final
Reporter: Marek Posolda
Assignee: Paul Ferraro
Priority: Major
As mentioned in $subject, this currently fails with the exception due the fact that
infinispan-jboss-marshalling is not available in Wildfly 20.0.1, however infinispan
remoteStore configured with rawValues currently relies on it as can be seen on this line:
[
https://github.com/infinispan/infinispan/blob/10.1.8.Final/persistence/re...]
The error is like this:
{code:java}
Caused by: java.lang.ClassNotFoundException:
org.infinispan.jboss.marshalling.commons.GenericJBossMarshaller from [Module
"org.infinispan.persistence.remote" version 10.1.8.Final from local module
loader @5f2108b5 (finder: local module finder @31a5c39e (roots:
/tmp/wildfly-20.0.1.Final/modules,/tmp/wildfly-20.0.1.Final/modules/system/layers/base))]
{code}
h2. Steps to reproduce with more details:
1) Start infinispan server on your laptop. Assumption is, it is started on virtual host
"jdg1" on port 11222 listening to hotrod.
2) Configure standalone-ha.xml and add socket-binding like this:
{code:java}
<outbound-socket-binding name="cache-server">
<remote-destination host="${cache.hotrod.host}"
port="${cache.hotrod.port}"/>
</outbound-socket-binding>
{code}
and the infinispan cache like this:
{code:java}
<replicated-cache name="employee-distributable-cache"
statistics-enabled="true">
<locking isolation="REPEATABLE_READ"/>
<transaction mode="BATCH"/>
<remote-store cache="employee-distributable-cache"
remote-servers="cache-server" passivation="false"
preload="false" purge="false" shared="true">
<property name="rawValues">true</property>
<property
name="protocolVersion">${keycloak.connectionsInfinispan.hotrodProtocolVersion:2.6}</property>
</remote-store>
</replicated-cache>
{code}
3) Deploy the application from the attachement of this JIRA (it should ensure that cache
is started at startup)
4) Start the server with:
{code:java}
./standalone.sh -c standalone-ha.xml -Dcache.hotrod.host=jdg1 -Dcache.hotrod.port=11222
{code}
5) See server.log attachement for the full exception stacktrace
--
This message was sent by Atlassian Jira
(v7.13.8#713008)