[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
Mon Apr 16 09:39:00 EDT 2018


    [ https://issues.jboss.org/browse/MODCLUSTER-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13561697#comment-13561697 ] 

Radoslav Husar commented on MODCLUSTER-385:
-------------------------------------------

Fixed with in 2.0 with NIO.

> "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: Bug
>    Affects Versions: 1.3.0.Alpha1
>            Reporter: Radoslav Husar
>            Assignee: Radoslav Husar
>            Priority: Minor
>             Fix For: 2.0.0.Alpha1
>
>
> 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 was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the mod_cluster-issues mailing list