>>>>> Steinar Bang <[email protected]>:

>> Do you register WebSecurityManager and FilterChainResolver as a services?

> No I haven't.  Should I? I thought Pax Whiteboard Extender handles
> creating the appropriate services?

Hm... it did seem to work earlier, but now I did an experiment that
failed, and when I rolled things back the pax exam test failed and I
found this in pax exam's karaf.log:
 2018-03-20T18:55:44,193 | ERROR | pool-1-thread-2  | BootFeaturesInstaller     
       | 7 - org.apache.karaf.features.core - 4.1.2 | Error installing boot 
features
 org.osgi.service.resolver.ResolutionException: Unable to resolve root: missing 
requirement [root] osgi.identity; osgi.identity=ukelonn; type=karaf.feature; 
version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; 
filter:="(&(osgi.identity=ukelonn)(type=karaf.feature)(version>=1.0.0.SNAPSHOT)(version<=1.0.0.SNAPSHOT))"
 [caused by: Unable to resolve ukelonn/1.0.0.SNAPSHOT: missing requirement 
[ukelonn/1.0.0.SNAPSHOT] osgi.identity; osgi.identity=no.priv.bang.ukelonn; 
type=osgi.bundle; version="[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]"; 
resolution:=mandatory [caused by: Unable to resolve 
no.priv.bang.ukelonn/1.0.0.SNAPSHOT: missing requirement 
[no.priv.bang.ukelonn/1.0.0.SNAPSHOT] osgi.service; effective:=active; 
filter:="(objectClass=org.apache.shiro.web.filter.mgt.FilterChainResolver)"]]
        at 
org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) 
~[?:?]
        at 
org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:389) ~[?:?]
        at 
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375) ~[?:?]
        at 
org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347) ~[?:?]
        at 
org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:218)
 ~[?:?]
        at 
org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:291) 
~[?:?]
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1233)
 ~[?:?]
        at 
org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$0(FeaturesServiceImpl.java:1132)
 ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) 
[?:?]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) 
[?:?]
        at java.lang.Thread.run(Thread.java:748) [?:?]

(ie. FilterChainResolver was missing)

-- 
-- 
------------------
OPS4J - http://www.ops4j.org - [email protected]

--- 
You received this message because you are subscribed to the Google Groups 
"OPS4J" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to