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

New CLI deployer should accept foreign JAR file not impl class

    XMLWordPrintableJSON

    Details

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

      Description

      The --driver option should take a JAR file not a driver class. It's not obvious how to add a foreign driver to the CLASSPATH otherwise (because we use a teeny JAR which itself uses manifest Class-Path entries). This option should:

      • prepare a classloader including the driver JAR and its manifest Class-Path entries
      • identify and load the DeploymentFactory impl listed in the JSR-88 entry in the manifest file (or if it's not there, give an informative error message)
      • register the DeploymentFactory (if the spec doesn't say it should do that itself)

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: