Hi
On 13/01/12 15:31, ChrisBarsouk wrote:
It is working now.

1. ServiceMix jsr311-api-1.1.1 bundle
I have this bundle added but I still had to copy the
javax.ws.rs.ext.RuntimeDelegate into my bundles META_INF/services directory.
It just did not pick up the file inside the cxf-bundle-jaxrs. Maybe a race
condition...


Can you try a 1.9.0 version ? I've never had to do it myself, but a race condition was reported just a day or so ago with the earlier specs and this is apparently fixed in 1.9.0

2. OSGi
Yes, I did have to install more bundles: org.apache.neethi and
javax.ws.rs.jsr311-api.

3. Changing the alias
For those who (like me) do not understand right away how to do it:
Add a new file named org.apache.cxf.osgi.cfg to the Felix load directory
with the following content:
org.apache.cxf.servlet.context=/your_desired_alias

Now we are working on registering our Spring security filter chain with the
cxf servlet.
Our not so clean solution: We get the CXF bundle from the bundle context and
then register our SpringFilterChain.


In DOSGi RI it is possible to register Filters as OSGI services. We will get the same approach supported once frontend-specific activators are introduced

thanks, Sergey

I hope this may help others, too.

Cheers
Chris

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Exception-on-bean-configuration-tp5094705p5142845.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to