3 Replies Latest reply on Jan 20, 2011 10:59 AM by wdfink

    ear service dependency declaration for ejb2 in jboss 5.1.0

    rakeshjain

      I am migrating my app from jboss 4.2.3 to jboss 5.1.0 . while deploying ejb module i am getting below error.

       

      DEPLOYMENTS MISSING DEPENDENCIES:

        Deployment "jboss.j2ee:module="guestmdb.jar",service=EjbModule" is missing the following dependencies:

          Dependency "jboss.j2ee:service=EARDeployment,url='appmanager.ear'" (should be in state "Create", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:service=EARDeployment,url='appmanager.ear'' **").

       

      In on eof the forums i found that JBoss AS 5.1.0 doesnt support <depends>jboss.j2ee:service=EARDeployment,url='appmanager.ear'</depends> syntax for ear service dependency.

       

      Syntax which is working fine in jbos 4.2.3

      <message-driven>

               <ejb-name>guestMDB</ejb-name>                      

               <destination-jndi-name>queue/GuestQueue</destination-jndi-name>

       

               <depends>jboss.j2ee:service=EARDeployment,url='appmanager.ear'</depends>

       

            </message-driven>

       

       

      I could not find corect syntax for dependency declaration in 5.1.0.