[ 
https://issues.apache.org/activemq/browse/SMX4KNL-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49908#action_49908
 ] 

Chris Custine commented on SMX4KNL-206:
---------------------------------------

Fragments are never started because theie resources and classes are loaded via 
the host bundle classloader only and activators are illegal in fragments.  So 
in other words, the Resolved state is as far as a fragment will ever get and 
that is per the OSGi spec.  Are you actually having issues with these at 
runtime?  If so, post some more info and we'll go from there.

> Felix version in servicemix-kernel-1.1.0-snapshot doesn't seem to support 
> fragment bundles.
> -------------------------------------------------------------------------------------------
>
>                 Key: SMX4KNL-206
>                 URL: https://issues.apache.org/activemq/browse/SMX4KNL-206
>             Project: ServiceMix Kernel
>          Issue Type: Improvement
>    Affects Versions: 1.1.0
>            Reporter: Eric Gulatee
>            Assignee: Chris Custine
>
> Deploying hibernate bundles doesn't seem to work since there is no bundle 
> support.
> I updated to the very latest 02/23/2009 trunk in order to get FELIX 1.5 
> SNAPSHOT.
> I realize this issue stems from Felix more than ServiceMix-Kernel.  However 
> it's still a showstopper to using servicemix-kernel in certain cases 
> [Hibernate]
> s...@root:osgi> list
> START LEVEL 100
>    ID   State         Spring     Level  Name
> [   0] [Active     ] [       ] [    0] System Bundle (1.5.0.SNAPSHOT)
> [   1] [Active     ] [       ] [   10] Apache Felix Prefrences Service (1.0.2)
> [   2] [Active     ] [       ] [   10] geronimo-annotation_1.0_spec (1.1.1)
> [   3] [Active     ] [       ] [   10] OSGi R4 Compendium Bundle (4.1.0)
> [   4] [Active     ] [       ] [   10] Apache ServiceMix Bundles: 
> jaxp-ri-1.4.2 (1.4.2.1)
> [   5] [Active     ] [       ] [   10] Apache Felix Configuration Admin 
> Service (1.0.4)
> [   6] [Active     ] [       ] [   10] geronimo-servlet_2.5_spec (1.1.2)
> [   7] [Active     ] [       ] [   10] Apache ServiceMix Specs :: JAXP API 
> 1.4 (1.2.0)
> [   8] [Active     ] [Started] [   40] Apache ServiceMix Kernel :: GShell 
> Core (1.1.0.SNAPSHOT)
> [   9] [Active     ] [       ] [    8] OPS4J Pax Logging - API (1.3.0)
> [  10] [Active     ] [       ] [    8] OPS4J Pax Logging - Service (1.3.0)
> [  11] [Active     ] [       ] [    5] OPS4J Pax Url - wrap: (0.3.3)
> [  12] [Active     ] [       ] [    5] OPS4J Pax Url - mvn: (0.3.3)
> [  13] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: JAAS 
> Modules (1.1.0.SNAPSHOT)
> [  14] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell 
> Features (1.1.0.SNAPSHOT)
> [  15] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell 
> Admin (1.1.0.SNAPSHOT)
> [  16] [Active     ] [       ] [   30] spring-osgi-io (1.2.0.m2)
> [  17] [Active     ] [       ] [   30] Apache ServiceMix Bundles: mina-1.1.7 
> (1.1.7.1)
> [  18] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell 
> PackageAdmin Commands (1.1.0.SNAPSHOT)
> [  19] [Active     ] [       ] [   30] Apache ServiceMix Kernel :: GShell 
> ConfigAdmin Commands (1.1.0.SNAPSHOT)
> [  20] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell 
> OSGi Commands (1.1.0.SNAPSHOT)
> [  21] [Active     ] [       ] [   30] Spring Context (2.5.6)
> [  22] [Active     ] [       ] [   30] Apache ServiceMix Bundles: 
> commons-jexl-1.1 (1.1.0.1)
> [  23] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: JAAS 
> Config (1.1.0.SNAPSHOT)
> [  24] [Active     ] [       ] [   30] Apache ServiceMix Bundles: 
> commons-httpclient-3.1 (3.1.0.1)
> [  25] [Active     ] [       ] [   30] Spring Core (2.5.6)
> [  26] [Active     ] [       ] [   30] jmx-impl (1.0.0.r6125-patched)
> [  27] [Active     ] [       ] [   30] jmx (1.0.0.r6125-patched)
> [  28] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: GShell Log 
> Commands (1.1.0.SNAPSHOT)
> [  29] [Active     ] [       ] [   30] Apache ServiceMix Bundles: 
> commons-vfs-1.0 (1.0.0.1)
> [  30] [Active     ] [       ] [   30] Spring Beans (2.5.6)
> [  31] [Active     ] [       ] [   30] Unnamed - 
> com.google.code.sshd:sshd:bundle:0.1 (0.1)
> [  32] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: Management 
> Core (1.1.0.SNAPSHOT)
> [  33] [Active     ] [       ] [   30] Apache ServiceMix Bundles: 
> commons-codec-1.2 (1.2.0.1)
> [  34] [Active     ] [       ] [   30] spring-osgi-extender (1.2.0.m2)
> [  35] [Active     ] [       ] [   30] Apache ServiceMix Bundles: cglib-2.1_3 
> (2.1.0.3_1)
> [  36] [Active     ] [       ] [   30] Apache ServiceMix Bundles: 
> jline-0.9.94 (0.9.94.1)
> [  37] [Active     ] [       ] [   30] Apache ServiceMix Bundles: 
> aopalliance-1.0 (1.0.0.1)
> [  38] [Active     ] [       ] [   30] Spring AOP (2.5.6)
> [  39] [Active     ] [Started] [   30] Apache ServiceMix Kernel :: Spring 
> Deployer (1.1.0.SNAPSHOT)
> [  40] [Active     ] [       ] [   30] Apache ServiceMix Bundles: oro-2.0.8 
> (2.0.8.1)
> [  41] [Active     ] [       ] [   30] spring-osgi-core (1.2.0.m2)
> [  42] [Active     ] [       ] [   15] Apache ServiceMix Kernel :: File 
> Monitor (1.1.0.SNAPSHOT)
> [  43] [Installed  ] [       ] [   60] da-backend (0.0.4.SNAPSHOT)
> [  44] [Active     ] [       ] [   60] ANTLR (2.7.6)
> [  45] [Active     ] [       ] [   60] Java Transaction API (1.1.0)
> [  46] [Active     ] [       ] [   60] Java Mail (1.4.0)
> [  47] [Active     ] [       ] [   60] Apache Commons Codec (1.3.0)
> [  48] [Active     ] [       ] [   60] Javassist Java Programming Assistant 
> (3.3.0.ga)
> [  49] [Active     ] [       ] [   60] Java Persistence API (1.0.0)
> [  50] [Active     ] [       ] [   60] CGLIB Code Generation Library (2.1.3)
> [  51] [Active     ] [       ] [   60] Apache Derby Client 
> (10.4.1000003.648739)
> [  52] [Active     ] [       ] [   60] AspectJ Runtime (1.6.1)
> [  53] [Active     ] [       ] [   60] dom4j DOM Processor (1.6.1)
> [  54] [Active     ] [       ] [   60] Castor Data Binding Framework (1.2.0)
> [  55] [Active     ] [       ] [   60] AspectJ Weaver (1.6.1)
> [  56] [Active     ] [       ] [   60] Apache Commons Collections (3.2.0)
> [  57] [Active     ] [       ] [   60] JBoss Hibernate Common Annotations 
> (3.3.0.ga)
> [  58] [Resolved   ] [       ] [   60] JBoss Hibernate Annotations (3.4.0.GA)
> [  59] [Resolved   ] [       ] [   60] JBoss Hibernate Entity Manager 
> (3.4.0.GA)
> [  60] [Active     ] [       ] [   60] JBoss Hibernate Object-Relational 
> Mapper (3.3.1.GA)
> [  61] [Active     ] [       ] [   60] JGroups Toolkit (2.5.1)
> s...@root:osgi> start 58
> ERROR CommandLineExecutionFailed: 
> org.apache.geronimo.gshell.command.CommandException: 
> org.osgi.framework.BundleException: Fragment bundles can not be
>  started.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to