2 Replies Latest reply on Oct 1, 2001 2:59 AM by Allison Westley

    CommunicationException from lookup()

    garyg Novice

      Anyone have anyideas what causes this error.
      javax.naming.CommunicationException: Can't find SerialContextProvider

      It occurs when doing a TopicConnectionFactory lookup().

      try {
      ctx = new InitialContext();
      }
      catch (Exception e) {
      ...
      }

      try {
      topicConnectionFactory = (TopicConnectionFactory)
      ctx.lookup("TopicConnectionFactory");
      ...
      }
      ...