You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2009/12/04 07:37:20 UTC
[jira] Created: (GERONIMO-4972) Nested child configurations from
ears don't work well with osgi
Nested child configurations from ears don't work well with osgi
---------------------------------------------------------------
Key: GERONIMO-4972
URL: https://issues.apache.org/jira/browse/GERONIMO-4972
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: deployment, osgi
Affects Versions: 3.0
Reporter: David Jencks
Assignee: David Jencks
Fix For: 3.0
Right now we are generating "nested bundles" inside plugins for ear files with web modules. These don't quite work. One code problem is that the SimpleConifgurationManager tries to start the child bundles before the configuration for the parent/containing bundle is registered, so a getConfiguration call to find the parent config fails. This is probably easy to fix.
However a bigger issue is that there's no way to tell the osgi framework about the nested bundle. Three possible solutions:
1. stop having nested bundles, just use one bundle per ear. This is a 1-line change in AbstractWebModuleBuilder so I expect to use this until we can actually solve the problem
2. modify the pax mvn url handler to deal with urls to nested bundles inside the car.
3. modify the ear deployer to create more than one bundle from an ear.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (GERONIMO-4972) Nested child configurations from
ears don't work well with osgi
Posted by "Rick McGuire (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4972?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rick McGuire updated GERONIMO-4972:
-----------------------------------
Issue Type: Sub-task (was: Bug)
Parent: GERONIMO-5087
> Nested child configurations from ears don't work well with osgi
> ---------------------------------------------------------------
>
> Key: GERONIMO-4972
> URL: https://issues.apache.org/jira/browse/GERONIMO-4972
> Project: Geronimo
> Issue Type: Sub-task
> Security Level: public(Regular issues)
> Components: deployment, osgi
> Affects Versions: 3.0
> Reporter: David Jencks
> Assignee: David Jencks
> Fix For: 3.0
>
>
> Right now we are generating "nested bundles" inside plugins for ear files with web modules. These don't quite work. One code problem is that the SimpleConifgurationManager tries to start the child bundles before the configuration for the parent/containing bundle is registered, so a getConfiguration call to find the parent config fails. This is probably easy to fix.
> However a bigger issue is that there's no way to tell the osgi framework about the nested bundle. Three possible solutions:
> 1. stop having nested bundles, just use one bundle per ear. This is a 1-line change in AbstractWebModuleBuilder so I expect to use this until we can actually solve the problem
> 2. modify the pax mvn url handler to deal with urls to nested bundles inside the car.
> 3. modify the ear deployer to create more than one bundle from an ear.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.