You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Marco Westermann <mw...@intersales.de> on 2013/08/10 16:00:26 UTC

bundles not starting

Hi,

I have the problem that my bundles are not starting. I use karaf 2.2.11 
(smx 4.5.2)

When I start karaf three of my bundles remain in the status: starting 
and all later bundles are never started.
I do the following to reproduce the problem:

1. delete the data directory
2. start servicemix
3. add my features url
4. install my feature --> the most time everything works now.. every 
bundle is started
5. stop servicemix
6. start servicemix


This is my log when restarting servicemix (6) http://pastebin.com/kua3r6uq

and this is the list result in servicemix:

http://pastebin.com/qThERMAA

Anybody have an idea whats going wrong / where the problem is?


thank you and regards,

Marco

PS. This is the output from info command:

Karaf
   Karaf version               2.2.11
   Karaf home                  C:\QBus\smx452
   Karaf base                  C:\QBus\smx452
   OSGi Framework              org.apache.felix.framework - 3.2.2

JVM
   Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM version 
23.25-b01
   Version                     1.7.0_25
   Vendor                      Oracle Corporation
   Uptime                      16 minutes
   Total compile time          34.228 seconds
Threads
   Live threads                58
   Daemon threads              45
   Peak                        60
   Total started               211
Memory
   Current heap size           48,029 kbytes
   Maximum heap size           1,013,632 kbytes
   Committed heap size         126,912 kbytes
   Pending objects             0
   Garbage collector           Name = 'Copy', Collections = 269, Time = 
2.562 seconds
   Garbage collector           Name = 'MarkSweepCompact', Collections = 
3, Time = 0.895 seconds
Classes
   Current classes loaded      7,099
   Total classes loaded        7,100
   Total classes unloaded      1
Operating system
   Name                        Windows Server 2008 R2 version 6.1
   Architecture                amd64
   Processors                  1

-- 
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isinfo@intersales.de
Mail mw@intersales.de
Web  www.intersales.de

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander


Re: bundles not starting

Posted by Marco Westermann <mw...@intersales.de>.
Just tested that and it helps. Now all my bundles are started.. thank God!!!

regards, Marco



Am 13.08.2013 11:36, schrieb Marco Westermann:
> Hi,
>
> I think I found the problem. I never realized that but that my bundles 
> are not starting seems to be caused by a known bug of servicemix / 
> karaf: https://issues.apache.org/jira/browse/SMX4-1245
>
> the broker.xml blueprint bundle stays in GracePeriod forever and my 
> bundles which do not start have a route with from("activemq:...) in it.
>
> would it help to separate activemq and run it standalone?
>
> regards, Marco
>
> Am 12.08.2013 15:06, schrieb Jean-Baptiste Onofré:
>> Hi Marco,
>>
>> with latest Karaf 2.3.x, the blueprint containers are now 
>> synchronous. It should help in your case.
>>
>> Regards
>> JB
>>
>> On 08/12/2013 01:49 PM, Marco Westermann wrote:
>>> Hi,
>>>
>>> I have done further investigations and found out the following:
>>>
>>> 1. I dont think that it is a problem of karaf / blueprint cause the 
>>> logs
>>> have the following lines in it:
>>>
>>> 15:39:35,876 | INFO  | rint Extender: 2 |
>>> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
>>> 2.10.6 | Apache Camel 2.10.6 (CamelContext: magentoProductStockContext)
>>> is starting
>>> 15:39:36,578 | INFO  | rint Extender: 1 |
>>> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
>>> 2.10.6 | Apache Camel 2.10.6 (CamelContext:
>>> mageProductPriceblueprintContext) is starting
>>> 15:39:44,393 | INFO  | rint Extender: 3 |
>>> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
>>> 2.10.6 | Apache Camel 2.10.6 (CamelContext:
>>> mageChangedArticlesBlueprintContext) is starting
>>>
>>> I think if the bundle is waiting for osgi service dependency the camel
>>> context would not be started, would it?
>>>
>>> 2. I do not have that problem on a ubuntu linux environment. But I can
>>> reproduce it everytime on my windows 2008 maschine.
>>>
>>> regards, Marco
>>>
>>>
>>> Am 10.08.2013 16:00, schrieb Marco Westermann:
>>>> Hi,
>>>>
>>>> I have the problem that my bundles are not starting. I use karaf
>>>> 2.2.11 (smx 4.5.2)
>>>>
>>>> When I start karaf three of my bundles remain in the status: starting
>>>> and all later bundles are never started.
>>>> I do the following to reproduce the problem:
>>>>
>>>> 1. delete the data directory
>>>> 2. start servicemix
>>>> 3. add my features url
>>>> 4. install my feature --> the most time everything works now.. every
>>>> bundle is started
>>>> 5. stop servicemix
>>>> 6. start servicemix
>>>>
>>>>
>>>> This is my log when restarting servicemix (6)
>>>> http://pastebin.com/kua3r6uq
>>>>
>>>> and this is the list result in servicemix:
>>>>
>>>> http://pastebin.com/qThERMAA
>>>>
>>>> Anybody have an idea whats going wrong / where the problem is?
>>>>
>>>>
>>>> thank you and regards,
>>>>
>>>> Marco
>>>>
>>>> PS. This is the output from info command:
>>>>
>>>> Karaf
>>>>   Karaf version               2.2.11
>>>>   Karaf home                  C:\QBus\smx452
>>>>   Karaf base                  C:\QBus\smx452
>>>>   OSGi Framework              org.apache.felix.framework - 3.2.2
>>>>
>>>> JVM
>>>>   Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM
>>>> version 23.25-b01
>>>>   Version                     1.7.0_25
>>>>   Vendor                      Oracle Corporation
>>>>   Uptime                      16 minutes
>>>>   Total compile time          34.228 seconds
>>>> Threads
>>>>   Live threads                58
>>>>   Daemon threads              45
>>>>   Peak                        60
>>>>   Total started               211
>>>> Memory
>>>>   Current heap size           48,029 kbytes
>>>>   Maximum heap size           1,013,632 kbytes
>>>>   Committed heap size         126,912 kbytes
>>>>   Pending objects             0
>>>>   Garbage collector           Name = 'Copy', Collections = 269, Time =
>>>> 2.562 seconds
>>>>   Garbage collector           Name = 'MarkSweepCompact', Collections =
>>>> 3, Time = 0.895 seconds
>>>> Classes
>>>>   Current classes loaded      7,099
>>>>   Total classes loaded        7,100
>>>>   Total classes unloaded      1
>>>> Operating system
>>>>   Name                        Windows Server 2008 R2 version 6.1
>>>>   Architecture                amd64
>>>>   Processors                  1
>>>>
>>>
>>>
>>
>
>


-- 
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isinfo@intersales.de
Mail mw@intersales.de
Web  www.intersales.de

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander


Re: bundles not starting

Posted by Marco Westermann <mw...@intersales.de>.
Hi,

I think I found the problem. I never realized that but that my bundles 
are not starting seems to be caused by a known bug of servicemix / 
karaf: https://issues.apache.org/jira/browse/SMX4-1245

the broker.xml blueprint bundle stays in GracePeriod forever and my 
bundles which do not start have a route with from("activemq:...) in it.

would it help to separate activemq and run it standalone?

regards, Marco

Am 12.08.2013 15:06, schrieb Jean-Baptiste Onofré:
> Hi Marco,
>
> with latest Karaf 2.3.x, the blueprint containers are now synchronous. 
> It should help in your case.
>
> Regards
> JB
>
> On 08/12/2013 01:49 PM, Marco Westermann wrote:
>> Hi,
>>
>> I have done further investigations and found out the following:
>>
>> 1. I dont think that it is a problem of karaf / blueprint cause the logs
>> have the following lines in it:
>>
>> 15:39:35,876 | INFO  | rint Extender: 2 |
>> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
>> 2.10.6 | Apache Camel 2.10.6 (CamelContext: magentoProductStockContext)
>> is starting
>> 15:39:36,578 | INFO  | rint Extender: 1 |
>> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
>> 2.10.6 | Apache Camel 2.10.6 (CamelContext:
>> mageProductPriceblueprintContext) is starting
>> 15:39:44,393 | INFO  | rint Extender: 3 |
>> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
>> 2.10.6 | Apache Camel 2.10.6 (CamelContext:
>> mageChangedArticlesBlueprintContext) is starting
>>
>> I think if the bundle is waiting for osgi service dependency the camel
>> context would not be started, would it?
>>
>> 2. I do not have that problem on a ubuntu linux environment. But I can
>> reproduce it everytime on my windows 2008 maschine.
>>
>> regards, Marco
>>
>>
>> Am 10.08.2013 16:00, schrieb Marco Westermann:
>>> Hi,
>>>
>>> I have the problem that my bundles are not starting. I use karaf
>>> 2.2.11 (smx 4.5.2)
>>>
>>> When I start karaf three of my bundles remain in the status: starting
>>> and all later bundles are never started.
>>> I do the following to reproduce the problem:
>>>
>>> 1. delete the data directory
>>> 2. start servicemix
>>> 3. add my features url
>>> 4. install my feature --> the most time everything works now.. every
>>> bundle is started
>>> 5. stop servicemix
>>> 6. start servicemix
>>>
>>>
>>> This is my log when restarting servicemix (6)
>>> http://pastebin.com/kua3r6uq
>>>
>>> and this is the list result in servicemix:
>>>
>>> http://pastebin.com/qThERMAA
>>>
>>> Anybody have an idea whats going wrong / where the problem is?
>>>
>>>
>>> thank you and regards,
>>>
>>> Marco
>>>
>>> PS. This is the output from info command:
>>>
>>> Karaf
>>>   Karaf version               2.2.11
>>>   Karaf home                  C:\QBus\smx452
>>>   Karaf base                  C:\QBus\smx452
>>>   OSGi Framework              org.apache.felix.framework - 3.2.2
>>>
>>> JVM
>>>   Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM
>>> version 23.25-b01
>>>   Version                     1.7.0_25
>>>   Vendor                      Oracle Corporation
>>>   Uptime                      16 minutes
>>>   Total compile time          34.228 seconds
>>> Threads
>>>   Live threads                58
>>>   Daemon threads              45
>>>   Peak                        60
>>>   Total started               211
>>> Memory
>>>   Current heap size           48,029 kbytes
>>>   Maximum heap size           1,013,632 kbytes
>>>   Committed heap size         126,912 kbytes
>>>   Pending objects             0
>>>   Garbage collector           Name = 'Copy', Collections = 269, Time =
>>> 2.562 seconds
>>>   Garbage collector           Name = 'MarkSweepCompact', Collections =
>>> 3, Time = 0.895 seconds
>>> Classes
>>>   Current classes loaded      7,099
>>>   Total classes loaded        7,100
>>>   Total classes unloaded      1
>>> Operating system
>>>   Name                        Windows Server 2008 R2 version 6.1
>>>   Architecture                amd64
>>>   Processors                  1
>>>
>>
>>
>


-- 
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isinfo@intersales.de
Mail mw@intersales.de
Web  www.intersales.de

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander


Re: bundles not starting

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Marco,

with latest Karaf 2.3.x, the blueprint containers are now synchronous. 
It should help in your case.

Regards
JB

On 08/12/2013 01:49 PM, Marco Westermann wrote:
> Hi,
>
> I have done further investigations and found out the following:
>
> 1. I dont think that it is a problem of karaf / blueprint cause the logs
> have the following lines in it:
>
> 15:39:35,876 | INFO  | rint Extender: 2 |
> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
> 2.10.6 | Apache Camel 2.10.6 (CamelContext: magentoProductStockContext)
> is starting
> 15:39:36,578 | INFO  | rint Extender: 1 |
> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
> 2.10.6 | Apache Camel 2.10.6 (CamelContext:
> mageProductPriceblueprintContext) is starting
> 15:39:44,393 | INFO  | rint Extender: 3 |
> BlueprintCamelContext            | 100 - org.apache.camel.camel-core -
> 2.10.6 | Apache Camel 2.10.6 (CamelContext:
> mageChangedArticlesBlueprintContext) is starting
>
> I think if the bundle is waiting for osgi service dependency the camel
> context would not be started, would it?
>
> 2. I do not have that problem on a ubuntu linux environment. But I can
> reproduce it everytime on my windows 2008 maschine.
>
> regards, Marco
>
>
> Am 10.08.2013 16:00, schrieb Marco Westermann:
>> Hi,
>>
>> I have the problem that my bundles are not starting. I use karaf
>> 2.2.11 (smx 4.5.2)
>>
>> When I start karaf three of my bundles remain in the status: starting
>> and all later bundles are never started.
>> I do the following to reproduce the problem:
>>
>> 1. delete the data directory
>> 2. start servicemix
>> 3. add my features url
>> 4. install my feature --> the most time everything works now.. every
>> bundle is started
>> 5. stop servicemix
>> 6. start servicemix
>>
>>
>> This is my log when restarting servicemix (6)
>> http://pastebin.com/kua3r6uq
>>
>> and this is the list result in servicemix:
>>
>> http://pastebin.com/qThERMAA
>>
>> Anybody have an idea whats going wrong / where the problem is?
>>
>>
>> thank you and regards,
>>
>> Marco
>>
>> PS. This is the output from info command:
>>
>> Karaf
>>   Karaf version               2.2.11
>>   Karaf home                  C:\QBus\smx452
>>   Karaf base                  C:\QBus\smx452
>>   OSGi Framework              org.apache.felix.framework - 3.2.2
>>
>> JVM
>>   Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM
>> version 23.25-b01
>>   Version                     1.7.0_25
>>   Vendor                      Oracle Corporation
>>   Uptime                      16 minutes
>>   Total compile time          34.228 seconds
>> Threads
>>   Live threads                58
>>   Daemon threads              45
>>   Peak                        60
>>   Total started               211
>> Memory
>>   Current heap size           48,029 kbytes
>>   Maximum heap size           1,013,632 kbytes
>>   Committed heap size         126,912 kbytes
>>   Pending objects             0
>>   Garbage collector           Name = 'Copy', Collections = 269, Time =
>> 2.562 seconds
>>   Garbage collector           Name = 'MarkSweepCompact', Collections =
>> 3, Time = 0.895 seconds
>> Classes
>>   Current classes loaded      7,099
>>   Total classes loaded        7,100
>>   Total classes unloaded      1
>> Operating system
>>   Name                        Windows Server 2008 R2 version 6.1
>>   Architecture                amd64
>>   Processors                  1
>>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: bundles not starting

Posted by Marco Westermann <mw...@intersales.de>.
Hi,

I have done further investigations and found out the following:

1. I dont think that it is a problem of karaf / blueprint cause the logs 
have the following lines in it:

15:39:35,876 | INFO  | rint Extender: 2 | 
BlueprintCamelContext            | 100 - org.apache.camel.camel-core - 
2.10.6 | Apache Camel 2.10.6 (CamelContext: magentoProductStockContext) 
is starting
15:39:36,578 | INFO  | rint Extender: 1 | 
BlueprintCamelContext            | 100 - org.apache.camel.camel-core - 
2.10.6 | Apache Camel 2.10.6 (CamelContext: 
mageProductPriceblueprintContext) is starting
15:39:44,393 | INFO  | rint Extender: 3 | 
BlueprintCamelContext            | 100 - org.apache.camel.camel-core - 
2.10.6 | Apache Camel 2.10.6 (CamelContext: 
mageChangedArticlesBlueprintContext) is starting

I think if the bundle is waiting for osgi service dependency the camel 
context would not be started, would it?

2. I do not have that problem on a ubuntu linux environment. But I can 
reproduce it everytime on my windows 2008 maschine.

regards, Marco


Am 10.08.2013 16:00, schrieb Marco Westermann:
> Hi,
>
> I have the problem that my bundles are not starting. I use karaf 
> 2.2.11 (smx 4.5.2)
>
> When I start karaf three of my bundles remain in the status: starting 
> and all later bundles are never started.
> I do the following to reproduce the problem:
>
> 1. delete the data directory
> 2. start servicemix
> 3. add my features url
> 4. install my feature --> the most time everything works now.. every 
> bundle is started
> 5. stop servicemix
> 6. start servicemix
>
>
> This is my log when restarting servicemix (6) 
> http://pastebin.com/kua3r6uq
>
> and this is the list result in servicemix:
>
> http://pastebin.com/qThERMAA
>
> Anybody have an idea whats going wrong / where the problem is?
>
>
> thank you and regards,
>
> Marco
>
> PS. This is the output from info command:
>
> Karaf
>   Karaf version               2.2.11
>   Karaf home                  C:\QBus\smx452
>   Karaf base                  C:\QBus\smx452
>   OSGi Framework              org.apache.felix.framework - 3.2.2
>
> JVM
>   Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM 
> version 23.25-b01
>   Version                     1.7.0_25
>   Vendor                      Oracle Corporation
>   Uptime                      16 minutes
>   Total compile time          34.228 seconds
> Threads
>   Live threads                58
>   Daemon threads              45
>   Peak                        60
>   Total started               211
> Memory
>   Current heap size           48,029 kbytes
>   Maximum heap size           1,013,632 kbytes
>   Committed heap size         126,912 kbytes
>   Pending objects             0
>   Garbage collector           Name = 'Copy', Collections = 269, Time = 
> 2.562 seconds
>   Garbage collector           Name = 'MarkSweepCompact', Collections = 
> 3, Time = 0.895 seconds
> Classes
>   Current classes loaded      7,099
>   Total classes loaded        7,100
>   Total classes unloaded      1
> Operating system
>   Name                        Windows Server 2008 R2 version 6.1
>   Architecture                amd64
>   Processors                  1
>


-- 
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isinfo@intersales.de
Mail mw@intersales.de
Web  www.intersales.de

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander


Re: bundles not starting

Posted by Marco Westermann <mw...@intersales.de>.
Hi JB,

I'm not sure what you mean by boot features. If you mean that I added my 
feature to org.apache.karaf.features.cfg then no. I just installed them 
by features:install qbus-megro. After installing the feature I stop 
karaf and start it again and then my features are not started.

regards, Marco

Am 10.08.2013 18:25, schrieb Jean-Baptiste Onofré:
> Hi Marco,
>
> Are your features set as boot features ?
>
> Regards
> JB
>
> On 08/10/2013 04:00 PM, Marco Westermann wrote:
>> Hi,
>>
>> I have the problem that my bundles are not starting. I use karaf 2.2.11
>> (smx 4.5.2)
>>
>> When I start karaf three of my bundles remain in the status: starting
>> and all later bundles are never started.
>> I do the following to reproduce the problem:
>>
>> 1. delete the data directory
>> 2. start servicemix
>> 3. add my features url
>> 4. install my feature --> the most time everything works now.. every
>> bundle is started
>> 5. stop servicemix
>> 6. start servicemix
>>
>>
>> This is my log when restarting servicemix (6) 
>> http://pastebin.com/kua3r6uq
>>
>> and this is the list result in servicemix:
>>
>> http://pastebin.com/qThERMAA
>>
>> Anybody have an idea whats going wrong / where the problem is?
>>
>>
>> thank you and regards,
>>
>> Marco
>>
>> PS. This is the output from info command:
>>
>> Karaf
>>    Karaf version               2.2.11
>>    Karaf home                  C:\QBus\smx452
>>    Karaf base                  C:\QBus\smx452
>>    OSGi Framework              org.apache.felix.framework - 3.2.2
>>
>> JVM
>>    Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM version
>> 23.25-b01
>>    Version                     1.7.0_25
>>    Vendor                      Oracle Corporation
>>    Uptime                      16 minutes
>>    Total compile time          34.228 seconds
>> Threads
>>    Live threads                58
>>    Daemon threads              45
>>    Peak                        60
>>    Total started               211
>> Memory
>>    Current heap size           48,029 kbytes
>>    Maximum heap size           1,013,632 kbytes
>>    Committed heap size         126,912 kbytes
>>    Pending objects             0
>>    Garbage collector           Name = 'Copy', Collections = 269, Time =
>> 2.562 seconds
>>    Garbage collector           Name = 'MarkSweepCompact', Collections =
>> 3, Time = 0.895 seconds
>> Classes
>>    Current classes loaded      7,099
>>    Total classes loaded        7,100
>>    Total classes unloaded      1
>> Operating system
>>    Name                        Windows Server 2008 R2 version 6.1
>>    Architecture                amd64
>>    Processors                  1
>>
>


-- 
++ Business-Software aus einer Hand ++
++ Internet, Warenwirtschaft, Linux, Virtualisierung ++
http://www.intersales.de
http://www.eisxen.org
http://www.tarantella-partner.de
http://www.medisales.de
http://www.eisfair.net

interSales AG Internet Commerce
Subbelrather Str. 247
50825 Köln

Tel  02 21 - 27 90 50
Fax  02 21 - 27 90 517
Mail isinfo@intersales.de
Mail mw@intersales.de
Web  www.intersales.de

Handelsregister Köln HR B 30904
Ust.-Id.: DE199672015
Finanzamt Köln-Nord. UstID: nicht vergeben
Aufsichtsratsvorsitzender: Michael Hippler
Vorstand: Andrej Radonic, Peter Zander


Re: bundles not starting

Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi Marco,

Are your features set as boot features ?

Regards
JB

On 08/10/2013 04:00 PM, Marco Westermann wrote:
> Hi,
>
> I have the problem that my bundles are not starting. I use karaf 2.2.11
> (smx 4.5.2)
>
> When I start karaf three of my bundles remain in the status: starting
> and all later bundles are never started.
> I do the following to reproduce the problem:
>
> 1. delete the data directory
> 2. start servicemix
> 3. add my features url
> 4. install my feature --> the most time everything works now.. every
> bundle is started
> 5. stop servicemix
> 6. start servicemix
>
>
> This is my log when restarting servicemix (6) http://pastebin.com/kua3r6uq
>
> and this is the list result in servicemix:
>
> http://pastebin.com/qThERMAA
>
> Anybody have an idea whats going wrong / where the problem is?
>
>
> thank you and regards,
>
> Marco
>
> PS. This is the output from info command:
>
> Karaf
>    Karaf version               2.2.11
>    Karaf home                  C:\QBus\smx452
>    Karaf base                  C:\QBus\smx452
>    OSGi Framework              org.apache.felix.framework - 3.2.2
>
> JVM
>    Java Virtual Machine        Java HotSpot(TM) 64-Bit Server VM version
> 23.25-b01
>    Version                     1.7.0_25
>    Vendor                      Oracle Corporation
>    Uptime                      16 minutes
>    Total compile time          34.228 seconds
> Threads
>    Live threads                58
>    Daemon threads              45
>    Peak                        60
>    Total started               211
> Memory
>    Current heap size           48,029 kbytes
>    Maximum heap size           1,013,632 kbytes
>    Committed heap size         126,912 kbytes
>    Pending objects             0
>    Garbage collector           Name = 'Copy', Collections = 269, Time =
> 2.562 seconds
>    Garbage collector           Name = 'MarkSweepCompact', Collections =
> 3, Time = 0.895 seconds
> Classes
>    Current classes loaded      7,099
>    Total classes loaded        7,100
>    Total classes unloaded      1
> Operating system
>    Name                        Windows Server 2008 R2 version 6.1
>    Architecture                amd64
>    Processors                  1
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com