0 Replies Latest reply on Sep 14, 2005 8:51 AM by Pothapur Anumesh

    Http configuration for JMS

    Pothapur Anumesh Newbie

      Hi,

      I am not able to access connection-factory of JBoss installed on unix thru eclispe. Using the following code for jndi lookup
      Properties env = new Properties();
      // ... specify the JNDI properties specific to the JNDI SPI being used
      env.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
      env.setProperty("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
      env.setProperty("java.naming.provider.url","gealnx29.appl.com");
      jndi = new InitialContext(env);