2 Replies Latest reply on Dec 20, 2003 11:47 PM by Jon Barnett

    javax.naming.CommunicationException: Receive timed out.  Roo

    l_lan Newbie

      I have got a new Exception while I want to run my client of session, can somebody help me? thanks lot.

        • 1. Re: javax.naming.CommunicationException: Receive timed out.
          l_lan Newbie

          to add something:

          the comlete Exception is:

          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:1038)
          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 test.MIDSampleClientSessionTester.main(MIDSampleClientSessionTester.java:159)

          • 2. Re: javax.naming.CommunicationException: Receive timed out.
            Jon Barnett Master

            Post the snippet of the relevant section of your calling code otherwise it makes it difficult to determine the problem with your initial context or the lookup. And also indicate whether the client is a remote client (not running in the same JVM as JBoss). This would help us help you.