Issue Details (XML | Word | Printable)

Key: GLASSFISH-19857
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: martin.mares
Reporter: Tom Mueller
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
glassfish

CLICommands in admin-cli.jar showing up twice in list-commands --localonly output

Created: 13/Mar/13 03:10 PM   Updated: 02/Apr/13 10:15 AM   Resolved: 02/Apr/13 10:15 AM
Component/s: command_line_interface
Affects Version/s: 4.0_b79
Fix Version/s: 4.0_b81

Time Tracking:
Not Specified

Tags:
Participants: martin.mares and Tom Mueller


 Description  « Hide

The list-commands --localonly output is showing the CLICommands that are in admin-cli.jar twice:

$ asadmin list-commands --localonly

                    • Local Commands **********
                      backup-domain
                      change-admin-password
                      change-master-password
                      create-domain
                      create-local-instance
                      create-service
                      delete-domain
                      delete-local-instance
                      export
                      export
                      help
                      help
                      import-sync-bundle
                      install-node
                      install-node-dcom
                      install-node-ssh
                      list-backups
                      list-commands
                      list-commands
                      list-domains
                      login
                      login
                      monitor
                      multimode
                      multimode
                      osgi-shell
                      restart-domain
                      restart-local-instance
                      restore-domain
                      setup-local-dcom
                      setup-ssh
                      start-database
                      start-domain
                      start-local-instance
                      stop-database
                      stop-domain
                      stop-local-instance
                      uninstall-node
                      uninstall-node-dcom
                      uninstall-node-ssh
                      unset
                      unset
                      validate-multicast
                      verify-domain-xml
                      version
                      version

Command list-commands executed successfully.

This is probably related to the recent changes in how CLICommands are looked up by the command framework.



There are no comments yet on this issue.