1 Reply Latest reply on Aug 31, 2015 12:29 PM by jaikiran pai

    EAR deployment failure with  Failed to get manifest for deployment

    NAGARAJU BONAGIRI Newbie

      When we are trying to deploy an EAR which has jar in side it failing with the below error

       

      18:25:21,145 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-7) MSC000001: Failed to start service jboss.deployment.unit."MYApp.ear".STRUCTURE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MYApp.ear".STRUCTURE: JBAS018733: Failed to process phase STRUCTURE of deployment "MYApp.ear"

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.5.2.Final-redhat-2.jar:7.5.2.Final-redhat-2]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_40]

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_40]

        at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_40]

      Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS018741:@ Failed to get manifest for deployment ! "/D:/e2/jboss-eap-6.4/bin/content/MYApp.ear/MDBApp.jar"

        at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.getManifest(ManifestAttachmentProcessor.java:78) [jboss-as-server-7.5.2.Final-redhat-2.jar:7.5.2.Final-redhat-2]

        at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.deploy(ManifestAttachmentProcessor.java:65) [jboss-as-server-7.5.2.Final-redhat-2.jar:7.5.2.Final-redhat-2]

        at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.5.2.Final-redhat-2.jar:7.5.2.Final-redhat-2]

        ... 5 more

      Caused by: java.io.IOException: invalid header field

        at java.util.jar.Attributes.read(Attributes.java:406) [rt.jar:1.8.0_40]

        at java.util.jar.Manifest.read(Manifest.java:199) [rt.jar:1.8.0_40]

        at java.util.jar.Manifest.<init>(Manifest.java:69) [rt.jar:1.8.0_40]

        at org.jboss.vfs.VFSUtils.readManifest(VFSUtils.java:243) [jboss-vfs-3.2.9.Final-redhat-1.jar:3.2.9.Final-redhat-1]

        at org.jboss.vfs.VFSUtils.getManifest(VFSUtils.java:227) [jboss-vfs-3.2.9.Final-redhat-1.jar:3.2.9.Final-redhat-1]

        at org.jboss.as.server.deployment.module.ManifestAttachmentProcessor.getManifest(ManifestAttachmentProcessor.java:76) [jboss-as-server-7.5.2.Final-redhat-2.jar:7.5.2.Final-redhat-2]

        ... 7 more