Hi,
I'm new to using PAX-CDI and I'm trying to understand why it works in an exported Eclipse product (with code from PAX-CDI sample 1) but it throws an exception when launched from the product configuration in Eclipse (i.e. a launch configuration in the IDE from the projects).
This is based on the latest 1.0.0-SNAPSHOT build built locally from GitHub. The PAX-CDI jars are the same in both outputs. The Eclipse workspace does not have PAX-CDI projects, just the sample Eclipse product I'm playing with. I'm using Java 8.
The output with exceptions is shown first followed by the one that work. Any hints why this is failing inside Eclipse? It would be really helpful to be able to run in Eclipse without having to built the product everytime.
Thanks,
Shahim
From inside Eclipse:
osgi> ss
"Framework is launched."
id State Bundle
0 ACTIVE org.eclipse.osgi_3.10.101.v20150820-1432
Fragments=11
1 ACTIVE org.eclipse.equinox.simpleconfigurator_1.1.100.v20150423-1455
2 RESOLVED com.essaid.eg.osgi-cdi_0.0.1.qualifier
3 RESOLVED com.essaid.eg.osgi-cdi-one_0.0.1.qualifier
4 RESOLVED com.essaid.eg.osgi-cdi-two_0.0.1.qualifier
5 RESOLVED com.essaid.eg.osgi-cdi.product_0.0.1.qualifier
6 RESOLVED javax.annotation_1.2.0.v201401042248
7 RESOLVED javax.el-api_3.0.0
8 RESOLVED javax.enterprise.cdi-api_1.2.0
9 RESOLVED javax.inject_1.0.0.v20091030
10 RESOLVED javax.interceptor-api_1.2.0
11 RESOLVED javax.transaction_1.1.1.v201105210645
Master=0
12 RESOLVED javax.validation_1.0.0.GA_v201205091237
13 RESOLVED javax.xml_1.3.4.v201005080400
14 RESOLVED openwebbeans-impl_1.6.1
15 RESOLVED openwebbeans-spi_1.6.1
16 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
17 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
18 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
19 RESOLVED org.apache.xbean.asm5-shaded_4.3.0
20 RESOLVED org.apache.xbean.bundleutils_4.3.0
21 RESOLVED org.apache.xbean.finder-shaded_4.3.0
22 ACTIVE org.eclipse.core.contenttype_3.5.0.v20150421-2214
23 ACTIVE org.eclipse.core.jobs_3.7.0.v20150330-2103
24 ACTIVE org.eclipse.core.runtime_3.11.1.v20150903-1804
25 ACTIVE org.eclipse.equinox.app_1.3.300.v20150423-1356
26 ACTIVE org.eclipse.equinox.common_3.7.0.v20150402-1709
27 ACTIVE org.eclipse.equinox.console_1.1.100.v20141023-1406
28 ACTIVE org.eclipse.equinox.ds_1.4.300.v20150423-1356
29 ACTIVE org.eclipse.equinox.event_1.3.100.v20140115-1647
30 ACTIVE org.eclipse.equinox.preferences_3.5.300.v20150408-1437
31 ACTIVE org.eclipse.equinox.registry_3.6.0.v20150318-1503
32 ACTIVE org.eclipse.equinox.util_1.0.500.v20130404-1337
33 RESOLVED org.eclipse.osgi.services_3.5.0.v20150519-2006
34 RESOLVED org.ops4j.base.lang_1.5.0
35 RESOLVED org.ops4j.base.spi_1.5.0
36 RESOLVED org.ops4j.pax.cdi.api_1.0.0.SNAPSHOT
37 RESOLVED org.ops4j.pax.cdi.extender_1.0.0.SNAPSHOT
38 RESOLVED org.ops4j.pax.cdi.extension_1.0.0.SNAPSHOT
39 RESOLVED org.ops4j.pax.cdi.openwebbeans_1.0.0.SNAPSHOT
40 RESOLVED org.ops4j.pax.cdi.spi_1.0.0.SNAPSHOT
41 RESOLVED org.ops4j.pax.swissbox.core_1.8.2
42 RESOLVED org.ops4j.pax.swissbox.extender_1.8.2
43 RESOLVED org.ops4j.pax.swissbox.lifecycle_1.8.2
44 RESOLVED org.ops4j.pax.swissbox.tracker_1.8.2
45 RESOLVED slf4j.api_1.7.13
Fragments=46
46 RESOLVED slf4j.simple_1.7.13
Master=45
osgi> start 37 39
!SESSION 2015-11-24 23:20:15.337 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_66
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.essaid.eg.osgi-cdi.product.osgiCdiProductId
Command-line arguments: -product com.essaid.eg.osgi-cdi.product.osgiCdiProductId -data /home/shahim/eclipse/main-workspace/../runtime-osgi-cdi.product -dev file:/home/shahim/git/
gerrit.essaid.com/ShahimEssaid/essaid-cdi-example/osgi-cdi/product/config/dev.properties -os linux -ws gtk -arch x86_64 -consoleLog -os linux -ws gtk -arch x86_64 -os linux -ws gtk -arch x86_64 -console
!ENTRY org.eclipse.equinox.ds 1 0 2015-11-24 23:20:35.564
!MESSAGE Could not bind a reference of component org.ops4j.pax.cdi.extender.impl.CdiExtender. The reference is: Reference[name = WebAdapter, interface = org.ops4j.pax.cdi.spi.CdiContainerListener, policy = dynamic, cardinality = 0..1, target = (type=web), bind = setWebAdapter, unbind = unsetWebAdapter]
[Component Resolve Thread (Bundle 28)] INFO org.ops4j.pax.cdi.extender.impl.CdiExtender - starting CDI extender org.ops4j.pax.cdi.extender
osgi> start 3
[Gogo shell] DEBUG org.ops4j.pax.cdi.extender.impl.CdiExtender - found bean bundle: com.essaid.eg.osgi-cdi-one
[Gogo shell] INFO org.ops4j.pax.cdi.extender.impl.CdiExtender - creating CDI container for bean bundle com.essaid.eg.osgi-cdi-one_0.0.1.qualifier [3] with extension bundles [org.ops4j.pax.cdi.extension_1.0.0.SNAPSHOT [38]]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - creating OpenWebBeans CDI container for bundle com.essaid.eg.osgi-cdi-one_0.0.1.qualifier [3]
[Gogo shell] INFO org.ops4j.pax.cdi.spi.AbstractCdiContainer - Starting CDI container for bundle com.essaid.eg.osgi-cdi-one_0.0.1.qualifier [3]
Nov 24, 2015 11:20:38 PM org.apache.webbeans.lifecycle.AbstractLifeCycle bootstrapApplication
INFO: OpenWebBeans Container is starting...
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.enterprise.context)(version>=1.1.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.enterprise.cdi-api"; bundle-version:Version="1.2.0"; version:Version="1.1.0"; osgi.wiring.package="javax.enterprise.context"; uses:="javax.inject"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.enterprise.context]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.enterprise.event)(version>=1.1.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.enterprise.cdi-api"; bundle-version:Version="1.2.0"; version:Version="1.1.0"; osgi.wiring.package="javax.enterprise.event"; uses:="javax.enterprise.util"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.enterprise.event]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.enterprise.inject)(version>=1.1.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.enterprise.cdi-api"; bundle-version:Version="1.2.0"; version:Version="1.1.0"; osgi.wiring.package="javax.enterprise.inject"; uses:="javax.inject,javax.enterprise.util,javax.enterprise.context"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.enterprise.inject]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.inject)(version>=1.0.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.inject"; bundle-version:Version="1.0.0.v20091030"; version:Version="1.0.0"; osgi.wiring.package="javax.inject"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.inject]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.cdi.api)(version>=1.0.0))" -> osgi.wiring.package; bundle-symbolic-name="org.ops4j.pax.cdi.api"; bundle-version:Version="1.0.0.SNAPSHOT"; version:Version="1.0.0"; osgi.wiring.package="org.ops4j.pax.cdi.api"; uses:="javax.enterprise.context,javax.enterprise.util,javax.inject"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [org.ops4j.pax.cdi.api]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.cdi.api.event)(version>=1.0.0))" -> osgi.wiring.package; bundle-symbolic-name="org.ops4j.pax.cdi.api"; bundle-version:Version="1.0.0.SNAPSHOT"; version:Version="1.0.0"; osgi.wiring.package="org.ops4j.pax.cdi.api.event"; uses:="javax.inject,org.osgi.framework"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [org.ops4j.pax.cdi.api.event]
osgi>
!ENTRY org.ops4j.pax.cdi.extender 4 0 2015-11-24 23:20:38.387
!MESSAGE FrameworkEvent ERROR
!STACK 0
java.lang.NullPointerException
at org.ops4j.pax.cdi.spi.scan.BeanBundleFilter.isWebBundle(BeanBundleFilter.java:87)
at org.ops4j.pax.cdi.spi.scan.BeanBundleFilter.loadDescriptor(BeanBundleFilter.java:66)
at org.ops4j.pax.cdi.spi.scan.BeanBundleFilter.findDescriptor(BeanBundleFilter.java:58)
at org.ops4j.pax.cdi.spi.scan.BeanScanner.isBeanClass(BeanScanner.java:115)
at org.ops4j.pax.cdi.spi.scan.BeanScanner.scan(BeanScanner.java:107)
at org.ops4j.pax.cdi.openwebbeans.impl.BundleScannerService.scan(BundleScannerService.java:58)
at org.apache.webbeans.lifecycle.AbstractLifeCycle.bootstrapApplication(AbstractLifeCycle.java:132)
at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:104)
at org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer$1.call(OpenWebBeansCdiContainer.java:98)
at org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer$1.call(OpenWebBeansCdiContainer.java:92)
at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)
at org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer.createWebBeansContext(OpenWebBeansCdiContainer.java:92)
at org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer.doStart(OpenWebBeansCdiContainer.java:111)
at org.ops4j.pax.cdi.spi.AbstractCdiContainer.start(AbstractCdiContainer.java:87)
at org.ops4j.pax.cdi.extender.impl.CdiExtender.createContainer(CdiExtender.java:184)
at org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:133)
at org.ops4j.pax.cdi.extender.impl.CdiExtender.addingBundle(CdiExtender.java:64)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:469)
at org.osgi.util.tracker.BundleTracker$Tracked.customizerAdding(BundleTracker.java:1)
at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:256)
at org.osgi.util.tracker.AbstractTracked.track(AbstractTracked.java:229)
at org.osgi.util.tracker.BundleTracker$Tracked.bundleChanged(BundleTracker.java:444)
at org.eclipse.osgi.internal.framework.BundleContextImpl.dispatchEvent(BundleContextImpl.java:902)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEventPrivileged(EquinoxEventPublisher.java:165)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:75)
at org.eclipse.osgi.internal.framework.EquinoxEventPublisher.publishBundleEvent(EquinoxEventPublisher.java:67)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor.publishModuleEvent(EquinoxContainerAdaptor.java:102)
at org.eclipse.osgi.container.Module.publishEvent(Module.java:466)
at org.eclipse.osgi.container.Module.start(Module.java:457)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:411)
at org.eclipse.equinox.console.commands.EquinoxCommandProvider.start(EquinoxCommandProvider.java:239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.felix.gogo.shell.Console.run(Console.java:62)
at org.apache.felix.gogo.shell.Shell.console(Shell.java:203)
at org.apache.felix.gogo.shell.Shell.gosh(Shell.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.felix.gogo.runtime.Reflective.invoke(Reflective.java:137)
at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:82)
at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)
at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)
at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)
at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)
at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)
at org.apache.felix.gogo.shell.Activator.run(Activator.java:75)
at java.lang.Thread.run(Thread.java:745)
osgi> b 3
com.essaid.eg.osgi-cdi-one_0.0.1.qualifier [3]
Id=3, Status=ACTIVE Data Root=/home/shahim/git/
gerrit.essaid.com/ShahimEssaid/essaid-cdi-example/osgi-cdi/product/config/org.eclipse.osgi/3/data "No registered services."
No services in use.
Exported packages
org.ops4j.pax.cdi.sample1; version="0.0.0"[exported]
org.ops4j.pax.cdi.sample1.impl; version="0.0.0"[exported]
Imported packages
javax.enterprise.context; version="1.1.0" <javax.enterprise.cdi-api_1.2.0 [8]>
javax.enterprise.event; version="1.1.0" <javax.enterprise.cdi-api_1.2.0 [8]>
javax.enterprise.inject; version="1.1.0" <javax.enterprise.cdi-api_1.2.0 [8]>
javax.inject; version="1.0.0" <javax.inject_1.0.0.v20091030 [9]>
org.ops4j.pax.cdi.api; version="1.0.0" <org.ops4j.pax.cdi.api_1.0.0.SNAPSHOT [36]>
org.ops4j.pax.cdi.api.event; version="1.0.0" <org.ops4j.pax.cdi.api_1.0.0.SNAPSHOT [36]>
No fragment bundles
No required bundles
osgi> exit
Really want to stop Equinox? (y/n; default=y) y
==========================================================================================
Outside Eclipse, from a Tycho built product:
23:10 $ ./eclipse
osgi> ss
"Framework is launched."
id State Bundle
0 ACTIVE org.eclipse.osgi_3.10.101.v20150820-1432
Fragments=1
1 RESOLVED javax.transaction_1.1.1.v201105210645
Master=0
2 ACTIVE org.eclipse.equinox.simpleconfigurator_1.1.100.v20150423-1455
3 RESOLVED com.essaid.eg.osgi-cdi_0.0.1.20151125-070745
4 RESOLVED com.essaid.eg.osgi-cdi-one_0.0.1.20151125-070745
5 RESOLVED com.essaid.eg.osgi-cdi-two_0.0.1.20151125-070745
6 RESOLVED com.essaid.eg.osgi-cdi.product_0.0.1.20151125-070745
7 RESOLVED javax.annotation_1.2.0.v201401042248
8 RESOLVED javax.el-api_3.0.0
9 RESOLVED javax.enterprise.cdi-api_1.2.0
10 RESOLVED javax.inject_1.0.0.v20091030
11 RESOLVED javax.interceptor-api_1.2.0
12 RESOLVED javax.validation_1.0.0.GA_v201205091237
13 RESOLVED javax.xml_1.3.4.v201005080400
14 RESOLVED openwebbeans-impl_1.6.1
15 RESOLVED openwebbeans-spi_1.6.1
16 ACTIVE org.apache.felix.gogo.command_0.10.0.v201209301215
17 ACTIVE org.apache.felix.gogo.runtime_0.10.0.v201209301036
18 ACTIVE org.apache.felix.gogo.shell_0.10.0.v201212101605
19 RESOLVED org.apache.xbean.asm5-shaded_4.3.0
20 RESOLVED org.apache.xbean.bundleutils_4.3.0
21 RESOLVED org.apache.xbean.finder-shaded_4.3.0
22 ACTIVE org.eclipse.core.contenttype_3.5.0.v20150421-2214
23 ACTIVE org.eclipse.core.jobs_3.7.0.v20150330-2103
24 ACTIVE org.eclipse.core.runtime_3.11.1.v20150903-1804
25 ACTIVE org.eclipse.equinox.app_1.3.300.v20150423-1356
26 ACTIVE org.eclipse.equinox.common_3.7.0.v20150402-1709
27 ACTIVE org.eclipse.equinox.console_1.1.100.v20141023-1406
28 ACTIVE org.eclipse.equinox.ds_1.4.300.v20150423-1356
29 ACTIVE org.eclipse.equinox.event_1.3.100.v20140115-1647
30 RESOLVED org.eclipse.equinox.launcher_1.3.100.v20150511-1540
31 INSTALLED org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
32 ACTIVE org.eclipse.equinox.preferences_3.5.300.v20150408-1437
33 ACTIVE org.eclipse.equinox.registry_3.6.0.v20150318-1503
34 ACTIVE org.eclipse.equinox.util_1.0.500.v20130404-1337
35 RESOLVED org.eclipse.osgi.services_3.5.0.v20150519-2006
36 RESOLVED org.ops4j.base.lang_1.5.0
37 RESOLVED org.ops4j.base.spi_1.5.0
38 RESOLVED org.ops4j.pax.cdi.api_1.0.0.SNAPSHOT
39 RESOLVED org.ops4j.pax.cdi.extender_1.0.0.SNAPSHOT
40 RESOLVED org.ops4j.pax.cdi.extension_1.0.0.SNAPSHOT
41 RESOLVED org.ops4j.pax.cdi.openwebbeans_1.0.0.SNAPSHOT
42 RESOLVED org.ops4j.pax.cdi.spi_1.0.0.SNAPSHOT
43 RESOLVED org.ops4j.pax.swissbox.core_1.8.2
44 RESOLVED org.ops4j.pax.swissbox.extender_1.8.2
45 RESOLVED org.ops4j.pax.swissbox.lifecycle_1.8.2
46 RESOLVED org.ops4j.pax.swissbox.tracker_1.8.2
47 RESOLVED slf4j.api_1.7.13
Fragments=48
48 RESOLVED slf4j.simple_1.7.13
Master=47
osgi> start 39 41
!SESSION 2015-11-24 23:10:25.478 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_66
java.vendor=Oracle Corporation
BootLoader constants: OS=${target.os}, ARCH=${target.arch}, WS=${
target.ws}, NL=en_US
Command-line arguments: -os ${target.os} -ws ${
target.ws} -arch ${target.arch} -console -consoleLog
!ENTRY org.eclipse.equinox.ds 1 0 2015-11-24 23:10:38.710
!MESSAGE Could not bind a reference of component org.ops4j.pax.cdi.extender.impl.CdiExtender. The reference is: Reference[name = WebAdapter, interface = org.ops4j.pax.cdi.spi.CdiContainerListener, policy = dynamic, cardinality = 0..1, target = (type=web), bind = setWebAdapter, unbind = unsetWebAdapter]
[Component Resolve Thread (Bundle 28)] INFO org.ops4j.pax.cdi.extender.impl.CdiExtender - starting CDI extender org.ops4j.pax.cdi.extender
osgi> start 4
[Gogo shell] DEBUG org.ops4j.pax.cdi.extender.impl.CdiExtender - found bean bundle: com.essaid.eg.osgi-cdi-one
[Gogo shell] INFO org.ops4j.pax.cdi.extender.impl.CdiExtender - creating CDI container for bean bundle com.essaid.eg.osgi-cdi-one_0.0.1.20151125-070745 [4] with extension bundles [org.ops4j.pax.cdi.extension_1.0.0.SNAPSHOT [40]]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - creating OpenWebBeans CDI container for bundle com.essaid.eg.osgi-cdi-one_0.0.1.20151125-070745 [4]
[Gogo shell] INFO org.ops4j.pax.cdi.spi.AbstractCdiContainer - Starting CDI container for bundle com.essaid.eg.osgi-cdi-one_0.0.1.20151125-070745 [4]
Nov 24, 2015 11:10:50 PM org.apache.webbeans.lifecycle.AbstractLifeCycle bootstrapApplication
INFO: OpenWebBeans Container is starting...
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.enterprise.context)(version>=1.1.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.enterprise.cdi-api"; bundle-version:Version="1.2.0"; version:Version="1.1.0"; osgi.wiring.package="javax.enterprise.context"; uses:="javax.inject"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.enterprise.context]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.enterprise.event)(version>=1.1.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.enterprise.cdi-api"; bundle-version:Version="1.2.0"; version:Version="1.1.0"; osgi.wiring.package="javax.enterprise.event"; uses:="javax.enterprise.util"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.enterprise.event]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.enterprise.inject)(version>=1.1.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.enterprise.cdi-api"; bundle-version:Version="1.2.0"; version:Version="1.1.0"; osgi.wiring.package="javax.enterprise.inject"; uses:="javax.inject,javax.enterprise.util,javax.enterprise.context"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.enterprise.inject]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=javax.inject)(version>=1.0.0))" -> osgi.wiring.package; bundle-symbolic-name="javax.inject"; bundle-version:Version="1.0.0.v20091030"; version:Version="1.0.0"; osgi.wiring.package="javax.inject"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [javax.inject]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.cdi.api)(version>=1.0.0))" -> osgi.wiring.package; bundle-symbolic-name="org.ops4j.pax.cdi.api"; bundle-version:Version="1.0.0.SNAPSHOT"; version:Version="1.0.0"; osgi.wiring.package="org.ops4j.pax.cdi.api"; uses:="javax.enterprise.context,javax.enterprise.util,javax.inject"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [org.ops4j.pax.cdi.api]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning imported package [osgi.wiring.package; filter:="(&(osgi.wiring.package=org.ops4j.pax.cdi.api.event)(version>=1.0.0))" -> osgi.wiring.package; bundle-symbolic-name="org.ops4j.pax.cdi.api"; bundle-version:Version="1.0.0.SNAPSHOT"; version:Version="1.0.0"; osgi.wiring.package="org.ops4j.pax.cdi.api.event"; uses:="javax.inject,org.osgi.framework"]
[Gogo shell] DEBUG org.ops4j.pax.cdi.spi.scan.BundleArchive - scanning exported package [org.ops4j.pax.cdi.api.event]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.ProxyWeavingHook - weaving org.ops4j.pax.cdi.extension.impl.OsgiExtension
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - beforeBeanDiscovery
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.ProxyWeavingHook - weaving org.ops4j.pax.cdi.sample1.IceCreamService
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.ServiceEventBridge
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean ServiceEventBridge, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.ServiceEventBridge,java.lang.Object,org.osgi.framework.ServiceListener,java.util.EventListener], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.client.OsgiInjectionTargetWrapper
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean OsgiInjectionTargetWrapper, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.extension.impl.client.OsgiInjectionTargetWrapper<T>,org.ops4j.pax.cdi.spi.InjectionTargetWrapper<T>], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.sample1.BundleEventObserver
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean BundleEventObserver, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.BundleEventObserver], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.BeanBundleImpl
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean BeanBundleImpl, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.BeanBundleImpl,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.BundleEventBridge
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean BundleEventBridge, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.BundleEventBridge,java.lang.Object,org.osgi.util.tracker.BundleTrackerCustomizer<Void>], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.sample1.impl.HazelnutService
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean HazelnutService, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.sample1.impl.HazelnutService,java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.sample1.impl.ChocolateService
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean ChocolateService, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.sample1.impl.ChocolateService,java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService], Qualifiers:[org.ops4j.pax.cdi.sample1.Chocolate,javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.sample1.impl.CappuccinoService
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean CappuccinoService, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService,org.ops4j.pax.cdi.sample1.impl.CappuccinoService], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean ComponentLifecycleManager, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.component.ComponentDependencyListener,java.lang.Object,org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.sample1.BundleEventCollector
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean BundleEventCollector, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.BundleEventCollector], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.sample1.impl.VanillaService
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean VanillaService, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService,org.ops4j.pax.cdi.sample1.impl.VanillaService], Qualifiers:[org.ops4j.pax.cdi.sample1.Vanilla,javax.enterprise.inject.Default,javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.BundleContextProducer
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean BundleContextProducer, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.BundleContextProducer,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean BundleContext, WebBeansType:PRODUCERMETHOD, Name:null, API Types:[org.osgi.framework.BundleReference,java.lang.Object,org.osgi.framework.BundleContext], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processBean ComponentRegistry, WebBeansType:PRODUCERMETHOD, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.extension.impl.component.ComponentRegistry], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - afterBeanDiscovery
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.OsgiExtension - processInjectionTarget class org.ops4j.pax.cdi.extension.impl.BeanBundleImpl
Nov 24, 2015 11:10:50 PM org.apache.webbeans.config.BeansDeployer validateInjectionPoints
INFO: All injection points were validated successfully.
Nov 24, 2015 11:10:50 PM org.apache.webbeans.lifecycle.AbstractLifeCycle bootstrapApplication
INFO: OpenWebBeans Container has started, it took [394] ms.
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - OsgiExtension, WebBeansType:EXTENSION, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.OsgiExtension,java.lang.Object,javax.enterprise.inject.spi.Extension], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - EventMetadata, WebBeansType:METADATA, Name:null, API Types:[java.lang.Object,javax.enterprise.inject.spi.EventMetadata], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BundleEventObserver, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.BundleEventObserver], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - ServiceEventBridge, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.ServiceEventBridge,java.lang.Object,org.osgi.framework.ServiceListener,java.util.EventListener], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - ComponentRegistry, WebBeansType:PRODUCERMETHOD, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.extension.impl.component.ComponentRegistry], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Interceptor, WebBeansType:METADATA, Name:null, API Types:[javax.enterprise.inject.spi.Interceptor,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Bean, WebBeansType:METADATA, Name:null, API Types:[javax.enterprise.context.spi.Contextual,java.lang.Object,javax.enterprise.inject.spi.Bean], Qualifiers:[javax.enterprise.inject.Intercepted,javax.enterprise.inject.Decorated]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Map, WebBeansType:THIRDPARTY, Name:null, API Types:[], Qualifiers:[]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - CappuccinoService, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService,org.ops4j.pax.cdi.sample1.impl.CappuccinoService], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BundleContext, WebBeansType:PRODUCERMETHOD, Name:null, API Types:[org.osgi.framework.BundleReference,java.lang.Object,org.osgi.framework.BundleContext], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Decorator, WebBeansType:METADATA, Name:null, API Types:[javax.enterprise.inject.spi.Decorator,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - ConversationImpl, WebBeansType:CONVERSATION, Name:javax.enterprise.context.conversation, API Types:[org.apache.webbeans.conversation.ConversationImpl,javax.enterprise.context.Conversation,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Event, WebBeansType:OBSERVABLE, Name:null, API Types:[java.lang.Object,javax.enterprise.event.Event], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BeanBundleImpl, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.BeanBundleImpl,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BundleContextProducer, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.BundleContextProducer,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - HazelnutService, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.sample1.impl.HazelnutService,java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BundleEventBridge, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.BundleEventBridge,java.lang.Object,org.osgi.util.tracker.BundleTrackerCustomizer<Void>], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - ComponentLifecycleManager, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.extension.impl.component.ComponentDependencyListener,java.lang.Object,org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - InjectionPoint, WebBeansType:INJECTIONPOINT, Name:null, API Types:[javax.enterprise.inject.spi.InjectionPoint,java.lang.Object], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - OsgiInjectionTargetWrapper, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.extension.impl.client.OsgiInjectionTargetWrapper<T>,org.ops4j.pax.cdi.spi.InjectionTargetWrapper<T>], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - ChocolateService, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.sample1.impl.ChocolateService,java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService], Qualifiers:[org.ops4j.pax.cdi.sample1.Chocolate,javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - VanillaService, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService,org.ops4j.pax.cdi.sample1.impl.VanillaService], Qualifiers:[org.ops4j.pax.cdi.sample1.Vanilla,javax.enterprise.inject.Default,javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BeanManager, WebBeansType:MANAGER, Name:null, API Types:[java.lang.Object,javax.enterprise.inject.spi.BeanManager], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Instance, WebBeansType:INSTANCE, Name:null, API Types:[javax.enterprise.inject.Instance,java.lang.Object,javax.inject.Provider], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Bean, WebBeansType:METADATA, Name:null, API Types:[javax.enterprise.context.spi.Contextual,java.lang.Object,javax.enterprise.inject.spi.Bean], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - Principal, WebBeansType:PRINCIPAL, Name:null, API Types:[java.lang.Object,java.security.Principal], Qualifiers:[javax.enterprise.inject.Default,javax.enterprise.inject.Any]
[Gogo shell] DEBUG org.ops4j.pax.cdi.openwebbeans.impl.OpenWebBeansCdiContainer - BundleEventCollector, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.BundleEventCollector], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider]
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.BeanBundleImpl - onInitialized com.essaid.eg.osgi-cdi-one_0.0.1.20151125-070745 [4]
[Gogo shell] INFO org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - component CappuccinoService, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService,org.ops4j.pax.cdi.sample1.impl.CappuccinoService], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider] is available
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - publishing service org.ops4j.pax.cdi.sample1.IceCreamService, props = {flavour=cappuccino}
constructing CappuccinoService
[Gogo shell] INFO org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - component ChocolateService, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.sample1.impl.ChocolateService,java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService], Qualifiers:[org.ops4j.pax.cdi.sample1.Chocolate,javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider] is available
constructing ChocolateService
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - publishing service org.ops4j.pax.cdi.sample1.IceCreamService, props = {flavour=chocolate}
[Gogo shell] INFO org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - component VanillaService, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService,org.ops4j.pax.cdi.sample1.impl.VanillaService], Qualifiers:[org.ops4j.pax.cdi.sample1.Vanilla,javax.enterprise.inject.Default,javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider] is available
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - publishing service org.ops4j.pax.cdi.sample1.impl.VanillaService, props = {flavour=vanilla}
[Gogo shell] INFO org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - component HazelnutService, WebBeansType:MANAGED, Name:null, API Types:[org.ops4j.pax.cdi.sample1.impl.HazelnutService,java.lang.Object,org.ops4j.pax.cdi.sample1.IceCreamService], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider] is available
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - publishing service org.ops4j.pax.cdi.sample1.IceCreamService, props = {flavour=hazelnut}
constructing HazelnutService
[Gogo shell] INFO org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - component BundleEventCollector, WebBeansType:MANAGED, Name:null, API Types:[java.lang.Object,org.ops4j.pax.cdi.sample1.BundleEventCollector], Qualifiers:[javax.enterprise.inject.Any,org.ops4j.pax.cdi.api.OsgiServiceProvider] is available
[Gogo shell] DEBUG org.ops4j.pax.cdi.extension.impl.component.ComponentLifecycleManager - publishing service org.ops4j.pax.cdi.sample1.BundleEventCollector, props = null
osgi> b 4
com.essaid.eg.osgi-cdi-one_0.0.1.20151125-070745 [4]
Id=4, Status=ACTIVE Data Root=/home/shahim/git/
gerrit.essaid.com/ShahimEssaid/essaid-cdi-example/osgi-cdi/repository-full/target/products/com.essaid.eg.osgi-cdi.product.osgiCdiProductId/linux/gtk/x86_64/configuration/org.eclipse.osgi/4/data "Registered Services"
{org.ops4j.pax.cdi.sample1.IceCreamService}={flavour=cappuccino,
service.id=76, service.bundleid=4, service.scope=bundle}
{org.ops4j.pax.cdi.sample1.IceCreamService}={flavour=chocolate,
service.id=77, service.bundleid=4, service.scope=singleton}
{org.ops4j.pax.cdi.sample1.impl.VanillaService, org.ops4j.pax.cdi.sample1.IceCreamService}={flavour=vanilla,
service.id=78, service.bundleid=4, service.scope=singleton}
{org.ops4j.pax.cdi.sample1.IceCreamService}={flavour=hazelnut,
service.id=79, service.bundleid=4, service.scope=bundle}
{org.ops4j.pax.cdi.sample1.BundleEventCollector}={
service.id=80, service.bundleid=4, service.scope=singleton}
{org.ops4j.pax.cdi.spi.CdiContainer}={symbolicName=com.essaid.eg.osgi-cdi-one, bundleId=4,
service.id=81, service.bundleid=4, service.scope=singleton}
{javax.enterprise.inject.spi.BeanManager}={symbolicName=com.essaid.eg.osgi-cdi-one, bundleId=4,
service.id=82, service.bundleid=4, service.scope=singleton}
No services in use.
Exported packages
org.ops4j.pax.cdi.sample1; version="0.0.0"[exported]
org.ops4j.pax.cdi.sample1.impl; version="0.0.0"[exported]
Imported packages
javax.enterprise.context; version="1.1.0" <javax.enterprise.cdi-api_1.2.0 [9]>
javax.enterprise.event; version="1.1.0" <javax.enterprise.cdi-api_1.2.0 [9]>
javax.enterprise.inject; version="1.1.0" <javax.enterprise.cdi-api_1.2.0 [9]>
javax.inject; version="1.0.0" <javax.inject_1.0.0.v20091030 [10]>
org.apache.webbeans.conversation; version="1.6.1" <openwebbeans-impl_1.6.1 [14]>
org.apache.webbeans.intercept; version="1.6.1" <openwebbeans-impl_1.6.1 [14]>
org.apache.webbeans.proxy; version="1.6.1" <openwebbeans-impl_1.6.1 [14]>
org.ops4j.pax.cdi.api; version="1.0.0" <org.ops4j.pax.cdi.api_1.0.0.SNAPSHOT [38]>
org.ops4j.pax.cdi.api.event; version="1.0.0" <org.ops4j.pax.cdi.api_1.0.0.SNAPSHOT [38]>
No fragment bundles
No required bundles
osgi> exit
Really want to stop Equinox? (y/n; default=y) y