[jboss-jira] [JBoss JIRA] (JGRP-1453) Exception thrown when diagnostics address/port and udp address/port are distinct

Richard Achmatowicz (JIRA) jira-events at lists.jboss.org
Tue Apr 17 10:39:18 EDT 2012


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

Richard Achmatowicz updated JGRP-1453:
--------------------------------------

    Summary: Exception thrown when diagnostics address/port and udp address/port are distinct  (was: Exception thrown when diagnostics address /port not equal to udp address /port)

    
> Exception thrown when diagnostics address/port and udp address/port are distinct
> --------------------------------------------------------------------------------
>
>                 Key: JGRP-1453
>                 URL: https://issues.jboss.org/browse/JGRP-1453
>             Project: JGroups
>          Issue Type: Bug
>    Affects Versions: 3.0.9
>         Environment: Fedora 16, x86_64
> AS7 4.1.1.Final
>            Reporter: Richard Achmatowicz
>            Assignee: Bela Ban
>             Fix For: 3.0.10
>
>
> When using JGroups as part of AS7 in the server configuration standalone-ha.xml, upon start up, we receive the exception:
> {noformat}
> 09:52:36,831 ERROR [org.jboss.msc.service.fail] (pool-14-thread-1) MSC00001: Failed to start service jboss.jgroups.channel.web: org.jboss.msc.service.StartException in service jboss.jgroups.channel.web: java.lang.IllegalArgumentException: diagnostics_addr / diagnostics_port and mcast_addr / mcast_port have to be different
> 	at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:62) [jboss-as-clustering-common-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_26]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_26]
> 	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_26]
> Caused by: java.lang.IllegalArgumentException: diagnostics_addr / diagnostics_port and mcast_addr / mcast_port have to be different
> 	at org.jgroups.protocols.UDP.createSockets(UDP.java:359) [jgroups-3.0.9.Final.jar:3.0.9.Final]
> 	at org.jgroups.protocols.UDP.start(UDP.java:224) [jgroups-3.0.9.Final.jar:3.0.9.Final]
> 	at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:938) [jgroups-3.0.9.Final.jar:3.0.9.Final]
> 	at org.jgroups.JChannel.startStack(JChannel.java:841) [jgroups-3.0.9.Final.jar:3.0.9.Final]
> 	at org.jgroups.JChannel.connect(JChannel.java:277) [jgroups-3.0.9.Final.jar:3.0.9.Final]
> 	at org.jgroups.JChannel.connect(JChannel.java:261) [jgroups-3.0.9.Final.jar:3.0.9.Final]
> 	at org.jboss.as.clustering.jgroups.subsystem.ChannelService.start(ChannelService.java:44) [jboss-as-clustering-jgroups-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
> 	at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:59) [jboss-as-clustering-common-7.1.2.Final-SNAPSHOT.jar:7.1.2.Final-SNAPSHOT]
> {noformat}
> even when the address / port combination for udp and the address / port combination for diagnostics are distinct:
> {noformat}
> <socket-binding-group name="standard-sockets" default-interface="public" port-offset="${jboss.socket.binding.port-offset:0}">
>     ...
>     <socket-binding name="jgroups-diagnostics" port="0" multicast-address="ff0e::1" multicast-port="7500"/>
>     <socket-binding name="jgroups-mping" port="0" multicast-address="${jboss.default.multicast.address:ff0e::1}" multicast-port="45700"/>
>     <socket-binding name="jgroups-tcp" port="7600"/>
>     <socket-binding name="jgroups-tcp-fd" port="57600"/>
>     <socket-binding name="jgroups-udp" port="55200" multicast-address="${jboss.default.multicast.address:ff0e::1}" multicast-port="45688"/>
>     <socket-binding name="jgroups-udp-fd" port="54200"/>
>     <socket-binding name="modcluster" port="0" multicast-address="ff0e::1" multicast-port="23364"/>
>     ...
> </socket-binding-group>
> {noformat}
>  
> The expected behaviour is that as long as the ports are distinct, we should be able to use the same mcast address for both udp and diagnostics.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list