Results 1 to 5 of 5

Thread: What is the best way to install and start bundles on startup?

  1. #1
    Join Date
    Jul 2008
    Posts
    7

    Question What is the best way to install and start bundles on startup?

    Hello,

    My application has 20 bundle projects and about 70 dependencies bundles. So it's 90 bundles to install and start in the osgi framework.

    I'd like to run this application on a client. But it's really painfull to start the osgi framework (equinox), install bundles and start all the 90. Is there a better way to do that??

    * I've tried this approach: http://www.eclipse.org/equinox/documents/quickstart.php, using org.eclipse.update.configurator, but it doesn't start all the bundles.
    * This application isn't a RCP application.
    Last edited by iwlucas; Jul 13th, 2009 at 04:28 PM. Reason: Adding more information

  2. #2
    Join Date
    Oct 2006
    Location
    Germany, Berlin
    Posts
    11

    Default Pax Construct

    You cold use the tool Pax Construct http://www.ops4j.org/projects/pax/construct/ to start and test your bundles.

  3. #3
    Join Date
    Dec 2005
    Location
    Lyon, France
    Posts
    311

    Default

    you can try File Install from Apache Felix project.

    From the project home page: "File Install is a directory based OSGi management agent. It uses a directory in the file system to install and start a bundle when it is first placed there. It updates the bundle when you update the bundle file in the directory and, when the file is deleted, it will stop and uninstall the bundle."

  4. #4
    Join Date
    Jan 2005
    Location
    Bucharest, Romania
    Posts
    5,403

    Default

    In addition to the tools mentioned above, you could check the Spring DM samples which use an equinox configuration file to do the initial platform provisioning.
    Costin Leau
    SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
    http://twitter.com/costinl
    Please use [ c o d e ] [ / c o d e ] tags

  5. #5
    Join Date
    Dec 2005
    Location
    Lyon, France
    Posts
    311

    Default

    Pax Runner is another tool to launch and provision your OSGi container. You can use files to configure it.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •