Hi all,

I'm trying to install cxf distributed osgi (the single bundle release)
into apache karaf configured with felix container.

I tried to start 'cxf-dosgi-ri-samples-greeter-rest' sample but I
experienced this error:

 Exception in thread "pool-7-thread-5"
org.osgi.framework.ServiceException: CXF DOSGi: No HTTP Service could
be found to publish CXF endpoint in.
        at 
org.apache.cxf.dosgi.dsw.handlers.HttpServiceConfigurationTypeHandler.getHttpService(HttpServiceConfigurationTypeHandler.java:248)
        at 
org.apache.cxf.dosgi.dsw.handlers.HttpServiceConfigurationTypeHandler.registerServletAndGetBus(HttpServiceConfigurationTypeHandler.java:199)
        at 
org.apache.cxf.dosgi.dsw.handlers.JaxRSHttpServiceConfigurationTypeHandler.createServer(JaxRSHttpServiceConfigurationTypeHandler.java:56)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminCore.exportService(RemoteServiceAdminCore.java:247)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:72)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance$1.run(RemoteServiceAdminInstance.java:66)
        at java.security.AccessController.doPrivileged(Native Method)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:66)
        at 
org.apache.cxf.dosgi.dsw.service.RemoteServiceAdminInstance.exportService(RemoteServiceAdminInstance.java:38)
        at 
org.apache.cxf.dosgi.topologymanager.TopologyManager$2.run(TopologyManager.java:265)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
        at java.lang.Thread.run(Thread.java:680)



could anyone help me to fix it and start correctly the sample?

thank in advance

--
Marco Speranza <[email protected]>
Google Code: http://code.google.com/u/marco.speranza79/

Reply via email to