1 Reply Latest reply on Jan 26, 2002 7:01 PM by hchirino

    Invalid Context URL error when usnig JBossMQ in the applet

      The codes are following:
      Hashtable prop = new Hashtable();
      prop.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
      prop.put("java.naming.factory.url","zhonqing:1099");
      prop.put("java.naming.rmi.security.manager", "no");
      prop.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");

      jndiContext = new InitialContext(prop);
      topicConnectionFactory = (TopicConnectionFactory)
      jndiContext.lookup("UILTopicConnectionFactory");

      The error occurs when excuting last code.and I have change any configue file in the server.

      I really appreciate that who give me help!!