• Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1
    • Fix Version/s: 1.1
    • Component/s: deployment
    • Security Level: public (Regular issues)
    • Labels:
    • Environment:

      fedora core 2
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
      Geronimo 1.0 branch,

    • Patch Info:
      Patch Available


      Here's a prototype offline deploy tool. It has only one command, for offline distribution of applications. It's basically a clone of the online tool so it works in a similar way, but for the distribute-offline command it uses a hacked version of the packaging plugin's PackageBuilder class to start a kernel, load some configurations, and then call the deployer.

      It has one serious bug at the moment: it doesn't switch between tomcat and jetty. Not sure why, but I can look into it more.

      It has some missing features:

      • it should get dependencies from somewhere (maybe download them from an online Maven repo)
      • it should be able to manipulate config.xml
      • it needs more commands (at least undistribute)
      • it needs to allow the user to specify the config-store to write to

      There's probably a lot of unused code there, too, since I haven't figured out what everything does yet. But it's a start.

      You can use it like the online tool. The jar is $GERONIMO_HOME/bin/offline.jar.


        1. offline-patch.txt
          66 kB
          toby cabot
        2. 1507_offline-deployer.diff
          43 kB
          David Jencks



            • Assignee:
              djencks David Jencks
              toby toby cabot
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: