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

New CLI deployer should accept foreign JAR file not impl class

    XMLWordPrintableJSON

Details

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

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

            Dates

              Created:
              Updated:
              Resolved: