[jboss-jira] [JBoss JIRA] (JGRP-2240) Log a warning if no binding port in TCP is provided

Bela Ban (JIRA) issues at jboss.org
Fri Dec 8 08:31:00 EST 2017


     [ https://issues.jboss.org/browse/JGRP-2240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban closed JGRP-2240.
--------------------------
    Resolution: Rejected


I checked and this sanity check is already in the code (but I forgot):

{noformat}
java.lang.IllegalArgumentException: bind_port cannot be set to 0, as no dynamic discovery protocol (e.g. MPING or TCPGOSSIP) has been detected.
	at org.jgroups.protocols.BasicTCP.init(BasicTCP.java:87)
	at org.jgroups.stack.ProtocolStack.initProtocolStack(ProtocolStack.java:837)
	at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:476)
	at org.jgroups.JChannel.init(JChannel.java:992)
	at org.jgroups.JChannel.<init>(JChannel.java:148)
	at org.jgroups.JChannel.<init>(JChannel.java:130)
	at org.jgroups.demos.Draw.<init>(Draw.java:57)
	at org.jgroups.demos.Draw.main(Draw.java:156)
{noformat}

> Log a warning if no binding port in TCP is provided
> ---------------------------------------------------
>
>                 Key: JGRP-2240
>                 URL: https://issues.jboss.org/browse/JGRP-2240
>             Project: JGroups
>          Issue Type: Enhancement
>    Affects Versions: 4.0.9
>            Reporter: andrea tarocchi
>            Assignee: Bela Ban
>            Priority: Minor
>             Fix For: 4.0.10
>
>
> If a bind port is not defined and you don't bind (for some reason) to the default one, log a warning.



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


More information about the jboss-jira mailing list