8 Replies Latest reply on Dec 28, 2006 12:07 AM by Palam Garg

    Embedded EJB3.0 and Tomcat JDNI error

    Tony Hillerson Newbie

      I'm deploying a fairly simple web app with embedded ejb3 (RC9) to Tomcat 5.5.20. I get These errors:

      ERROR 06-10 15:53:41,437 (AbstractController.java:incrementState:440) -Error installing to Start: name=UserTransaction state=Create
      ...
      Caused by: javax.naming.NameNotFoundException: Name TransactionManager is not bound in this Context

      The relevent lines from web.xml:

      <context-param>
      <param-name>jboss-kernel-deployments</param-name>
      <param-value>embedded-jboss-beans.xml, jboss-jms-beans.xml</param-value>
      </context-param>


      <listener-class>org.jboss.ejb3.embedded.ServletBootstrapListener</listener-class>


      Just like the examples say. Any ideas what I'm doing wrong?