0 Replies Latest reply on Sep 14, 2005 12:50 PM by Jonathan Melvin

    Message Driven EJB in 4.0.2 with EJB2.1

    Jonathan Melvin Newbie

      I'm having trouble getting a very simple Message driven bean to deploy. (I need to use ejb 2.1 so it can have a timer interface at some point)

      my ejb-jar.xml contains
      Message Driven Bean

      my jboss.xml contains
      <!DOCTYPE jboss PUBLIC "-//JBoss//DTD JBOSS 4.0//EN" "http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd">


      When I deploy I get
      WARN [JMSContainerInvoker] No message-driven-destination given; using; guessing type

      I guess I need something more in jboss.xml but all the examples I have seen are for ejb2.0
      The warning says no message-driven-destination given, but as I'm using ejb2.1 I can't put one in the ejb-jar.xml