0 Replies Latest reply on Jan 19, 2012 4:54 AM by antibug

    missing /unsatisfied dependencies

    antibug Newbie

      Hi!

      I'm using JBoss 7.1 and get this error :

       

      New missing/unsatisfied dependencies:

      service jboss.module.spec.service."deployment.APP.ear.lib".main (missing) dependents: [service jboss.module.service."deployment.APP.ear.APP.war".main, service jboss.deployment.subunit."APP.ear"."APP.war".POST_MODULE]

      service jboss.naming.context.java.comp.APP.jboss-seam.EjbSynchronizations (missing) dependents: [service jboss.naming.context.java.comp.APP.jboss-seam.EjbSynchronizations.ValidatorFactory, service jboss.naming.context.java.comp.APP.jboss-seam.EjbSynchronizations.Validator]

      service jboss.naming.context.java.comp.APP.jboss-seam.TimerServiceDispatcher (missing) dependents: [service jboss.naming.context.java.comp.APP.jboss-seam.TimerServiceDispatcher.ValidatorFactory, service jboss.naming.context.java.comp.APP.jboss-seam.TimerServiceDispatcher.Validator]

       

      I'm migrating my application (Seam 2, ant, jsf) from JBoss 5 to JBoss 7.1.0 CR1b.

       

      my structure is:

      APP.ear

      +lib

      +META-INF

      +resources

      +jboss-seam.jar

      +services.sar

      +APP.war

       

      my jboss-deployment-structure.xml:

      ...

       

      <sub-deployment name="APP.war">

        <exclusions>

         <module name="javax.faces.api" slot="main" />

         <module name="com.sun.jsf-impl" slot="main" />

        </exclusions>

        <dependencies>

         <module name="org.apache.log4j" export="true" />

         <module name="org.dom4j" export="true" />

         <module name="org.apache.commons.logging" export="true" />

         <module name="org.apache.commons.collections" export="true" />

         <module name="javax.faces.api" slot="1.2" export="true" />

         <module name="com.sun.jsf-impl" slot="1.2" export="true" />

         <module name="org.slf4j" export="true" />

         <module name="deployment.APP.ear.lib" />

         <module name="deployment.APP.ear" />

        </dependencies>

        <resources>

         <resource-root path="../jboss-seam.jar" />

         <resource-root path="../lib/jboss-seam-pdf.jar" />

        </resources>

      </sub-deployment>

      ...

       

      component.xml:

      ...

       

      <security:identity authenticate-method="#{authenticator.authenticate}"

        remember-me="true" />

        <component class="org.jboss.seam.transaction.EjbSynchronizations"

        jndi-name="java:app/jboss-seam/EjbSynchronizations" />

      <component class="org.jboss.seam.async.TimerServiceDispatcher"

        jndi-name="java:app/jboss-seam/TimerServiceDispatcher" />

      ...

       

      Thanks!

      antibug