You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Charles Moulliard (JIRA)" <ji...@apache.org> on 2010/07/01 09:03:50 UTC
[jira] Created: (KARAF-96) Enhance the features to support the
start level
Enhance the features to support the start level
-----------------------------------------------
Key: KARAF-96
URL: https://issues.apache.org/jira/browse/KARAF-96
Project: Karaf
Issue Type: Improvement
Reporter: Charles Moulliard
Fix For: 2.0.0
Enhance the features to support the start level
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-96) Enhance the features to support the
start level
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12884191#action_12884191 ]
Charles Moulliard commented on KARAF-96:
----------------------------------------
http://karaf.922171.n3.nabble.com/Start-level-of-Spring-Spring-DM-bundles-td933161.html#a933161
> Enhance the features to support the start level
> -----------------------------------------------
>
> Key: KARAF-96
> URL: https://issues.apache.org/jira/browse/KARAF-96
> Project: Karaf
> Issue Type: Improvement
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> Enhance the features to support the start level
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (KARAF-96) Enhance the features to support the
start level
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet resolved KARAF-96.
----------------------------------
Resolution: Fixed
Fix for the above problem.
Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
M features/core/src/main/java/org/apache/karaf/features/internal/FeaturesServiceImpl.java
Committed r962453
> Enhance the features to support the start level
> -----------------------------------------------
>
> Key: KARAF-96
> URL: https://issues.apache.org/jira/browse/KARAF-96
> Project: Karaf
> Issue Type: Improvement
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> Enhance the features to support the start level
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-96) Enhance the features to support the
start level
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886611#action_12886611 ]
Charles Moulliard commented on KARAF-96:
----------------------------------------
There is a bug with the code committed
Here is the bundles defined with a start-level of "80"
<feature name="http" version="1.99.0-SNAPSHOT">
<config name="org.ops4j.pax.web">
org.osgi.service.http.port=8181
</config>
<bundle>mvn:org.apache.geronimo.specs/geronimo-servlet_2.5_spec/1.1.2</bundle>
<bundle>mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.jetty-bundle/6.1.22_1</bundle>
<bundle start-level="80">mvn:org.ops4j.pax.web/pax-web-api/0.7.2</bundle>
<bundle start-level="80">mvn:org.ops4j.pax.web/pax-web-spi/0.7.2</bundle>
<bundle start-level="80">mvn:org.ops4j.pax.web/pax-web-runtime/0.7.2</bundle>
<bundle start-level="80">mvn:org.ops4j.pax.web/pax-web-jetty/0.7.2</bundle>
</feature>
and what we observe
[ 35] [Active ] [ ] [ 60] OPS4J Pax Web - API (0.7.2) // ERROR start level should be 80 and not 60
[ 36] [Active ] [ ] [ 80] OPS4J Pax Web - Service SPI (0.7.2)
[ 37] [Active ] [ ] [ 80] OPS4J Pax Web - Runtime (0.7.2)
[ 38] [Active ] [ ] [ 80] OPS4J Pax Web - Jetty (0.7.2)
> Enhance the features to support the start level
> -----------------------------------------------
>
> Key: KARAF-96
> URL: https://issues.apache.org/jira/browse/KARAF-96
> Project: Karaf
> Issue Type: Improvement
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> Enhance the features to support the start level
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (KARAF-96) Enhance the features to support the
start level
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-96?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Charles Moulliard reassigned KARAF-96:
--------------------------------------
Assignee: Charles Moulliard
> Enhance the features to support the start level
> -----------------------------------------------
>
> Key: KARAF-96
> URL: https://issues.apache.org/jira/browse/KARAF-96
> Project: Karaf
> Issue Type: Improvement
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> Enhance the features to support the start level
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (KARAF-96) Enhance the features to support the
start level
Posted by "Charles Moulliard (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KARAF-96?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886622#action_12886622 ]
Charles Moulliard commented on KARAF-96:
----------------------------------------
it seems that the problem comes from this :
StartLevel sl = (StartLevel) bundleContext.getService(
bundleContext.getServiceReference(org.osgi.service.startlevel.StartLevel.class.getName()));
sl.setInitialBundleStartLevel(ibsl);
bundleContext object is set for the FeatureServiceImpl (and is globall for all the bundles linked)
If I change the code like that
StartLevel sl = (StartLevel) b.getBundleContext.getService(
b.getBundleContext.getServiceReference(org.osgi.service.startlevel.StartLevel.class.getName()));
sl.setInitialBundleStartLevel(ibsl);
only the first bundle of the list of features is installed.
> Enhance the features to support the start level
> -----------------------------------------------
>
> Key: KARAF-96
> URL: https://issues.apache.org/jira/browse/KARAF-96
> Project: Karaf
> Issue Type: Improvement
> Reporter: Charles Moulliard
> Assignee: Charles Moulliard
> Fix For: 2.0.0
>
>
> Enhance the features to support the start level
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.