2 Replies Latest reply on May 23, 2003 4:03 AM by paultaylor

    Problem accessing ConnectionFactory

    paultaylor Newbie

      Hi Im trying to create a topic from within a class run by the scheduler. Im running JBOSS 3.2.1 using the default configuration.

      The class tries to get a TopicConnectionFactory as follows
      InitialContext ctx = new InitialContext();
      tConFactory = (TopicConnectionFactory)ctx.lookup(Constants.get("ConnectionFactory"));

      but jndi complains that ConnectionFactory is not bound

      have I got to set something up the JBOSS MQ appears to be running as various test queues and topics are listed at start up.

      Thanks Paul