1 Reply Latest reply on Dec 3, 2004 7:02 PM by Elias Ross

    javax.naming.CommunicationException: Receive timed out.

    jose silva Newbie

      I everybody i´m trying to implementing a simple send receive example and when i try to start the sender i got this error on jboss

      C:\SADSXPJAVA\JMS\bin>java -classpath .;c:\jboss-3.2.1\client\jbossall-client.jar MessageSender

      javax.naming.CommunicationException: Receive timed out. Root exception is java.
      net.SocketTimeoutException: Receive timed out
      at java.net.PlainDatagramSocketImpl.receive(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:671)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:10
      38)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1127)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:478)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at MessageSender.(MessageSender.java:25)
      at MessageSender.main(MessageSender.java:9)


      please help me