Radim Hatlapatka created MODCLUSTER-327:
-------------------------------------------
Summary: Getting exception the java.io.IOException: Invalid argument at
java.net.PlainDatagramSocketImpl.send(Native Method) when using mod_cluster in tomcat6
(its patched version introduced in JBPAPP-9788)
Key: MODCLUSTER-327
URL:
https://issues.jboss.org/browse/MODCLUSTER-327
Project: mod_cluster
Issue Type: Bug
Affects Versions: 1.2.2.Final
Reporter: Radim Hatlapatka
Assignee: Paul Ferraro
If I am using patch provided by [~jfclere] (see
[
JBPAPP-9788|https://issues.jboss.org/browse/JBPAPP-9788]), I am getting in tomcat 6 logs
this exception (tried on RHEL machines):
{noformat}
WARN: Failed to interrupt socket reception
java.io.IOException: Invalid argument
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:625)
at
org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.interruptDatagramReader(AdvertiseListenerImpl.java:208)
at
org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.stop(AdvertiseListenerImpl.java:227)
at
org.jboss.modcluster.advertise.impl.AdvertiseListenerImpl.destroy(AdvertiseListenerImpl.java:243)
at org.jboss.modcluster.ModClusterService.shutdown(ModClusterService.java:222)
at
org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.destroy(CatalinaEventHandlerAdapter.java:271)
at
org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:238)
at
org.jboss.modcluster.container.catalina.standalone.ModClusterListener.lifecycleEvent(ModClusterListener.java:153)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:792)
at org.apache.catalina.startup.Catalina.stop(Catalina.java:662)
at org.apache.catalina.startup.Catalina.start(Catalina.java:629)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
{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