Thanks, I will check this up tomorrow morning (I think it’s always the same 
issue https://issues.apache.org/jira/browse/KARAF-6577 
<https://issues.apache.org/jira/browse/KARAF-6577>).

Regards
JB

> Le 16 nov. 2020 à 16:29, Muellner-Rieder Markus 
> <markus.muellner-rie...@ait.ac.at> a écrit :
> 
> Yes, it's working fine with a "dynamic" distribution.
> 
>> By the way, I guess it works with a "dynamic" distribution ?
>> 
>>> Le 16 nov. 2020 à 15:52, Muellner-Rieder Markus <Markus.Muellner-
>> rie...@ait.ac.at> a écrit :
>>> 
>>> 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
> 

Reply via email to