glassfish
  1. glassfish
  2. GLASSFISH-16204

Replace hardcoded 20 timeout for server startup in AdminAdapter with configurable value

    Details

      Description

      The AdminAdapter.service method contains the following code:

      if (!latch.await(20L, TimeUnit.SECONDS)) {

      This statement waits up to 20 seconds for the server to become ready before processing any asadmin command.
      Depending on the number and type of applications that are deployed to the server, it may take more than 20 seconds for the server to start, and when starting the server and running commands from a script, it is desirable to be able to increase this value.

      This RFE requests that the hardcoded "20L" be turned into a configurable parameter for the system either through an environment variable or a system property.

      This problem was reported on the glassfish users mailing list on 3/14/2011.

        Activity

          People

          • Assignee:
            kumara
            Reporter:
            Tom Mueller
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: