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

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        52d 3h 12m 1 Ivan 08/Nov/10 06:16
        Resolved Resolved Closed Closed
        113d 2h 32m 1 Forrest Xia 01/Mar/11 08:48
        Forrest Xia made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        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
        Ivan made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.0 [ 12314206 ]
        Resolution Fixed [ 1 ]
        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.".
        Ivan made changes -
        Field Original Value New Value
        Assignee Ivan [ xuhaihong ]
        maojia created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development