Skip to content

3mek/vertx-infinispan-cluster-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vertx Infinispan cluster test - failing with Zero-Capacity-Node

To run your application / How to reproduce problem:

  1. Use intellij Idea

  2. Use shared run configurations and:

    • start ServerVerticle-Cluster-Member-1

    • start ServerVerticle-Cluster-Member-2

    • start ServerVerticle-Zero-Capacity-Node → see log like:

2021-11-18T14:52:26,267 <vert.x-worker-thread-0> [WARN  ] [org.infinispan.PERSISTENCE] ISPN000559: Cannot marshall 'class org.infinispan.marshall.protostream.impl.MarshallableUserObject'
java.lang.IllegalArgumentException: No marshaller registered for object of Java type io.vertx.ext.cluster.infinispan.impl.SubsCacheHelper$EventFilter : io.vertx.ext.cluster.infinispan.impl.SubsCacheHelper$EventFilter@7c28245a
	at org.infinispan.protostream.impl.SerializationContextImpl.getMarshallerDelegate(SerializationContextImpl.java:512) ~[protostream-4.4.1.Final.jar:4.4.1.Final]

...

2021-11-18T14:52:26,270 <vert.x-eventloop-thread-0> [ERROR ] [io.vertx.core.impl.VertxImpl] Failed to initialize clustered Vert.x
org.infinispan.commons.marshall.MarshallingException: No marshaller registered for object of Java type io.vertx.ext.cluster.infinispan.impl.SubsCacheHelper$EventFilter : io.vertx.ext.cluster.infinispan.impl.SubsCacheHelper$EventFilter@7c28245a
	at org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller.objectToByteBuffer(AbstractInternalProtoStreamMarshaller.java:81) ~[infinispan-core-12.1.7.Final.jar:12.1.7.Final]
	at org.infinispan.marshall.protostream.impl.AbstractInternalProtoStreamMarshaller.objectToByteBuffer(AbstractInternalProtoStreamMarshaller.java:87) ~[infinispan-core-12.1.7.Final.jar:12.1.7.Final]
	at org.infinispan.marshall.core.GlobalMarshaller.writeRawUnknown(GlobalMarshaller.java:637) ~[infinispan-core-12.1.7.Final.jar:12.1.7.Final]

Note

It used to be a test of Infinispan baed vert.x cluster with clustered session store, but clustered session store is not needed to gat the exception.

About

test of vertx with infinispan clustered session store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages