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

Remote deployment using command line deployer does not really work

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1, 2.0.2, 2.1
    • 2.0.3, 2.1
    • deployment
    • Security Level: public (Regular issues)
    • None

    Description

      Remote deployment using command line deployer tool does not really work currently as the host has to be localhost. Here are my observations.
      1. Deployer.getRemoteDeployUploadURL() is not checking if the contextPath starts with a '/' thus resulting in an incorrect URL like http://localhost:8080//remote-deploy/upload.
      2. Using a remoteDeployAddress like http://localhost:8080 with hostname localhost is not useful at all. When the host we are deploying to is the local machine itself, RemoteDeploymentManager.isSameMachine() returns true and in this case the local files are used directly.

      Attachments

        Issue Links

          Activity

            People

              vamsic Vamsavardhana Reddy
              vamsic Vamsavardhana Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: