1 Reply Latest reply on Jan 17, 2005 3:50 PM by Adrian Brock

    JMS NameNotFoundException: ConnectionFactory not bound

    Paul Hu Newbie

      Anyone help me with the following problem?

      After I unzipped jboss4.0 and didn't alter any configuration, ran a sample jms, it couldn't loopup ConnectionFactory:

      javax.naming.NameNotFoundException: ConnectionFactory not bound

       Hashtable env = new Hashtable();
       // using JBoss...
       env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
       env.put(Context.PROVIDER_URL, "jnp://");
       InitialContext jndi = new InitialContext(env);
       // Look up a JMS connection factory
       // I don't know where to config connectionFactory, use the default.
       TopicConnectionFactory conFactory =

      Thanks in advance