2 Replies Latest reply on Sep 5, 2002 11:02 PM by Jin Shin, Jung

    help:EJB lookup error

    fans fans Newbie

      hi everyone:
      i received the error message below:
      javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out]
      when i lookup EJB.
      i am testing the InterestClient examples of jboss examples.
      The example is almost not changed at all.The enviroment of my server is:jboss3.0.0-beta ,jdk1.4.0.
      the jndi name of EJB if interest/Interest, EJB-name is Interest.
      Context ctx = new InitialContext(properties);
      //look up jndi name
      Object ref = ctx.lookup("interest/Interest");