|
|
Re: Build Virgo Kernel 3.0.0.M05 testing with a bundle [message #681743 is a reply to message #677662] |
Thu, 09 June 2011 18:35 |
Ming Qin Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Borislav:
Thank you for explicit answer.
I added logback console appender at file ( C:\Tools\virgo-kernel-3.0.0.M05\config\serviceablity.xml), console showed messages created by System.out.println......
......
......
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- encoders are assigned the type
ch.qos.logback.classic.encoder.PatternLayoutEncoder by default -->
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread <%X{medic.eventCode}> %msg %ex%n</Pattern>
</encoder>
</appender>
.....
.....
<root level="INFO">
.....
.....
<appender-ref ref="STDOUT" />
</root>
Following is console displaying:
[2011-06-09 11:32:52.472] OSGi Console <DE0010I> Stopping bundle 'com.manning.sdmia.helloworld' version '1.0.0'.
[2011-06-09 11:32:57.581] region-dm-4 <> Unpublishing application context OSGi service for bundle Spring DM Hello World (com.manning.
sdmia.helloworld)
[2011-06-09 11:32:57.582] region-dm-4 <> Closing OsgiBundleXmlApplicationContext(bundle=com.manning.sdmia.helloworld, config=osgibund
le:/META-INF/spring/*.xml): startup date [Thu Jun 09 11:23:46 PDT 2011]; root of context hierarchy
[2011-06-09 11:32:57.587] region-dm-4 <> Processing ContextClosedEvent 'org.springframework.context.event.ContextClosedEvent[source=O
sgiBundleXmlApplicationContext(bundle=com.manning.sdmia.helloworld, config=osgibundle:/META-INF/spring/*.xml): startup date [Thu Jun 09 11:23:46 PDT 2
011]; root of context hierarchy]'
[2011-06-09 11:32:57.589] region-dm-4 <> Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactor
y@17fe0dcb: defining beans [helloWorld]; root of factory hierarchy
[2011-06-09 11:32:57.591] region-dm-4 <> Sending event to topic 'org/osgi/service/blueprint/container/DESTROYED' with properties '{bu
ndle.version=1.0.0, bundle=com.manning.sdmia.helloworld_1.0.0 [59], bundle.symbolicName=com.manning.sdmia.helloworld, type=4, timestamp=1307644377590,
bundle.id=59}'
[2011-06-09 11:32:57.593] region-dm-4 <> Handling event 'org.osgi.service.event.Event [topic=org/osgi/service/blueprint/container/DES
TROYED]'
[2011-06-09 11:32:57.594] region-dm-4 <> Application context succesfully closed (OsgiBundleXmlApplicationContext(bundle=com.manning.s
dmia.helloworld, config=osgibundle:/META-INF/spring/*.xml))
[2011-06-09 11:32:57.598] OSGi Console <> Bundle 'com.manning.sdmia.helloworld_1.0.0 [59]' has stopped. Removing its related tracking
state.
[2011-06-09 11:32:57.600] OSGi Console <> No atomic parent of bundle 'com.manning.sdmia.helloworld' version '1.0.0' in scope 'null' to
propagate stopped event to
[2011-06-09 11:32:57.602] OSGi Console <DE0011I> Stopped bundle 'com.manning.sdmia.helloworld' version '1.0.0'.
[2011-06-09 11:32:57.617] OSGi Console <> No atomic parent of bundle 'com.manning.sdmia.helloworld' version '1.0.0' in scope 'null' to
propagate starting event to
[2011-06-09 11:32:57.618] OSGi Console <DE0004I> Starting bundle 'com.manning.sdmia.helloworld' version '1.0.0'.
[2011-06-09 11:32:57.621] OSGi Console <> Adding signal 'org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$St
ateMonitorSignal@3f3471d' for bundle 'com.manning.sdmia.helloworld_1.0.0 [59]'
[2011-06-09 11:32:57.623] OSGi Console <> Discovered configurations {osgibundle:/META-INF/spring/*.xml} in bundle [Spring DM Hello Wor
ld (com.manning.sdmia.helloworld)]
[2011-06-09 11:32:57.625] region-dm-5 <> Refreshing OsgiBundleXmlApplicationContext(bundle=com.manning.sdmia.helloworld, config=osgib
undle:/META-INF/spring/*.xml): startup date [Thu Jun 09 11:32:57 PDT 2011]; root of context hierarchy
[2011-06-09 11:32:57.626] region-dm-5 <> Application Context service already unpublished
[2011-06-09 11:32:57.629] region-dm-5 <> Loading XML bean definitions from URL [bundleentry://59.fwk597295774/META-INF/spring/hello-w
orld-context.xml]
[2011-06-09 11:32:57.643] region-dm-5 <> Load-time weaving not enabled for bundle 'com.manning.sdmia.helloworld_1.0.0 [59]',
[2011-06-09 11:32:57.644] region-dm-5 <> MBean exporting not enabled for bundle 'com.manning.sdmia.helloworld_1.0.0 [59]',
[2011-06-09 11:32:57.646] region-dm-5 <> No outstanding OSGi service dependencies, completing initialization for OsgiBundleXmlApplica
tionContext(bundle=com.manning.sdmia.helloworld, config=osgibundle:/META-INF/spring/*.xml)
[2011-06-09 11:32:57.648] region-dm-6 <> Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBea
nFactory@1b9f9088: defining beans [helloWorld]; root of factory hierarchy
[2011-06-09 11:32:57.650] region-dm-6 <> Hello world, I'm being created!
[2011-06-09 11:32:57.651] region-dm-6 <> Publishing application context as OSGi service with properties {org.springframework.context.
service.name=com.manning.sdmia.helloworld, Bundle-SymbolicName=com.manning.sdmia.helloworld, Bundle-Version=1.0.0}
[2011-06-09 11:32:57.653] region-dm-6 <> Sending event to topic 'org/osgi/service/blueprint/container/CREATED' with properties '{bund
le.version=1.0.0, bundle=com.manning.sdmia.helloworld_1.0.0 [59], bundle.symbolicName=com.manning.sdmia.helloworld, type=1, timestamp=1307644377652, b
undle.id=59}'
[2011-06-09 11:32:57.654] region-dm-6 <> Handling event 'org.osgi.service.event.Event [topic=org/osgi/service/blueprint/container/CRE
ATED]'
[2011-06-09 11:32:57.654] region-dm-6 <> Recording created application context for bundle 'com.manning.sdmia.helloworld_1.0.0 [59]'
[2011-06-09 11:32:57.655] region-dm-6 <> Application context successfully refreshed (OsgiBundleXmlApplicationContext(bundle=com.manni
ng.sdmia.helloworld, config=osgibundle:/META-INF/spring/*.xml))
[2011-06-09 11:32:57.655] start-signalling-3 <> Driving signal 'org.eclipse.virgo.kernel.install.artifact.internal.AbstractInstallArtifact$S
tateMonitorSignal@3f3471d'
[2011-06-09 11:32:57.656] start-signalling-3 <> Thread context class loader 'BundleDelegatingClassLoader for [spring-osgi-extender (org.spri
ngframework.osgi.extender)]' pushed and set to 'KernelBundleClassLoader: [bundle=com.manning.sdmia.helloworld_1.0.0]'
[2011-06-09 11:32:57.658] start-signalling-3 <DE0005I> Started bundle 'com.manning.sdmia.helloworld' version '1.0.0'.
[2011-06-09 11:32:57.659] start-signalling-3 <> Thread context class loader 'KernelBundleClassLoader: [bundle=com.manning.sdmia.helloworld_1
.0.0]' popped and set to 'BundleDelegatingClassLoader for [spring-osgi-extender (org.springframework.osgi.extender)]'
|
|
|
Powered by
FUDForum. Page generated in 0.04060 seconds