[jboss-jira] [JBoss JIRA] (WFLY-10647) Custom jgroups classes should be registered registered eagerly

Radoslav Husar (JIRA) issues at jboss.org
Wed Jun 27 13:10:00 EDT 2018


Radoslav Husar created WFLY-10647:
-------------------------------------

             Summary: Custom jgroups classes should be registered registered eagerly
                 Key: WFLY-10647
                 URL: https://issues.jboss.org/browse/WFLY-10647
             Project: WildFly
          Issue Type: Bug
          Components: Clustering
            Reporter: Radoslav Husar
            Assignee: Radoslav Husar


If a message is received with configured custom classes (e.g. AUTH) but the receiving stack does not have the protocol, rather than handling and later discarding it, it floods the server log with CNFE.

{noformat}
18:55:49,152 ERROR [org.jgroups.protocols.UDP] (ucast-receiver-5,ejb,node2) JGRP000030: node2: failed handling incoming message: java.lang.ClassNotFoundException: Class for magic number 1100 cannot be found
	at org.jgroups.conf.ClassConfigurator.create(ClassConfigurator.java:118)
	at org.jgroups.protocols.AuthHeader.readAuthToken(AuthHeader.java:70)
	at org.jgroups.protocols.AuthHeader.readFrom(AuthHeader.java:41)
	at org.jgroups.Message.readHeader(Message.java:870)
	at org.jgroups.Message.readFrom(Message.java:742)
	at org.jgroups.protocols.TP.handleSingleMessage(TP.java:1346)
	at org.jgroups.protocols.TP.receive(TP.java:1304)
	at org.jgroups.protocols.UDP$PacketReceiver.run(UDP.java:709)
	at org.jboss.as.clustering.jgroups.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:52)
	at java.lang.Thread.run(Thread.java:748)
{noformat}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list