You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Madhawa Gunasekara <ma...@gmail.com> on 2026/02/13 15:57:22 UTC
Karaf 4.4.9 with CXF 4.1.4 – Blueprint NamespaceHandler issue
Hi Karaf community,
I'm trying to install CXF 4.1.4 bundles into Karaf 4.4.9 and running into a
Blueprint issue.
Environment:
-
Karaf: 4.4.9
-
CXF: 4.1.4
-
Service type: CXF REST (JAX-RS) using Blueprint
After installing the bundles, bundle:diag shows:
Bundle: mail-rest (185)
Status: GracePeriod
Missing dependencies:
(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)
(osgi.service.blueprint.namespace=http://cxf.apache.org/blueprint/core))
(&(objectClass=org.apache.aries.blueprint.NamespaceHandler)
(osgi.service.blueprint.namespace=http://cxf.apache.org/blueprint/jaxrs))
It looks like the CXF Blueprint namespace handlers are not being registered.
Questions:
1.
Is CXF 4.1.4 officially compatible with Karaf 4.4.9?
2.
Are additional features/bundles required for CXF Blueprint support?
3.
Has anyone successfully run CXF 4.x with Karaf 4.4.x using Blueprint?
Any guidance or working examples would be greatly appreciated.
Thanks in advance.
Madhawa
Re: Karaf 4.4.9 with CXF 4.1.4 – Blueprint NamespaceHandler issue
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Hi
Here's the same reply as on Slack :)
CXF 4.x doesn't support Karaf/OSGi anymore. That's why the namespace
handlers are not available.
In Camel Karaf, we embed CXF 4 to support it (see
https://github.com/apache/camel-karaf/tree/main/components/camel-cxf/camel-cxf-blueprint
).
As already discussed on the mailing list some weeks ago, the plan is:
1. To propose cxf-karaf to the CXF community to mimic what we did for
camel-karaf
2. Or to "wrap" CXF in Karaf to support.
Regards
JB
On Fri, Feb 13, 2026 at 4:58 PM Madhawa Gunasekara <ma...@gmail.com>
wrote:
> Hi Karaf community,
>
> I'm trying to install CXF 4.1.4 bundles into Karaf 4.4.9 and running into
> a Blueprint issue.
>
> Environment:
>
> -
>
> Karaf: 4.4.9
> -
>
> CXF: 4.1.4
> -
>
> Service type: CXF REST (JAX-RS) using Blueprint
>
> After installing the bundles, bundle:diag shows:
>
> Bundle: mail-rest (185)
> Status: GracePeriod
>
> Missing dependencies:
> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)
> (osgi.service.blueprint.namespace=http://cxf.apache.org/blueprint/core))
>
> (&(objectClass=org.apache.aries.blueprint.NamespaceHandler)
> (osgi.service.blueprint.namespace=http://cxf.apache.org/blueprint/jaxrs))
>
> It looks like the CXF Blueprint namespace handlers are not being
> registered.
>
> Questions:
>
> 1.
>
> Is CXF 4.1.4 officially compatible with Karaf 4.4.9?
> 2.
>
> Are additional features/bundles required for CXF Blueprint support?
> 3.
>
> Has anyone successfully run CXF 4.x with Karaf 4.4.x using Blueprint?
>
> Any guidance or working examples would be greatly appreciated.
>
> Thanks in advance.
> Madhawa
>