[GLASSFISH-16048] Application info page: status not show correctly and virtual servers changes not saved. Created: 18/Feb/11  Updated: 22/Jun/11  Resolved: 18/Feb/11

Status: Closed
Project: glassfish
Component/s: admin_gui
Affects Version/s: 3.1_b43
Fix Version/s: 3.1.1_b01

Type: Bug Priority: Major
Reporter: Anissa Lam Assignee: Anissa Lam
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
is duplicated by GLASSFISH-16054 Regression: Status showed incorrectly... Resolved
Tags: 3_1-exclude, 3_1-release-note-added, 3_1-release-notes


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.

Comment by Anissa Lam [ 18/Feb/11 ]

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
%asadmin set server.application-ref.hello.virtual-servers=myVS

Comment by Anissa Lam [ 18/Feb/11 ]

Fixed in the trunk.

Comment by Scott Fordin [ 12/Apr/11 ]

Added issue to 3.1 Release Notes.

Comment by shaline [ 22/Jun/11 ]

Verified on promoted b08.

Generated at Sun May 03 15:25:54 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.