Announcement Announcement Module
Collapse

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
X
Conversation Detail Module
Collapse
  • 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.

    Comment


    • #3
      OSGI bootdelegation

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

      Cheers

      Comment

      Working...
      X