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

Anton Petrov updated KARAF-5920:
--------------------------------
    Issue Type: Improvement  (was: IT Help)

> Karaf features
> --------------
>
>                 Key: KARAF-5920
>                 URL: https://issues.apache.org/jira/browse/KARAF-5920
>             Project: Karaf
>          Issue Type: Improvement
>          Components: karaf
>    Affects Versions: 4.1.5, 4.1.6
>         Environment: Windows 10x64, JVM 1.80_181
>  
>            Reporter: Anton Petrov
>            Priority: Major
>              Labels: features, karaf
>         Attachments: karaf.log, simple-bundle-1.0-SNAPSHOT.jar, 
> test-features.xml
>
>
> 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.
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to