JBoss Enterprise Application Platform 4 and 5
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-7526

Exploded deployment of an EAR not containing MANIFEST.MF causes error

    Details

    • Type: Bug Bug
    • Status: Open Open (View Workflow)
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: EAP_EWP 5.1.2 ER2, EAP_EWP 5.2.0 ER2, EAP_EWP 5.3.0.ER3
    • Fix Version/s: EAP_EWP 5.3.1.GA
    • Component/s: Consoles, Embedded Jopr
    • Security Level: Public (Everyone can see)
    • Labels:
      None
    • Docs QE Status:
      NEW
    • Similar Issues:
      Show 9 results 

      Description

      When you use the admin console to deploy (in exploded form) an EAR that does not contain META-INF/MANIFEST.MF file, you will see an error like this>

      Failed to create Resource mock-ear.ear - cause: java.io.FileNotFoundException:/home/jmartisk/builds/jboss-eap-noauth-5.1.2-ER2/jboss-as/server/default/deploy/mock-ear.ear/META-INF/MANIFEST.MF (No such file or directory)

      The EAR application (at least in my case) still gets deployed properly, but this error message might cause confusion to the user.

      Full stacktrace from the EAP log:
      java.io.FileNotFoundException: /home/jmartisk/builds/jboss-eap-noauth-5.1.2-ER2/jboss-as/server/default/deploy/mock-ear.ear/META-INF/MANIFEST.MF (No such file or directory)
      at java.io.FileOutputStream.open(Native Method)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
      at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
      at org.rhq.plugins.jbossas5.deploy.AbstractDeployer.deploy(AbstractDeployer.java:156)
      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createContentBasedResource(CreateChildResourceFacetDelegate.java:124)
      at org.rhq.plugins.jbossas5.helper.CreateChildResourceFacetDelegate.createResource(CreateChildResourceFacetDelegate.java:56)
      at org.rhq.plugins.jbossas5.ApplicationServerComponent.createResource(ApplicationServerComponent.java:317)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)

      to reproduce, you may use for example this file: http://scratch.englab.brq.redhat.com/jmartisk/mock/mock-ear.ear

        Issue Links

          Activity

          Hide
          Jan Martiska
          added a comment -

          still present in 5.2.0.ER2

          Show
          Jan Martiska
          added a comment - still present in 5.2.0.ER2
          Hide
          Larry O'Leary
          added a comment -

          I tested this in 5.2 GA and do not see this error.

          Perhaps it is something else in your test EAR causing it? The link provided above doesn't seem to work for mock-ear.ear. Could you re-test in 5.2.0.GA. If the problem persists, please attach your test ear to this JIRA.

          Show
          Larry O'Leary
          added a comment - I tested this in 5.2 GA and do not see this error. Perhaps it is something else in your test EAR causing it? The link provided above doesn't seem to work for mock-ear.ear. Could you re-test in 5.2.0.GA. If the problem persists, please attach your test ear to this JIRA.
          Hide
          RH Bugzilla Integration
          added a comment -

          Larry O'Leary <loleary@redhat.com> made a comment on bug 754101

          I retested this in EAP 5.2 and did not see the error.

          Closing as WORKSFORME as there is no RHQ specific action to take at this point. If this issue still exists in admin-console we should get downstream JBPAPP-7526 cloned to EMBJOPR JIRA.

          Show
          RH Bugzilla Integration
          added a comment - Larry O'Leary <loleary@redhat.com> made a comment on bug 754101 I retested this in EAP 5.2 and did not see the error. Closing as WORKSFORME as there is no RHQ specific action to take at this point. If this issue still exists in admin-console we should get downstream JBPAPP-7526 cloned to EMBJOPR JIRA.
          Hide
          RH Bugzilla Integration
          added a comment -

          Larry O'Leary <loleary@redhat.com> changed the Status of bug 754101 from NEW to CLOSED

          Show
          RH Bugzilla Integration
          added a comment - Larry O'Leary <loleary@redhat.com> changed the Status of bug 754101 from NEW to CLOSED
          Hide
          Jakub Cechacek
          added a comment -

          Issue still persists in EAP 5.3.ER3

          Show
          Jakub Cechacek
          added a comment - Issue still persists in EAP 5.3.ER3

            People

            • Assignee:
              Larry O'Leary
              Reporter:
              Jan Martiska
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: