glassfish
  1. glassfish
  2. GLASSFISH-10340

delete-system-property should include the element name as well while printing the error

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: V3
    • Fix Version/s: future release
    • Component/s: admin
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: PC

      Description

      When you try to delete the system property which is in use it fails with the
      message that the property is in use. But it doesn't print the config element in
      which the property is referenced.

      In the following case the listener httpls1 is referencing the property, the
      error message should say the property is in use by the element httpls1.

      aroot@easqeopt19:~# asadmin delete-system-property port
      com.sun.enterprise.admin.cli.CommandException: remote failure: System Property
      port is referenced by [network-listener:port] in the configuration. Please
      remove the references first.

      Command delete-system-property failed.

      aroot@easqeopt19:~# asadmin get "*" | grep httpls1
      configs.config.server-config.network-config.network-listeners.network-listener.httpls1.port=$

      {port}

        Activity

        sankarpn created issue -
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 10340 41944
        Tom Mueller made changes -
        Fix Version/s V3 [ 10981 ]
        Tom Mueller made changes -
        Summary delete-system-property should include the listener name as well while printing the error delete-system-property should include the element name as well while printing the error
        Issue Type Bug [ 1 ] Improvement [ 4 ]
        Fix Version/s 3.2 [ 10969 ]
        Priority Minor [ 4 ] Major [ 3 ]
        Tags 3_1-exclude
        Tom Mueller made changes -
        Fix Version/s future release [ 11148 ]
        Fix Version/s 3.2 [ 10969 ]
        Tom Mueller made changes -
        Assignee Tom Mueller [ tmueller ] kumara [ kumara ]

          People

          • Assignee:
            kumara
            Reporter:
            sankarpn
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: