4 Replies Latest reply on Jul 4, 2011 2:10 AM by Oved Ourfali

    issues deploying an ear in as7

    Oved Ourfali Newbie

      Hey,

       

      I'm trying to test a deployment of an EAR on AS7 (I have it working in jboss EAS 5.1).

       

      The EAR contains a few jars, and a few wars.

       

      I have a jar that uses xmlrpc-common-3.1.3.jar.

      In the MANIFEST.MF file of that jar, I have a class-path entry that includes the xmlrpc jar.

      The xml-rpc jar is located in <ear>/lib directory.

       

      However, when I try to deploy the ear, I get the following error:

        service module.spec.service."deployment.xmlrpc-common-3.1.3.jar".main (missing) required by [service jboss.deployment.subunit."dummy.ear"."dummy-jar.jar".POST_MODULE]

       

      This is just an example.

      I get a similar error for other jars as well, although they are in <ear>/lib.

       

      Is it supposed to work?

      Do I have to move the jar to the modules directory, and include it using "Dependencies: <module name>" ?

       

      Thank you,

      Oved