Hi Andy ,
i have attached the binaries
regards,
vishal
Printable View
Hi Andy ,
i have attached the binaries
regards,
vishal
Hi Andy,
Have attached the binaries
As far as I can tell, this is working as it should. By default dm Server captures System.out and System.err and routes it to the log files. To make things a bit easier I changed the configuration in com.springsource.osgi.medic.properties to disable this so that the output would be visible in the console:
Code:dump.root.directory=serviceability/dump
log.wrapSysOut=false
log.wrapSysErr=false
log.dump.level=DEBUG
log.dump.bufferSize=10000
log.dump.pattern=[%d{yyyy-MM-dd HH:mm:ss.SSS}] %-28.28thread %-64.64logger{64} %X{medic.eventCode} %msg %ex%n
I also modified your bundles slightly (to use Import-Package, rather than Import-Bundle for their dependency upon Aspect J) and deployed them. This resulted in the following output:
Code:[2009-11-16 16:55:16.121] deployer-recovery <DE0059I> Starting bundle 'ServiceCounterRef' version '1.0.0'.
com.xyz.myservice.MyServiceImpl
Class Name com.xyz.service.IServiceMethod sayHello
Hello
com.xyz.myservice.MyServiceImpl
Class Name com.xyz.service.IServiceMethod sayHello
Hello
com.xyz.myservice.MyServiceImpl
Class Name com.xyz.service.IServiceMethod sayHello
Hello
com.xyz.myservice.MyServiceImpl
Class Name com.xyz.service.IServiceMethod sayHello
Hello
com.xyz.myservice.MyServiceImpl
Class Name com.xyz.service.IServiceMethod sayHello
Hello
[2009-11-16 16:55:16.267] start-signalling-1 <DE0060I> Started bundle 'ServiceCounterRef' version '1.0.0'.
Hi Andy,
Can you give us some more insight on regions ,basically user region and kernel region. I have lot of doubts like
- what gets into user region and what gets into kernel region ?
- What is the configuration to set what gets into user/kernel region ?
- Whats shared between user and kernel region ? This is to avoid bloating . Whats the configuration for this ?
Any blog explaining these would be of great help.
Hi Andy ,
Sorry for the incorrect binaries , you can see the aop config being defined in both the implementation bundle(impl.jar/META-INF/spring/module-context.xml) and interface bundle(intf.jar/META-INF/spring/context.xml)
I prefer it to be kept only in interface bundle .Is that feasible.