Hello,
 
I tried to use do some profiling on felix using the following command line:java 
-cp felix.jar -agentlib:hprof org.apache.felix.main.Main
 
But I've got the following:
 
 
DEBUG: WIRE: 1.0 -> org.osgi.service.packageadmin -> 0DEBUG: WIRE: 1.0 -> 
org.osgi.service.startlevel -> 0DEBUG: WIRE: 1.0 -> 
org.ungoverned.osgi.service.shell -> 1.0DEBUG: WIRE: 1.0 -> org.osgi.framework 
-> 0DEBUG: WIRE: 1.0 -> org.apache.felix.shell -> 1.0ERROR: Error starting 
file:../bundle/org.apache.felix.shell-1.0.0.jar 
(org.osgi.framework.BundleException: Activator start 
error.)java.lang.NoClassDefFoundError: sun/tools/hprof/Tracker        at 
org.apache.felix.shell.impl.Activator.start(Activator.java:38)        at 
org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1535)       
 at org.apache.felix.framework.Felix.startBundle(Felix.java:1469)        at 
org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:1064)        
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:258)       
 at java.lang.Thread.run(Unknown Source)DEBUG: WIRE: 2.0 -> org.osgi.framework 
-> 0DEBUG: WIRE: 2.0 -> org.apache.felix.shell -> 1.0DEBUG: WIRE: 3.0 -> 
org.osgi.service.obr -> 3.0DEBUG: WIRE: 3.0 -> org.osgi.framework -> 0-> DEBUG: 
WIRE: 3.0 -> org.apache.felix.shell -> 1.0No impl service available.
 
 
 
I've tried unjar some files, change manifests and jar them again, but it did 
not work.Did anybody ever tried to do profiling like that?
I used the same command line arguments with the Knopflerfish OSGi 
implementation and the framework started up with no problems.
Any help would be appreciated.
Thanks in advance.
 
Kiev Gama
_________________________________________________________________
More photos; more messages; more whatever – Get MORE with Windows Live™ 
Hotmail®. NOW with 5GB storage.
http://imagine-windowslive.com/hotmail/?locale=en-us&ocid=TXT_TAGHM_migration_HM_mini_5G_0907

Reply via email to