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

Command line deployer should be able to connect to remote server

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-M2
    • 1.0-M3
    • deployment
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment