Quantcast

Bundle org.planner.wab-sample is not compatible with this blueprint extender

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Bundle org.planner.wab-sample is not compatible with this blueprint extender

Guofeng Zhang
Hi,

This issue cause my login module in the web bundle is not deployed. I use the last Karaf-3.0.0-SNAPSHOT.

The following is the details:

2012-11-30 16:30:17,961 | DEBUG | Local user karaf | BlueprintExtender                | 25 - org.apache.aries.blueprint.core - 1.0.1 | Scanning bundle org.planner.wab-sample for blueprint application
2012-11-30 16:30:17,962 | DEBUG | Local user karaf | BlueprintExtender                | 25 - org.apache.aries.blueprint.core - 1.0.1 | Found blueprint application in bundle org.planner.wab-sample with paths: [bundle://117.0:0/OSGI-INF/blueprint/karaf-jaas-module.xml]
2012-11-30 16:30:17,963 | INFO  | Local user karaf | BlueprintExtender                | 25 - org.apache.aries.blueprint.core - 1.0.1 | Bundle org.planner.wab-sample is not compatible with this blueprint extender

The following are the configuration file:

<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
           xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0"
           xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
           xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0">

    <type-converters>
        <bean class="org.apache.karaf.jaas.modules.properties.PropertiesConverter"/>
    </type-converters>

   
    <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]"/>

   <jaas:config name="jetty">
        <jaas:module className="org.apache.karaf.jaas.modules.properties.PropertiesLoginModule" flags="required">
            users = $[karaf.base]/etc/users.properties
            role.policy = group
            role.discriminator = ROLES
            detailed.login.exception = true
        </jaas:module>
    </jaas:config>

   
    <service interface="org.apache.karaf.jaas.modules.BackingEngineFactory">
       <bean class="org.apache.karaf.jaas.modules.properties.PropertiesBackingEngineFactory"/>
    </service>
</blueprint>

Your helps are appreciated.
Loading...