I used to btrace as trace tool before,after use spring dm,btrace can not work.
It always throw ClassNotDef exception.
anyone can help me?
I used to btrace as trace tool before,after use spring dm,btrace can not work.
It always throw ClassNotDef exception.
anyone can help me?
Not really however try to find out how to use btrace inside OSGi. Potentially you could just start btrace over the entire VM that uses OSGi rather then embedded it inside OSGi.
Most likely you need to use an agent of some sort to hook into the classes loaded by OSGi.
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
Please use [ c o d e ] [ / c o d e ] tags
Modify your OSGI config.properties to contain
org.osgi.framework.bootdelegation=com.sun.btrace, com.sun.btrace.*
Cheers