[mod_cluster-issues] [JBoss JIRA] (MODCLUSTER-385) "MODCLUSTER000033: Failed to interrupt socket reception.: java.io.IOException: Invalid argument" on shutdown with IPv6

Radoslav Husar (JIRA) issues at jboss.org
Wed Feb 5 07:28:28 EST 2014


Radoslav Husar created MODCLUSTER-385:
-----------------------------------------

             Summary: "MODCLUSTER000033: Failed to interrupt socket reception.: java.io.IOException: Invalid argument" on shutdown with IPv6
                 Key: MODCLUSTER-385
                 URL: https://issues.jboss.org/browse/MODCLUSTER-385
             Project: mod_cluster
          Issue Type: Feature Request
    Affects Versions: 1.3.0.Alpha1
            Reporter: Radoslav Husar
            Assignee: Radoslav Husar
            Priority: Minor


If -Djava.net.preferIPv4Stack=false, but mcast address is IPv4, shutting down the server results in exception:

{noformat}
13:24:49,398 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.0.0.Final-SNAPSHOT "WildFly" started in 7860ms - Started 654 of 757 services (210 services are lazy, passive or on-demand)
^C13:24:57,591 INFO  [org.jboss.modcluster] (ServerService Thread Pool -- 14) MODCLUSTER000002: Initiating mod_cluster shutdown
13:24:57,591 WARN  [org.jboss.modcluster] (ServerService Thread Pool -- 14) MODCLUSTER000033: Failed to interrupt socket reception.: java.io.IOException: Invalid argument
	at java.net.PlainDatagramSocketImpl.send(Native Method) [rt.jar:1.7.0_51]
	at java.net.DatagramSocket.send(DatagramSocket.java:676) [rt.jar:1.7.0_51]
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.interruptDatagramReader(AdvertiseListenerImpl.java:209)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.stop(AdvertiseListenerImpl.java:228)
	at org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.destroy(AdvertiseListenerImpl.java:244)
	at org.jboss.modcluster.ModClusterService.shutdown(ModClusterService.java:220)
	at org.wildfly.extension.mod_cluster.ContainerEventHandlerService.stop(ContainerEventHandlerService.java:115)
	at org.jboss.as.clustering.msc.AsynchronousService$2.run(AsynchronousService.java:114)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
	at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

13:24:57,594 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) JBAS017535: Unregister web context: /clusterbench-passivating
{noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the mod_cluster-issues mailing list