13 Replies Latest reply on May 5, 2015 3:10 AM by Hlulani Mhlongo

    Why the ear file can not deploy under AS 7.0?

    Adrian Zuo Newbie

      All

       

      I have an ear file names migrate.ear which contains one ejb jar (ejb.jar) and one war file (war.war), if I put the ejb jar to a ejb folder and war file to war folder, the ear can not be depoyed.

      If I move the ejb jar to war file out, it can be deployed. Why? Is it the new structuer in the AS 7.0?

       

      Below  structuer can be deployed:

      ejb.jar

      lib/

      lib/util-1.0-SNAPSHOT.jar

      lib/version.jar

      META-INF/

      META-INF/application.xml

      META-INF/MANIFEST.MF

      war.war

       

       

      Below structure can not be deployed:

      ejb/

      ejb/ejb.jar

      lib/

      lib/util-1.0-SNAPSHOT.jar

      lib/version.jar

      META-INF/

      META-INF/application.xml

      META-INF/MANIFEST.MF

      war/

      war/war.war