Hello! Actually, I don't know whether it is Knopflerfish specific or not. What I found out was that using
 
-Forg.osgi.framework.bootdelegation=org.netbeans.lib.profiler,org.netbeans.lib.profiler.*
 
instead of
 
-Dorg.osgi.framework.bootdelegation=org.netbeans.lib.profiler,org.netbeans.lib.profiler.*
 
solves the problem. Hmm, the "-D" prefix defines java system properties. Thus, it is quite logical that I have to use the "-F" prefix for instructing OSGI-Framework to load profiler classes.
 
So, I do not quite understand how setting the property with "-D" could work like it was described in the article I referenced to
 
 
You have written that it also works on your setup. I'm quite perplexed to say the truth. But anyway it works for me with "-F" now :)
 
Thank you for your help!
 
 
BR
Ewgenij
 

> Gesendet: Freitag, 20. September 2013 um 09:25 Uhr
> Von: "Gunnar Ekolin" <[email protected]>
> An: [email protected]
> Betreff: Re: [osgi-dev] Profiling OSGI bundle with Java VisualVM
>
> Hi Ewgenij!
>
> It works for me using the following comand (on a single line):
>
> /usr/libexec/java_home -v 1.7 -exec java -Xbootclasspath/a:${JFLS}
> -jar framework.jar -init
> -Dorg.osig.framework.bootdelegation="org.netbeans.lib.profiler,org.netbeans.lib.profiler.*"
>
>
> where
>
> JFLS was defined as
>
> /Library/Java/JavaVirtualMachines/jdk1.7.0_25.jdk/Contents/Home/lib/visualvm/profiler/lib/jfluid-server.jar
>
>
>
> Regards,
> \GE
>
>
> PS If this is a Knopflerfish specific problem please move the
> discussion to the knopflerfish-users mailing list. See
> http://www.knopflerfish.org/mailman/listinfo
>
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to