Re: Injecting BundleContext Issue

2018-02-20 Thread Tyler Dinh
Looks like I have to also use the @Immediate annotation for BundleContext to be injected. -- -- -- OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received this message because you are subscribed to the Google Groups "OPS4J" group. To unsubscribe from this

Re: pax web and react.js?

2018-02-20 Thread nino martinez wael
You can bring a lot of power into the thing you are doing if you leverage osgi services etc. On Tue, 20 Feb 2018, 20:19 Steinar Bang, wrote: > > nino martinez wael : > > > I havent tried it with react, but done it with different things.. > > I used

Re: pax web and react.js?

2018-02-20 Thread Steinar Bang
> nino martinez wael : > I havent tried it with react, but done it with different things.. > I used the osgi HTTP Service to deliver my static content.. Why not use CXF > REST endpoints for the dynamic parts? OR does the frontend need to be > "totally"

Injecting BundleContext Issue

2018-02-20 Thread Tyler Dinh
Hello, I am having trouble injecting BundleContext into my service class object. It appears that the BundleClassLoader for my class got swapped out at some point by the BundleContextImpl back to the ContextFinder. So when it is time for the component to be created and fields to be injected,

Re: gave up waiting for service org.ops4j.pax.exam.ProbeInvokerFactory

2018-02-20 Thread nino martinez wael
I double checked and there are no problems on 5.x .. (The issue where that the remote karaf had not registered the ops4j snapshot repo.. After fixing this it works fine) Thanks On Tue, Feb 20, 2018 at 1:16 PM, nino martinez wael < nino.martinez.w...@gmail.com> wrote: > Seems I am hit by this

Re: pax web and react.js?

2018-02-20 Thread nino martinez wael
I havent tried it with react, but done it with different things.. I used the osgi HTTP Service to deliver my static content.. Why not use CXF REST endpoints for the dynamic parts? OR does the frontend need to be "totally" dynamic? regards Nino Den søndag den 18. februar 2018 kl. 22.19.06

Re: gave up waiting for service org.ops4j.pax.exam.ProbeInvokerFactory

2018-02-20 Thread nino martinez wael
Seems I am hit by this too, at 4.0.11 and are getting a variant on 5.0.0.M2-SNAPSHOT .. Mine seems to be consistent though.. Test: https://paste.ofcode.org/msDSMdd8g2nx3ZnfbvWFUG Log: dk.netdesign.osgidialer.integrationtest.BackendIntegrationTest,basicServiceCheck SLF4J: Failed to load class

Re: PAX Exam OSGI Components

2018-02-20 Thread Jean-Baptiste Onofré
Not sure I understand what you mean. If you use Karaf pax exam container it's as when you are a vanilla Karaf. Regards JB Le 20 févr. 2018 à 12:00, à 12:00, nino martinez wael a écrit: >Hi > >Are there anyway to get declarative services components? Both the

PAX Exam OSGI Components

2018-02-20 Thread nino martinez wael
Hi Are there anyway to get declarative services components? Both the component itself but also the reference where you can start and stop it? -- Best regards / Med venlig hilsen Nino Martinez -- -- -- OPS4J - http://www.ops4j.org - ops4j@googlegroups.com --- You received