Description
Running the cxf-jaxrs example, the service is not 'registered' properly.
- Visiting http://localhost:8181/cxf displays No services have been found.
- A request to http://localhost:8181/cxf/crm/customerservice/customers/123 returns No services have been found.
- The servicemix log states:
2013-06-11 14:04:01,417 | INFO | ExtenderThread-2 | ServerImpl | ? ? | 116 - org.apache.cxf.cxf-api - 2.7.4 | Setting the server's publish address to be /crm
...
2013-06-11 14:04:22,619 | WARN | qtp153718882-85 | ServletController | ? ? | 116 - org.apache.cxf.cxf-api - 2.7.4 | Can't find the the request for http://localhost:8181/cxf/crm/customerservice/customers/123's Observer
The problem can be avoided by providing a absolute url in the jaxrs server configuration
(address="http://localhost:8910/test" instead of address="/crm")