Hi

Thanks for this query. And sorry I don't know what to recommend.
I've definitely seen this issue before, with simple bundles, without any inter-dependencies, and the only thing I recall it was always something to do with SpringDM not helping for whatever reasons.

One thing I recall that if the bundle is started as a web-bundle, then CXFServlet will need to have a SpringDM activated with a servlet context parameter.

If it's started with a default CXF transport (deployed as a regular bundle) then I guess it can be the ordering issue, etc...I don't have any specific recipe for fixing it though...

May be you can start from a single simple bundle first and see if jaxrs:server is loaded and then move step by step to match your current bundle structure which might help narrow down the problem

Cheers, Sergey

On 31/08/17 14:51, Raffaele Gambelli wrote:
Hi all,

I've asked same question in OSGI mailing-list, but I was bounced here, so I 
hope you may help me.

I'm running on OSGI Equinox environment and when I start Equinox I receive the 
following exception:

Offending resource: class path resource [application-context.xml]; nested 
exception is 
org.springframework.beans.factory.parsing.BeanDefinitionParsingException: 
Configuration problem: Unable to locate Spring NamespaceHandler for XML schema 
namespace [http://cxf.apache.org/jaxrs]

My env is composede by:

One web-application, say A, having only one embedded dependency which is 
located in WEB-INF/lib, say B
B is a jar containing a spring configuration file with some bean definitions
All the dependencies of A and B exist as OSGI bundles, cxf-rt-frontend-jaxrs 
exists and it is in resolved status
So, why am I receiving that exception in your opinion?

Thanks, best regards


Raffaele Gambelli


Reply via email to