2 Replies Latest reply on Oct 14, 2003 7:35 AM by jonlee

    Servlet in JBoss3.2.1/Tomcat won't find JNDI resource

    count_zero


      Hello

      My app uses a servlet that sends Messages to a JMS Queue. This used to work fine under JBoss 3.0.4 / Tomcat 4.1.12.

      Now I installed JBoss 3.2.1 / Tomcat 4.1.24 and after that the servlet couldn't look up "ConnectionFactory" any more (-> not bound), even though I can see the resource in Jboss' jmx-console.

      qConnFactory = (QueueConnectionFactory) initialContext.lookup("ConnectionFactory");

      I must be missing some information regarding what changed in JBoss 3.2, the Tomcat integration looks all different, but I could only find out that other people had similar difficulties while upgrading to 3.2 (http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=thread.jsp?forum=48&thread=35314 and http://www.jboss.org/ though a solution has not been posted yet.

      Thanks for any hints

      Count