Results 1 to 5 of 5

Thread: webapp cannot configure both extenders?

  1. #1
    Join Date
    Mar 2010
    Posts
    16

    Default webapp cannot configure both extenders?

    Greetings,

    I have build a sample spring-dm powered web application but it seems impossible to provide extender configuration options for both the standard OSGI extender and the web-based extender.

    The reason is that the Manifest (META-INF/MANIFEST.MF) cannot contain multiple fragment references (Fragment-Host: ...)

    Any ideas?

  2. #2
    Join Date
    Mar 2010
    Posts
    16

    Default I think I got it

    I think I got it.

    Web app bundle does not need to be a fragment of web extender. A dedicated bundle can be used for that thus enabling web app bundle to be fragment of osgi extender. Assuming both webapp bundle and extender fragment bundle being in same PAR deployment unit.

    A crazy scenario however is crossing my mind.

    What if I want to run more than one containers on same OSGI environment? How would the web extender know to which container to deploy each of the web app bundles? I suspect each web app bundle would contain a reference to the service reference of the desired deployer (warDeployer bean).

    Is this correct?

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

    Default

    PAR implies dmServer not Spring DM. If that's the case, consider posting on the dmServer forum (I can move the thread if you want).
    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

  4. #4
    Join Date
    Mar 2010
    Posts
    16

    Default Please move this thread

    Indeed, my scenario implies "DM Server"

    Please move the post accordingly

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

    Default

    Moved to dmServer forums.
    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

Posting Permissions

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