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

    CommunicationException from lookup()

    garyg

      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");
      ...
      }
      ...