I tried to deploy a Vaadin war with websocket support into Karaf 4.1.6. Internally Vaadin uses Atmosphere for websocket communication. This library fails to create a websocket connection because the class javax.websocket.server.ServerEndpointConfig$Configurator uses java.util.ServiceLoader. However the OSGI manifest of javax.websocket-api does not declare the required capabilities for serviceloader. When adding the following lines the the OSGI header the websocket support works fine:
Require-Capability: osgi.extender;filter:="(osgi.extender=osgi.servicelo ader.processor)",osgi.serviceloader;filter:="(osgi.serviceloader=javax. websocket.server.ServerEndpointConfig$Configurator)";resolution:=option al;cardinality:=multiple Is this a known problem? Is there any workarround possible? Richard
