>>>>> Alexander Rotnov <[email protected]>: > On Tuesday, March 20, 2018 at 1:17:29 AM UTC+3, Steinar Bang wrote: >> >> >> 3. The filter fails when the application is loaded into karaf 4.1.5
> What kind of fails? Well, now the pax exam tests works from inside eclipse as well as when building with maven. I don't know why it failed before and suddenly started working. Maybe something was finally updated all the way into eclipse, after I had built the project with maven from the command line. Now it's only inside karaf it fails but when I look at the stack trace the failure is in a different place. > In Karaf (in Felix) DS component became active and @Activate method > invoked, when all dependecies are resolved. I think pax exam also > waits until all dependencies are resolve. Actually, I'm unfamiliar > with pax exam :) Well, Pax Exam is like karaf in this case, because I use the pax exam karaf configuration, except for one thing: the @Inject of the services in the pax exam test ensures that DS components are created. > 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? -- -- ------------------ 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.
