glassfish
  1. glassfish
  2. GLASSFISH-16618

ScatteredArchive should allow null name

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Invalid
    • Affects Version/s: 3.1
    • Fix Version/s: None
    • Component/s: embedded
    • Labels:
      None

      Description

      Current requirement to specify SA name contradicts the following features in GlassFish:
      a) CLI deploy attributes where name is optional;
      b) DOL ignores this name when an app name is provided in the deployment descriptor

      In addition, SA can construct an appropriate name from the file used to create SA to avoid code duplication that would need to do the same work on each client side.

        Activity

        marina vatkina created issue -
        scatari made changes -
        Field Original Value New Value
        Tags 3_1-next 3_1_1-scrubbed
        Hide
        Bhavanishankar added a comment -

        This looks like an invalid issue.

        (a) CLI deploy attributes where name is optional;

        CLI deploy uses the JAR file not ScatteredArchive. So, if you already have a JAR file, don't use ScatteredArchive. Idea of scattered archive is to build on-the-fly archive with the name you have supplied. So, you must supply a name.

        (b) DOL ignores this name when an app name is provided in the deployment descriptor

        That behavior will remain the same with ScatteredArchive as well.

        Show
        Bhavanishankar added a comment - This looks like an invalid issue. (a) CLI deploy attributes where name is optional; CLI deploy uses the JAR file not ScatteredArchive. So, if you already have a JAR file, don't use ScatteredArchive. Idea of scattered archive is to build on-the-fly archive with the name you have supplied. So, you must supply a name. (b) DOL ignores this name when an app name is provided in the deployment descriptor That behavior will remain the same with ScatteredArchive as well.
        Bhavanishankar made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Invalid [ 6 ]

          People

          • Assignee:
            Bhavanishankar
            Reporter:
            marina vatkina
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: