You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Guofeng Zhang <gu...@avaya.com> on 2012/12/06 04:44:25 UTC
RE: | Bundle org.planner.wab-sample is not compatible with this
blueprint extender
I move the JAAS blueprint file to a normal bundle module (not a web bundle). It works,
So I guess it might be caused by Jetty OSGi Boot, which deploy the web bundle.
-----Original Message-----
From: Guofeng Zhang
Sent: Tuesday, December 04, 2012 5:22 PM
To: user@karaf.apache.org
Subject: RE: | Bundle org.planner.wab-sample is not compatible with this blueprint extender
Please note that I can login to Karaf web console successfully.
-----Original Message-----
From: Jean-Baptiste Onofré [mailto:jb@nanthrax.net]
Sent: Tuesday, December 04, 2012 4:03 PM
To: user@karaf.apache.org
Subject: Re: | Bundle org.planner.wab-sample is not compatible with this blueprint extender
Thanks for the update,
I gonna try to reproduce it with my local build.
Regards
JB
On 12/04/2012 03:44 AM, Guofeng Zhang wrote:
> Hi,
>
> These days I met this issue and do not know how to fix it . it does
> not occur with the previous snapshot.
>
> 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"
> <http://www.osgi.org/xmlns/blueprint/v1.0.0%22>
> xmlns:jaas="http://karaf.apache.org/xmlns/jaas/v1.0.0"
> <http://karaf.apache.org/xmlns/jaas/v1.0.0%22>
>
> xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
> <http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0%22>
>
>
> xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.
> 0">
> <http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.0.0%22%3E>
>
> <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.
>
> (NOTE: I posted this to the web forum but not get any reply, I thought
> this might be the web forum is not active, so post it to the list again).
>
>
>
> Guofeng
>
--
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com