glassfish
  1. glassfish
  2. GLASSFISH-17094

deployment of war files packaged in ear is wery slow (often causes timeout: No response from Domain Admin Server after 600 seconds.)

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.1_b12
    • Fix Version/s: 3.1.2_b02, 4.0
    • Component/s: deployment
    • Labels:
      None
    • Environment:

      Windows 7 Ultimate x64;
      java version "1.6.0_26"
      Java(TM) SE Runtime Environment (build 1.6.0_26-b03)

      Description

      We have several enterprise applications which contain web modules developed with Google Web toolkit.
      The applications deploy and run correctly with GlassFish 3.1.
      I have tried to deploy the same enterprise applications to GlassFish 3.1.1 b12 but the deployment fails with the following message:

      asadmin> deploy app.ear
      No response from Domain Admin Server after 600 seconds.
      The command is either taking too long to complete or the server has failed.
      Please see the server log files for command status.
      Command deploy failed.

      It seams that the extraction of the war file included in the ear is very slow, it takes more than 10 minutes to complete the extraction of files.
      If I deploy the war file standalone (not packaged in ear) then the deploy is fast and successful like in GlassFish 3.1.

      To reproduce the issue i have attached an ear file with a war file wich contains only the static files (images, java script, HTML, CSS) from a real application.
      The deployment of this ear takes more than 2,5 minutes (154 739 milliseconds) with GlassFish 3.1.1 b12. The same ear deploys in 3 456 milliseconds with GlassFish 3.1. This is a performance decrease of 4 477%!!!
      The deployment of the war file standalone (not packaged in ear) takes 3 085 milliseconds with GlassFish 3.1.1 b12.
      I have also included the server.log files from the tests.

        Issue Links

          Activity

          Hide
          Rebecca Parks added a comment -

          Does this apply to 3.1.2? If there's a doc impact, please file a related doc bug.

          Show
          Rebecca Parks added a comment - Does this apply to 3.1.2? If there's a doc impact, please file a related doc bug.
          Hide
          Tim Quinn added a comment -

          No doc impact.

          Show
          Tim Quinn added a comment - No doc impact.
          Hide
          ymajoros added a comment - - edited

          I thought I was impacted by this, but I had another problem. I could drastically improve deploy time (from 350s to 30s, same application):

          http://ymajoros.blogspot.com/2011/12/improve-glassfish-deployment-time-by.html

          Show
          ymajoros added a comment - - edited I thought I was impacted by this, but I had another problem. I could drastically improve deploy time (from 350s to 30s, same application): http://ymajoros.blogspot.com/2011/12/improve-glassfish-deployment-time-by.html
          Hide
          Tim Quinn added a comment -

          ymajoros,

          What difference in deployment speed did you see, if any, for your app using 3.1.2 b02 or later, without your own changes?

          Show
          Tim Quinn added a comment - ymajoros, What difference in deployment speed did you see, if any, for your app using 3.1.2 b02 or later, without your own changes?
          Hide
          ymajoros added a comment -

          Nice:

          EPCFull was successfully deployed in 23,155 milliseconds.

          Which is about the same as my best try.

          Show
          ymajoros added a comment - Nice: EPCFull was successfully deployed in 23,155 milliseconds. Which is about the same as my best try.

            People

            • Assignee:
              Tim Quinn
              Reporter:
              ldaroczi
            • Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: