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é
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com