You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2020/10/08 14:30:00 UTC

[jira] [Deleted] (KARAF-5920) Features hanging at Karaf startup

     [ https://issues.apache.org/jira/browse/KARAF-5920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré deleted KARAF-5920:
----------------------------------------


> Features hanging at Karaf startup
> ---------------------------------
>
>                 Key: KARAF-5920
>                 URL: https://issues.apache.org/jira/browse/KARAF-5920
>             Project: Karaf
>          Issue Type: Improvement
>         Environment: Windows 10x64, JVM 1.80_181
>  
>            Reporter: Anton Petrov
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: features, karaf
>
> Some strange problem. Take & run clear Karaf 4.1.6 distributive from official site, without any additions. Make simple blueprint bundle from karaf "_karaf-blueprint-archetype_".
>  
> {code:java}
> <?xml version="1.0" encoding="UTF-8"?>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 ">
> <bean id="serviceBean" class="com.itprofix.simple.MyServiceImpl"/>
> <service ref="serviceBean" interface="com.itprofix.simple.MyService"/>
> </blueprint>
> {code}
> make jar & than make simple test-feature.xml
>  
> {code:java}
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?> 
> <features name="test-features-pack" xmlns="http://karaf.apache.org/xmlns/features/v1.3.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.3.0 http://karaf.apache.org/xmlns/features/v1.3.0"> 
> <feature name="feature-a" version="1.0" description="test A" install="auto"> 
> <bundle start="true" start-level="82">file:base/simple-bundle-1.0-SNAPSHOT.jar</bundle> 
> </feature> 
> </features>{code}
>  deploy test-feature.xml. All perfectly. Restart Karaf and it hangs up loading. What could be the problem?
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)