[GLASSFISH-18971] LifecycleModule can't be listed in GUI when deployed on cluster or no specific target. Created: 02/Aug/12  Updated: 22/Feb/13  Resolved: 22/Feb/13

Status: Resolved
Project: glassfish
Component/s: admin_gui
Affects Version/s: 4.0_b45
Fix Version/s: 4.0_b78, 4.0

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

Windows Xp

Attachments: Zip Archive lifecycle_module_solution_way_1.zip     Zip Archive lifecycle_module_solution_way_2.zip    


[Bug Description]
LifecycleModule can't be listed in GUI when deployed on cluster or no specific target.

1. create a cluster(cluster001),then create a lifecycle module on target cluster001(test)

2. there's no lifecycle module listed in GUI, but you can list the lifecycle module through
"asadmin list-lifecycle-module --target cluster001"

[my opition]
I think the lifecycle module should be listed in GUI when deployed on cluster or no specific target .

[Affected versions]
1 4.0_b45
2 gf's trunk until 2012/07/30

Comment by Jeremy_Lv [ 02/Aug/12 ]

I have two solution ideas about this issue. I wonder if you can choose one and then I'll run the QL tests and dev tests as soon as possible.

Comment by Hong Zhang [ 02/Aug/12 ]

Lifecycle modules maybe listed in a different screen in GUI, I will let Anissa comment on this first.

Comment by Jeremy_Lv [ 22/Oct/12 ]

if you have cycle. pls review my revised codes which is already attached to the JIRA and tell me anything useful informations about dev tests related to admin_gui.

Comment by Anissa Lam [ 12/Feb/13 ]

Issues need to be addressed before 4.0 HCF (3/25)

Comment by Anissa Lam [ 22/Feb/13 ]

thanks Jeremy_Lv for filing and try to provide a fix to the issue.
I looked at this, the issue isn't in the list-lifecycle-modules command. The console should have called with --target domain to get all the lifecycle modules for the entire domain, just like list-applications.

I just fixed it by adding the target domain, otherwise, the default is 'server', and thus won't show any LF thats created for other target.
I have checked in the fix.

Log Message:
fix GLASSFISH-18971. Console should pass in 'domain' as target so that list-lifecycle-modules will return all the lifecycle modules.


Modified Paths:

Generated at Tue Jul 28 04:14:02 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.