Uploaded image for project: 'Geronimo'
  1. Geronimo
  2. GERONIMO-357

Command line deployer should be able to connect to remote server

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-M2
    • Fix Version/s: 1.0-M3
    • Component/s: deployment
    • Labels:
      None

      Description

      Currently the command line deployer (bin/deployer.jar) works offline by installing configurations directly into the server's config-store.

      We support online deployment using the JSR-88 interface by providing the necessary plugin.

      It would useful to merge the two and extend the command line deployer so that it can connect to a remote server and deploy things there. The usage of this would be something like:

      java -jar bin/deployer.jar
      --host localhost
      --user bob
      --password bob
      --module myapp.ear
      --plan myplan.xml

      which would construct a JSR-88 url for the server, connect and distribute and start the application.

      We should also allow direct specification of the server's connectior url:
      java -jar bin/deploy.jar
      --server deployer:geronimo:jmx:rmi://localhost/jndi/rmi:/JMXConnector
      --user bob
      --password bob
      --module myapp.ear
      --plan myplan.xml

      just in case other transports are in use.

      The converse undeploy operation would also be useful.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ammulder Aaron Mulder
                Reporter:
                jboynes Jeremy Boynes
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: