You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by Markus Michel <ne...@googlemail.com> on 2009/08/31 17:49:01 UTC

Profiling an OSGi application

Hi there!

If I try to profile my OSGi application using the Sun VisualVM profiler, I'm
getting the following exception, when the felix instance tries to start the
first bundle:

org.osgi.framework.BundleException: Activator start error in bundle
org.apache.felix.shell [1].

Does anybody has experience in profiling an OSGi application? Is i

BR,

Markus

Re: Profiling an OSGi application

Posted by "Richard S. Hall" <he...@ungoverned.org>.
When I profile with JProfiler, the main thing I had to do was to modify 
conf/config.properties in the Felix installation directory to boot 
delegate the profiler packages, because it expects to find them from the 
bundle class loaders.

-> richard

On 8/31/09 11:49, Markus Michel wrote:
> Hi there!
>
> If I try to profile my OSGi application using the Sun VisualVM profiler, I'm
> getting the following exception, when the felix instance tries to start the
> first bundle:
>
> org.osgi.framework.BundleException: Activator start error in bundle
> org.apache.felix.shell [1].
>
> Does anybody has experience in profiling an OSGi application? Is i
>
> BR,
>
> Markus
>
>    

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Re: Profiling an OSGi application

Posted by Sahoo <Sa...@Sun.COM>.
There must be more to that exception. Anyway, I won't be surprsied if 
there was some resolution error, because the profile classes were most 
likely in boot classpath and the bundles didn't import them. If that's 
the case, add the profile packages to bootdelegation package list in 
felix config file.

HTH,
Sahoo

Markus Michel wrote:
> Hi there!
>
> If I try to profile my OSGi application using the Sun VisualVM profiler, I'm
> getting the following exception, when the felix instance tries to start the
> first bundle:
>
> org.osgi.framework.BundleException: Activator start error in bundle
> org.apache.felix.shell [1].
>
> Does anybody has experience in profiling an OSGi application? Is i
>
> BR,
>
> Markus
>
>   

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org