You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "toby cabot (JIRA)" <de...@geronimo.apache.org> on 2006/01/19 23:11:42 UTC

[jira] Created: (GERONIMO-1507) prototype offline deploy tool

prototype offline deploy tool
-----------------------------

         Key: GERONIMO-1507
         URL: http://issues.apache.org/jira/browse/GERONIMO-1507
     Project: Geronimo
        Type: New Feature
  Components: deployment  
    Versions: 1.0.1    
 Environment: fedora core 2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
Geronimo 1.0 branch, 
    Reporter: toby cabot
    Priority: Minor


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.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (GERONIMO-1507) prototype offline deploy tool

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1507?page=all ]
     
David Jencks closed GERONIMO-1507:
----------------------------------

    Fix Version: 1.1
     Resolution: Fixed

rev 405881.

> prototype offline deploy tool
> -----------------------------
>
>          Key: GERONIMO-1507
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1507
>      Project: Geronimo
>         Type: New Feature
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.1
>  Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Geronimo 1.0 branch, 
>     Reporter: toby cabot
>     Assignee: David Jencks
>     Priority: Minor
>      Fix For: 1.1
>  Attachments: 1507_offline-deployer.diff, offline-patch.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1507) prototype offline deploy tool

Posted by "toby cabot (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1507?page=all ]

toby cabot updated GERONIMO-1507:
---------------------------------

    Attachment: offline-patch.txt

> prototype offline deploy tool
> -----------------------------
>
>          Key: GERONIMO-1507
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1507
>      Project: Geronimo
>         Type: New Feature
>   Components: deployment
>     Versions: 1.0.1
>  Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Geronimo 1.0 branch, 
>     Reporter: toby cabot
>     Priority: Minor
>  Attachments: offline-patch.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1507) prototype offline deploy tool

Posted by "toby cabot (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1507?page=all ]

toby cabot updated GERONIMO-1507:
---------------------------------

    Patch Info: [Patch Available]

> prototype offline deploy tool
> -----------------------------
>
>          Key: GERONIMO-1507
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1507
>      Project: Geronimo
>         Type: New Feature
>   Components: deployment
>     Versions: 1.1
>  Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Geronimo 1.0 branch, 
>     Reporter: toby cabot
>     Priority: Minor
>  Attachments: offline-patch.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (GERONIMO-1507) prototype offline deploy tool

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1507?page=all ]

David Jencks reassigned GERONIMO-1507:
--------------------------------------

    Assign To: David Jencks

> prototype offline deploy tool
> -----------------------------
>
>          Key: GERONIMO-1507
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1507
>      Project: Geronimo
>         Type: New Feature
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.1
>  Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Geronimo 1.0 branch, 
>     Reporter: toby cabot
>     Assignee: David Jencks
>     Priority: Minor
>  Attachments: offline-patch.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (GERONIMO-1507) prototype offline deploy tool

Posted by "David Jencks (JIRA)" <de...@geronimo.apache.org>.
     [ http://issues.apache.org/jira/browse/GERONIMO-1507?page=all ]

David Jencks updated GERONIMO-1507:
-----------------------------------

    Attachment: 1507_offline-deployer.diff

Inspired by this I implemented an offline deployer as part of deployer.jar.  You use the --offline flag.  It starts up a kernel in-vm and starts the configurations listed in var/config/offline-deployer-list and registers a shutdown hook.  Then the normal deploy commands proceed using this in-vm kernel.

I'll apply this when svn comes back to life.

> prototype offline deploy tool
> -----------------------------
>
>          Key: GERONIMO-1507
>          URL: http://issues.apache.org/jira/browse/GERONIMO-1507
>      Project: Geronimo
>         Type: New Feature
>     Security: public(Regular issues) 
>   Components: deployment
>     Versions: 1.1
>  Environment: fedora core 2
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_06-b03)
> Geronimo 1.0 branch, 
>     Reporter: toby cabot
>     Assignee: David Jencks
>     Priority: Minor
>  Attachments: 1507_offline-deployer.diff, offline-patch.txt
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira