>>>>> Steinar Bang <[email protected]>: > [snip!] >> objectClass = [javax.servlet.ServletContext] >> osgi.web.contextname = authservice >> osgi.web.contextpath = /authservice >> osgi.web.symbolicname = no.priv.bang.authservice.web.security
>> Hm... so why don't I get service injections when trying to filter on the >> properties > Because I tried the following: > osgi.web.symbolicname=authservice > osgi.web.contextpath=/authservice > It's pretty obvious why osgi.web.symbolicname didn't work. :-) > But osgi.web.contextpath should have worked. Why didn't it work? Did I > fool myself while testing? I think I will try that one again. Didn't help. @Reference(target = "(osgi.web.webcontext=/authservice)") doesn't match. A breakpoint in the setter is never triggered and the bundle is never activated (since the reference isn't satisfied). -- -- ------------------ 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/ops4j/86k13au725.fsf%40dod.no.
