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