Announcement Announcement Module

Spring Dynamic Modules forum decommissioned in favor of Eclipse Gemini Blueprint

With the official first release of Eclipse Gemini Blueprint shipped, the migration of the Spring Dynamic Modules code base to the Eclipse Foundation, as part of the Gemini project, has been completed.

As such, this forum has been decommissioned in favour of the Eclipse Gemini forums.
See more
See less
how to use btrace in osgi & spring dm Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • how to use btrace in osgi & spring dm

    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?

  • #2
    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.


    • #3
      OSGI bootdelegation

      Modify your OSGI to contain
      org.osgi.framework.bootdelegation=com.sun.btrace, com.sun.btrace.*