1 Reply Latest reply on Aug 30, 2002 6:01 AM by jason

    communicationException problem

    jason Newbie

      i am a newbie to ejb and encounter a problem when developing my first ejb example, that i follow up ed roman's master enterprise javabean. the exception is as message A.); my first simple ejb is a stateless session bean and

      ==========
      A.)
      Exception in thread "main" javax.naming.CommunicationException: Receive timed ou
      t. Root exception is java.net.SocketTimeoutException: Receive timed out
      at java.net.PlainDatagramSocketImpl.receive(Native Method)
      at java.net.DatagramSocket.receive(DatagramSocket.java:670)
      at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:91
      9)
      at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:997)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:436)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:429)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at HelloClients.main(HelloClients.java:10)