2 Replies Latest reply on Mar 2, 2005 9:43 AM by bahi fathi

    ConnectionFactory not bound Error

    Nag Ch Newbie

      Hi,
      I am trying to deploy my web application under Jboss3.2.5 . I have a start up servlet which invokes a class ( which implements javax.jms.MessageListener ) , this class basically looks up a JMS Topic Connection Factory and creates publisher and subscriber.

      when I do look up for ConnectinFactory getting this error.

      Here is code for look up.


      TopicConnectionFactory factory = (TopicConnectionFactory) context.lookup("java:/ConnectionFactory");


      calls javax.

      javax.naming.NameNotFoundException: ConnectionFactory not bound
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
      at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
      at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
      at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:530)
      at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:509)
      at javax.naming.InitialContext.lookup(InitialContext.java:347)
      at com.mbasys.mars.utility.DataNotify.initJmsConnSes(DataNotify.java:215)
      at com.mbasys.mars.utility.DataNotify.(DataNotify.java:193)
      at com.mbasys.mars.scheduler.Scheduler.(Scheduler.java:110)
      at com.mbasys.mars.servlets.InitMarsServlet.initMars(InitMarsServlet.java:215)

      Thanks in advance for your Help.