Just FYI, we have two related issue here[1]&[2], the fix I made already in 
Karaf 2.2.5 and it works for normal spring-dm bundles, we may can try add 
activation="eager" as mentioned in KARAF-1276[2] to see if it helps for kar 
also.
[1]https://issues.apache.org/jira/browse/KARAF-1114
[2]https://issues.apache.org/jira/browse/KARAF-1276
-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-10-26, at 下午10:30, Filippo Balicchia wrote:

> Hi kristof,
> 
> I'm able to  reproduce it
> 
> Regards
> 
> --Filippo
> 
> 2012/10/26 Filippo Balicchia <[email protected]>:
>> HI kristof,
>> 
>> I can't reproduce it.
>> 
>> What i have done
>> 1: set featuresBoot=config,ssh,management,kar,spring-dm
>> 2: copy the applicationContext file that you send in deploy folder
>> 3: start
>> 
>> 
>> fbalicchia@FBALICCHIA-DESKTOP:/projects/karaf/karaf/tags/karaf-2.2.5/assemblies/apache-karaf/target/apache-karaf-2.2.5/bin$
>> ./karaf
>>        __ __                  ____
>>       / //_/____ __________ _/ __/
>>      / ,<  / __ `/ ___/ __ `/ /_
>>     / /| |/ /_/ / /  / /_/ / __/
>>    /_/ |_|\__,_/_/   \__,_/_/
>> 
>>  Apache Karaf (2.2.5)
>> 
>> Hit '<tab>' for a list of available commands
>> and '[cmd] --help' for help on a specific command.
>> Hit '<ctrl-d>' or 'osgi:shutdown' to shutdown Karaf.
>> 
>> karaf@root> osgi:list
>> START LEVEL 100 , List Threshold: 50
>>   ID   State         Blueprint      Spring    Level  Name
>> [  56] [Active     ] [            ] [       ] [   60]
>> applicationContext.xml (0.0.0)
>> karaf@root>
>> 
>> 
>> Is the test ok ?
>> 
>> Regards
>> 
>> --Filippo
>> 
>> 2012/10/26 Jean-Baptiste Onofré <[email protected]>:
>>> Thanks for the description.
>>> 
>>> The Spring-DM version is the same since the beginning of the Karaf 2.2.x
>>> branch (1.2.1), but we updated "minor" version of Spring.
>>> 
>>> I gonna try to reproduce with different Karaf versions.
>>> 
>>> Regards
>>> JB
>>> 
>>> 
>>> On 10/26/2012 12:01 PM, kva wrote:
>>>> 
>>>> I found an easy way to reproduce:
>>>> - extract an stock 2.2.5 karaf
>>>> - add spring-dm to bootFeatures property in org.apache.karaf.features.cfg
>>>> - copy an empty applicationContext.xml to deploy directory
>>>> 
>>>> <?xml version="1.0" encoding="UTF-8"?>
>>>> <beans xmlns="http://www.springframework.org/schema/beans";
>>>>        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>>>        xsi:schemaLocation="http://www.springframework.org/schema/beans
>>>> http://www.springframework.org/schema/beans/spring-beans-3.0.xsd";>
>>>> 
>>>> </beans>
>>>> 
>>>> - start karaf
>>>> - in the console I see applicationContext.xml listed but the Spring column
>>>> is empty
>>>> - restarting the spring-osgi-extender then really starts the application
>>>> context.
>>>> 
>>>> Can you verify this scenario?
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> --
>>>> View this message in context:
>>>> http://karaf.922171.n3.nabble.com/Spring-DM-bundles-not-fully-deployed-tp4026486p4026584.html
>>>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>>> 
>>> 
>>> --
>>> Jean-Baptiste Onofré
>>> [email protected]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com

Reply via email to