0 Replies Latest reply on Sep 24, 2002 1:20 PM by Jennifer

    JBOSS, Servlets, JMS

    Jennifer Newbie

      Hi! I'm running a servlet in the embedded Tomcat. Once I receive my request, I wish to send it to a topic in JMS. I keep receiving the exception:
      "javax.naming.NameNotFoundException: ConnectionFactory not bound". I've tried both " topicConnectionFactory = (TopicConnectionFactory)jndiContext.lookup("java:/ConnectionFactory");" and
      " topicConnectionFactory = (TopicConnectionFactory)jndiContext.lookup("ConnectionFactory");" in my code. Neither works.

      My war file has been deployed to
      %JBOSS_DIST%/server/default/deploy.

      I have a web.xml. Do I need another *.xml? Which one and what should I put in it?

      I'm new to the world of the web and xml.

      Your help is greatly appreciated.

      Thanks in advance