How to configure custom diagnostics_port in JGroups 5?

9 views
Skip to first unread message

Chintan Mohan Rohila

unread,
May 5, 2025, 3:25:22 AMMay 5
to jgroups-dev
Hi,

We are trying to upgrade from JGroups 4.2.26 to JGroups 5.4.6. In JGroups 4 we used the following attributes for UDP protocol with a custom diagnostics port.

<UDP
         bind_addr="${jgroups.bind_addr}"
         mcast_port="<port1>"
         bind_port="<port2>"
         port_range="100"
         diagnostics_port="<port3>"
    />

But the same UDP protocol definition in JGroups 5 gives following error.

java.lang.IllegalArgumentException: JGRP000001: configuration error: the following properties in UDP are not recognized: {diagnostics_port= port3} 

The documentation http://www.jgroups.org/manual5/index.html#Probe does mention this as a valid attribute of the used Transport Protocol.

Please suggest the right way to configure a custom diagnostics_port in JGroups 5.

Bela Ban

unread,
May 5, 2025, 3:27:32 AMMay 5
to jgrou...@googlegroups.com
It needs to be diag.port="<port3>", see [1]

[1] http://www.jgroups.org/manual5/index.html#Transport
--
You received this message because you are subscribed to the Google Groups "jgroups-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jgroups-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jgroups-dev/a282940e-bafd-4140-8c33-c4647dfa0baen%40googlegroups.com.

-- 
Bela Ban | http://www.jgroups.org

Bela Ban

unread,
May 5, 2025, 3:28:23 AMMay 5
to jgrou...@googlegroups.com
I'm fixing the 'probe' section right now, thanks for pointing this out!


On 05.05.2025 09:23, Chintan Mohan Rohila wrote:
--
You received this message because you are subscribed to the Google Groups "jgroups-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jgroups-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jgroups-dev/a282940e-bafd-4140-8c33-c4647dfa0baen%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages