2 Replies Latest reply on Dec 19, 2008 6:09 AM by Sergej Zagusrky

    Problem with dependency on EJB JAR

    Sergej Zagusrky Newbie

      Hello!

      I am moving my j2ee application to jboss 5 from 4.2.2. In my EAR there are ejb jar and sar. The services in sar file depend on the ejb jar (I have depends element with "jboss.j2ee:ear=footest.ear,jar=footest.jar,service=EJB3" in META-INF/jboss-service.xml).

      JBoss prints the following error message:

      *** CONTEXTS MISSING DEPENDENCIES: Name -> Dependency{Required State:Actual State}
      
      foo:service=HelloService
       -> jboss.j2ee:ear=footest.ear,jar=footest.jar,service=EJB3{Create:** NOT FOUND Depends on 'jboss.j2ee:ear=footest.ear,jar=footest.jar,service=EJB3' **}
      
      *** CONTEXTS IN ERROR: Name -> Error
      
      jboss.j2ee:ear=footest.ear,jar=footest.jar,service=EJB3 -> ** NOT FOUND Depends on 'jboss.j2ee:ear=footest.ear,jar=footest.jar,service=EJB3' **
      


      Test application can be downloaded from http://www.sendspace.com/file/nbfitr