You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@felix.apache.org by pa...@theokorigroup.com on 2008/07/23 03:24:18 UTC

EventAdmin hangs when starting felix

When I start Felix, sometimes the process hangs. It doesn't happen every time. Maybe a race condition somewhere?

This is my output, up to where things lock up:

Welcome to Felix.
=================

DEBUG: WIRE: 41.0 -> org.osgi.service.packageadmin -> 0
DEBUG: WIRE: 41.0 -> org.ungoverned.osgi.service.shell -> 41.0
DEBUG: WIRE: 41.0 -> org.osgi.service.startlevel -> 0
DEBUG: WIRE: 41.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 41.0 -> org.apache.felix.shell -> 41.0
DEBUG: WIRE: 42.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 42.0 -> org.apache.felix.shell -> 41.0
-> DEBUG: WIRE: 43.0 -> org.osgi.service.obr -> 43.0
DEBUG: WIRE: 43.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 43.0 -> org.apache.felix.shell -> 41.0
DEBUG: WIRE: 44.0 -> org.osgi.framework -> 0
DEBUG: WIRE: 44.0 -> org.osgi.service.cm -> 44.0
DEBUG: WIRE: 44.0 -> org.apache.felix.shell -> 41.0
DEBUG: WIRE: 44.0 -> org.apache.felix.scr -> 44.0
DEBUG: WIRE: 44.0 -> org.osgi.service.component -> 44.0
DEBUG: WIRE: 45.0 -> org.osgi.service.event -> 45.0
DEBUG: WIRE: 45.0 -> org.osgi.framework -> 0
DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=10
DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true


Any ideas?

--
Parker Abercrombie <FI...@gmail.com>


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


Re: EventAdmin hangs when starting felix

Posted by pa...@theokorigroup.com.
I'm using Felix 1.0.4 on a 64 bit Linux machine running Ubuntu 8.04. I'm having trouble generating a thread dump. When I hit Ctrl-\, the process simply exists without a stack trace. Same when I kill it from another terminal window. I have likewise had no luck using jstacktrace. Looking around on the web, it seems this may be Ubuntu issue. I'll keep trying.

--
Parker Abercrombie <FI...@gmail.com>


On Wed, 23 Jul 2008 09:50:37 +0200, "Karl Pauls" <ka...@gmail.com> wrote:
> Can you provide me with a little bit more information and a thread
> dump please? What version of Felix are you using and what OS are you
> running? You can create a thread dump as described at
> http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/
> 
> regards,
> 
> Karl
> 
> On Wed, Jul 23, 2008 at 3:24 AM,  <pa...@theokorigroup.com>
> wrote:
>> When I start Felix, sometimes the process hangs. It doesn't happen every
> time. Maybe a race condition somewhere?
>>
>> This is my output, up to where things lock up:
>>
>> Welcome to Felix.
>> =================
>>
>> DEBUG: WIRE: 41.0 -> org.osgi.service.packageadmin -> 0
>> DEBUG: WIRE: 41.0 -> org.ungoverned.osgi.service.shell -> 41.0
>> DEBUG: WIRE: 41.0 -> org.osgi.service.startlevel -> 0
>> DEBUG: WIRE: 41.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 41.0 -> org.apache.felix.shell -> 41.0
>> DEBUG: WIRE: 42.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 42.0 -> org.apache.felix.shell -> 41.0
>> -> DEBUG: WIRE: 43.0 -> org.osgi.service.obr -> 43.0
>> DEBUG: WIRE: 43.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 43.0 -> org.apache.felix.shell -> 41.0
>> DEBUG: WIRE: 44.0 -> org.osgi.framework -> 0
>> DEBUG: WIRE: 44.0 -> org.osgi.service.cm -> 44.0
>> DEBUG: WIRE: 44.0 -> org.apache.felix.shell -> 41.0
>> DEBUG: WIRE: 44.0 -> org.apache.felix.scr -> 44.0
>> DEBUG: WIRE: 44.0 -> org.osgi.service.component -> 44.0
>> DEBUG: WIRE: 45.0 -> org.osgi.service.event -> 45.0
>> DEBUG: WIRE: 45.0 -> org.osgi.framework -> 0
>> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
>> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=10
>> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
>> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
>>
>>
>> Any ideas?
>>
>> --
>> Parker Abercrombie <FI...@gmail.com>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
>> For additional commands, e-mail: users-help@felix.apache.org
>>
>>
> 
> 
> 
> --
> Karl Pauls
> karlpauls@gmail.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org


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


Re: EventAdmin hangs when starting felix

Posted by Karl Pauls <ka...@gmail.com>.
Can you provide me with a little bit more information and a thread
dump please? What version of Felix are you using and what OS are you
running? You can create a thread dump as described at
http://java.sun.com/developer/technicalArticles/Programming/Stacktrace/

regards,

Karl

On Wed, Jul 23, 2008 at 3:24 AM,  <pa...@theokorigroup.com> wrote:
> When I start Felix, sometimes the process hangs. It doesn't happen every time. Maybe a race condition somewhere?
>
> This is my output, up to where things lock up:
>
> Welcome to Felix.
> =================
>
> DEBUG: WIRE: 41.0 -> org.osgi.service.packageadmin -> 0
> DEBUG: WIRE: 41.0 -> org.ungoverned.osgi.service.shell -> 41.0
> DEBUG: WIRE: 41.0 -> org.osgi.service.startlevel -> 0
> DEBUG: WIRE: 41.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 41.0 -> org.apache.felix.shell -> 41.0
> DEBUG: WIRE: 42.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 42.0 -> org.apache.felix.shell -> 41.0
> -> DEBUG: WIRE: 43.0 -> org.osgi.service.obr -> 43.0
> DEBUG: WIRE: 43.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 43.0 -> org.apache.felix.shell -> 41.0
> DEBUG: WIRE: 44.0 -> org.osgi.framework -> 0
> DEBUG: WIRE: 44.0 -> org.osgi.service.cm -> 44.0
> DEBUG: WIRE: 44.0 -> org.apache.felix.shell -> 41.0
> DEBUG: WIRE: 44.0 -> org.apache.felix.scr -> 44.0
> DEBUG: WIRE: 44.0 -> org.osgi.service.component -> 44.0
> DEBUG: WIRE: 45.0 -> org.osgi.service.event -> 45.0
> DEBUG: WIRE: 45.0 -> org.osgi.framework -> 0
> DEBUG: EventAdmin: org.apache.felix.eventadmin.CacheSize=30
> DEBUG: EventAdmin: org.apache.felix.eventadmin.ThreadPoolSize=10
> DEBUG: EventAdmin: org.apache.felix.eventadmin.Timeout=5000
> DEBUG: EventAdmin: org.apache.felix.eventadmin.RequireTopic=true
>
>
> Any ideas?
>
> --
> Parker Abercrombie <FI...@gmail.com>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>



-- 
Karl Pauls
karlpauls@gmail.com

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