Geronimo
  1. Geronimo
  2. GERONIMO-1367

Shutdown JAR should use deployer stored username/password

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 2.1.4, 2.2
    • Component/s: startup/shutdown, usability
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      It would be nice if the shutdown script used the username and password saved by the deployer so you didn't need to specify them or re-enter them.

      1. GERONIMO-1367.patch
        12 kB
        Lasantha Ranaweera

        Activity

        Hide
        Jarek Gawor added a comment -

        Committed changes to trunk (revision 727643) and branches/2.1 (revision 72764). For branches/2.1 this change might cause some problems reading existing saved credentials as the SavedAuthentication class was moved to another location (i.e. might cause some deserialization errors)

        Show
        Jarek Gawor added a comment - Committed changes to trunk (revision 727643) and branches/2.1 (revision 72764). For branches/2.1 this change might cause some problems reading existing saved credentials as the SavedAuthentication class was moved to another location (i.e. might cause some deserialization errors)
        Hide
        Ying Tang added a comment -

        I started the server, deployed a sample application using the deploy command (deploy -u system -p manager deploy path/sample.war path/geronimo-web.xml), and then tried the shutdown command. But I was still prompted for the username and password.
        Did I follow the correct steps?

        Show
        Ying Tang added a comment - I started the server, deployed a sample application using the deploy command (deploy -u system -p manager deploy path/sample.war path/geronimo-web.xml), and then tried the shutdown command. But I was still prompted for the username and password. Did I follow the correct steps?
        Hide
        Jarek Gawor added a comment -

        You have to use the "login" option to save the credentials first (deploy -u system login).

        Show
        Jarek Gawor added a comment - You have to use the "login" option to save the credentials first (deploy -u system login).
        Hide
        Ying Tang added a comment -

        Thanks. I have added this feature to the document pages about the deploy and shutdown commands:

        http://cwiki.apache.org/confluence/display/GMOxDOC22/shutdown
        http://cwiki.apache.org/confluence/display/GMOxDOC22/deploy

        Show
        Ying Tang added a comment - Thanks. I have added this feature to the document pages about the deploy and shutdown commands: http://cwiki.apache.org/confluence/display/GMOxDOC22/shutdown http://cwiki.apache.org/confluence/display/GMOxDOC22/deploy

          People

          • Assignee:
            Jarek Gawor
            Reporter:
            Aaron Mulder
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development