5 Replies Latest reply on Nov 23, 2010 1:16 AM by jaikiran pai

    JBoss AS 4.2.3 to 5.1 upgrade Dependancy issue

    Daniel Flesner Newbie

      i'm upgrading an application from 4.2.3 to 5.1. it's contained in a SAR and in the process i'm upgrading some of the EJB to annotations to resolve the startup dependencies. i get the following error on startup:

       

      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss.j2ee:ear=m2g.sar,jar=m2g-db-0.5.jar,name=AdminDAO,service=EJB3_endpoint" is missing the following dependencies:
          Dependency "jboss.j2ee:ear=m2g.sar,jar=m2g-db-0.5.jar,name=AdminDAO,service=EJB3" (should be in state "Configured", but is actually in state "** NOT FOUND Depends on 'jboss.j2ee:ear=m2g.sar,jar=m2g-db-0.5.jar,name=AdminDAO,service=EJB3' **")

       

      when i look in the jmx-console, the EJB is deployed, but it's deployed under a slightly different name (without the "ear=m2g.sar") as:

       

      id="jboss.j2ee:jar=m2g-db-0.5.jar,name=AdminDAO,service=EJB3",type=Component

       

      it won't start because it's waiting for the other named service?

       

      any ideas why  the discrepancy in the actual name and the dependency name?