Uploaded image for project: 'mod_cluster'
  1. mod_cluster
  2. MODCLUSTER-327

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)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 1.2.2.Final
    • None
    • None

    Description

      If I am using patch provided by rhn-engineering-jclere (see JBPAPP-9788), I am getting in tomcat 6 logs this exception (tried on RHEL machines):

      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)
      

      Attachments

        Activity

          People

            pferraro@redhat.com Paul Ferraro
            rhatlapa@redhat.com Radim Hatlapatka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: