4 Replies Latest reply on Sep 28, 2006 5:20 AM by jaikiran pai

    javax.naming.CommunicationException: Receive timed out

    taman Newbie

      Hi
      I am getting the following exception when ever my client tries to do a lookup for any EJB

      Exception in thread "main" javax.naming.CommunicationException: Receive timed out
      [Root exception is java.net.SocketTimeoutException: Receive timed out]
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:97
      1)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1040)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:450)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:443)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at HelloClient.main(HelloClient.java:31)
      Caused by: java.net.SocketTimeoutException: Receive timed out
      at java.net.PlainDatagramSocketImpl.receive(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:711)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:95
      3)
      ... 5 more


      Can anyone help.

      Thanks