Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26305

Jars inside an EAR application are not compressed

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 4.30.x
    • None
    • server
    • None
    • Hide

      1. Create an EAR project
      2. Create a java project
      3. In the assembly config of the EAR project, add the java project to be included
      4. Start the server (EAP 6.4 or 7.1) and deploy the app
      5. Check the deployment dir (Server -> Show in > File Browser)

      Show
      1. Create an EAR project 2. Create a java project 3. In the assembly config of the EAR project, add the java project to be included 4. Start the server (EAP 6.4 or 7.1) and deploy the app 5. Check the deployment dir (Server -> Show in > File Browser)

    Description

      A customer has reported an issue where an ear project, when deployed to EAP 7.1, contains exploded jars which then breaks his app. It seems that in his case it happens both in the case of a jar inside a war inside an ear, as well as just a jar inside an ear.

      Also, when the customer deploys the same app in the same workspace and same eclipse to EAP 6.4, it works fine - all the jars are zipped.
      The customer reports that he can change this behavior in the Deployments tab of the server editor, but it would be nice to be able to define this beforehand in a config file.

      I tried to reproduce this in devstudio 12 and in my case the behavior was the same with both EAP 6.4 and 7.1 - in both cases an included jar was exploded which I think is wrong.

      So two main things to consider:
      1. Is this a bug? I believe it is - a jar lib should always be zipped by default. Or do you disagree?
      2. Is there a way to specify if a module of an EAP is zipped or not in a config file? If not, can this be added?

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            exd-mmalina Martin Malina
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: