Hi

I think Dan did some work in CXF 2.7.7 to handle some concurrency issues when two or more Blueprint endpoints are published.
Can you please experiment with CXF 2.7.7 (already released) ?

Cheers, Sergey

On 17/10/13 15:37, Adrián Roselló Rey wrote:
Hi all!

I have an OSGI application, which publish some services through a
RESTful WS using CXF DOSGI, and using Jetty as the Web server. The
current versions we are using are:

CXF: 2.7.4
DOSGI: 1.5.0
Jetty: 7.5.4

To explain our problem I will take two services as example. Service "A"
is successfully published and its interface is exported by DOSGI without
problem. We can remotely access to it by the
URLhttp://myserver/myapp/serviceA/ and we do publish it via BluePrint.

https://github.com/dana-i2cat/opennaas/blob/master/core/resources/src/main/resources/OSGI-INF/blueprint/core.xml#L16

Service "B" is successfully published as an OSGI service, but we can not
access to the URL http://myserver/myapp/serviceB. We publish it manually
from code.

https://github.com/dana-i2cat/opennaas/blob/master/core/security/src/main/java/org/opennaas/core/security/acl/ACLManager.java#L174

The strange thing is that, after rebooting our platform, sometimes both
services are published, but sometimes only one of them.

Does anyone have any idea on what could be happening? We changed CXF
version to 2.7.6, but we noticed the same behaviour. I attached logs of
both services booting process, but they look very similar.

Thanks a lot!

Best regards,

Adrián Roselló


Reply via email to