Hi,

just one hint, don't know if you are affected, but we needed to switch the
user and roles classes to a different bundle with 3.0.
This might be affecting you.

regards, Achim



2012/12/4 Guofeng Zhang <[email protected]>

>  ** **
>
> 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";
>            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.****
>
> ** **
>
> (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****
>
>  ****
>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
OPS4J Pax for Vaadin <http://team.ops4j.org/wiki/display/PAXVAADIN/Home>
Commiter & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to