Hello everyone,
I'm struggling with getting CXF to run within a static Karaf framework. For a
simple test I modified the Docker example.
(https://github.com/apache/karaf/tree/master/examples/karaf-docker-example/karaf-docker-example-static-dist)
I simply removed karaf-docker-example-app from startupFeatures and added the
following to the karaf-maven-plugin configuration:
<bootRepositories>
<bootRepository>mvn:org.apache.cxf.karaf/apache-cxf/3.4.0/xml/features</bootRepository>
</bootRepositories>
<bootFeatures>
<feature>cxf-jaxrs</feature>
</bootFeatures>
It builds fine, but when starting the framework nothing happens. No errors in
the console and none in the log file. Opening http://localhost:8181/cxf results
in a timeout.
If I do exactly the same with the dynamic distribution example everything works
fine. When opening the website it shows "No services have been found.". (which
means it's working correctly)
I have uploaded my changes in a minimal example to Github:
https://github.com/m-rm/karaf-static-cxf-issue
Any help is appreciated!
Best regards,
Markus