title: java.io.IOException: Invalid argument (sendto failed) Jboss 5.1.0.GA
body: <p>I am getting following exception in jboss 5.1.0.GA. I have configured messaging queues in it. That setup is working correctly, but in logs i see following exception.</p>
  
  <hr>
  
  <pre><code>**
  &gt; java.io.IOException: Invalid argument (sendto failed)         at
  &gt; java.net.PlainDatagramSocketImpl.send(Native Method)         at
  &gt; java.net.DatagramSocket.send(DatagramSocket.java:696)         at
  &gt; org.jboss.ha.jndi.DetachedHANamingService$DiscoveryRequestHandler.run(DetachedHANamingService.java:786)
  &gt; at
  &gt; org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:147)
  &gt; at
  &gt; java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
  &gt; at
  &gt; java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
  &gt; at java.lang.Thread.run(Thread.java:748) 02/14 03:45:00 Error writing
  &gt; response(ERROR)
  **
  </code></pre>
  
  <hr>