glassfish
  1. glassfish
  2. GLASSFISH-16048

Application info page: status not show correctly and virtual servers changes not saved.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1_b43
    • Fix Version/s: 3.1.1_b01
    • Component/s: admin_gui
    • Labels:
      None

      Description

      I just notice 2 issues in application information page after application is deployed.
      This only occurs in DAS ONLY environment.

      • The status checkbox is always unchecked regardless whether the application is enabled or disabled. The display is wrong.
      • Changing the list of virtual servers is not persisted.

      The display for the status was not correct is a regression i introduced when fixing GLASSFISH-15848.
      Not able to save the virtual servers is due to the capitalization of the attribute variable. I believe the issue has been there for a while.

        Issue Links

          Activity

          Hide
          Anissa Lam added a comment -

          The issue has been fixed in the trunk,

          Sending appEdit.layout
          Transmitting file data .
          Committed revision 45179.
          ==================

          We want to release note this to provide a workaround for user.
          User will only see this issue when there is NO clusters or standalone instances created in the domain.

          • For the status of the application, always look at the applications table that lists out the applications. The status is correctly displayed there, and user can use this table to change the status as well.
          • To change the virtual server for the deployed application, use the CLI set command.

          use the following CLI to see the info:

          %asadmin get server.application-ref.<APPLICATION_NAME>.*

          and set command to change the list of virtual servers for this application.

          %asadmin set server.application-ref.<APPLICATION_NAME>.virtual-servers=<list-of-vs-separated-by-comman>

          example of get :
          %asadmin get server.application-ref.hello

          examples of set:
          %asadmin set server.application-ref.hello.virtual-servers=server,myVS
          or
          %asadmin set server.application-ref.hello.virtual-servers=myVS

          Show
          Anissa Lam added a comment - The issue has been fixed in the trunk, Sending appEdit.layout Transmitting file data . Committed revision 45179. ================== We want to release note this to provide a workaround for user. User will only see this issue when there is NO clusters or standalone instances created in the domain. For the status of the application, always look at the applications table that lists out the applications. The status is correctly displayed there, and user can use this table to change the status as well. To change the virtual server for the deployed application, use the CLI set command. use the following CLI to see the info: %asadmin get server.application-ref.<APPLICATION_NAME>.* and set command to change the list of virtual servers for this application. %asadmin set server.application-ref.<APPLICATION_NAME>.virtual-servers=<list-of-vs-separated-by-comman> example of get : %asadmin get server.application-ref.hello examples of set: %asadmin set server.application-ref.hello.virtual-servers=server,myVS or %asadmin set server.application-ref.hello.virtual-servers=myVS
          Hide
          Anissa Lam added a comment -

          Fixed in the trunk.

          Show
          Anissa Lam added a comment - Fixed in the trunk.
          Hide
          Scott Fordin added a comment -

          Added issue to 3.1 Release Notes.

          Show
          Scott Fordin added a comment - Added issue to 3.1 Release Notes.
          Hide
          shaline added a comment -

          Verified on promoted b08.

          Show
          shaline added a comment - Verified on promoted b08.

            People

            • Assignee:
              Anissa Lam
              Reporter:
              Anissa Lam
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: