Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.0
    • Component/s: commands
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Environment:

      Windows platform

      Description

      When running the "deploy:login" gogo command, the following error information was reported:

      No credentials to save in embedded mode.

        Activity

        Hide
        Ivan added a comment -

        Commit changes to trunk at revision: 1032466, this JIRA depends on the JIRA GERONIMO-5579.
        deploy:login command is used to save the credentials of current connection on the local server, so next time, while the users connect to the same server, no need the input the username and password. The deploy:login command will track the current active connection, e.g. if you have run deploy:connect command and successfully connect to a remote server, then the credential information for that server will be kept by deploy:login command. If you run the deploy:login command directly without hostname and port, it will try to create a connection, by default, in the embeded mode, a connection to the embeded server is created, so it will print No credentials to save in embedded mode.".

        Show
        Ivan added a comment - Commit changes to trunk at revision: 1032466, this JIRA depends on the JIRA GERONIMO-5579 . deploy:login command is used to save the credentials of current connection on the local server, so next time, while the users connect to the same server, no need the input the username and password. The deploy:login command will track the current active connection, e.g. if you have run deploy:connect command and successfully connect to a remote server, then the credential information for that server will be kept by deploy:login command. If you run the deploy:login command directly without hostname and port, it will try to create a connection, by default, in the embeded mode, a connection to the embeded server is created, so it will print No credentials to save in embedded mode.".
        Hide
        Forrest Xia added a comment -

        This behavior should be documented properly.
        1. If you run this command for an embedded server, then "No credentials to save in embedded mode" is expected
        2. If you run commands as this sequence:
        geronimo>deploy:connect -s remote_server -p remote_port -u system -w manager
        geronimo>deploy:login

        Then the remote connection credentials will be saved and a message prints out like this:
        Saved login for: deployer:geronimo:jmx://remote_ip:remote_port

        Show
        Forrest Xia added a comment - This behavior should be documented properly. 1. If you run this command for an embedded server, then "No credentials to save in embedded mode" is expected 2. If you run commands as this sequence: geronimo>deploy:connect -s remote_server -p remote_port -u system -w manager geronimo>deploy:login Then the remote connection credentials will be saved and a message prints out like this: Saved login for: deployer:geronimo:jmx://remote_ip:remote_port

          People

          • Assignee:
            Ivan
            Reporter:
            maojia
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development