Re: Websockets in felix.http?

2015-10-21 Thread Paul Bakker
Based on Jetty there is support for Web Sockets. There is not a whiteboard registration mechanism yet, but it's reasonably easy to get working. Some examples can be found here: https://github.com/paulbakker/osgi-websockets-examples Also, for a bit more advanced usage Atmosphere works well in a few

Websockets in felix.http?

2015-10-21 Thread Thomas Driessen
Hi, I wanted to ask if Websockets are supported by felix.http like servlets are, which means I only have to annotate my class with @ServerEndpoint("/path") and it will get registered automatically. Kind regards, Thomas

Re: ClassCasstException on XMLOutputFactory.newInstance()

2015-10-21 Thread Hubert Felber
Balázs Thank you, I should definitely try this. In the meantime I was able to solve the classcast. My fault was that I put "com.sun.xml.internal.stream" to boot delegation instead of "java.xml.stream" I will try the bundles, because of the 'javax.xml.stream' exposed via two dependency chain

Re: ClassCasstException on XMLOutputFactory.newInstance()

2015-10-21 Thread Balázs Zsoldos
Hi, There is a xmlcommons-full bundle that contains all of the xml-apis API with their implementations. The API classes are modified a bit to use the

ClassCasstException on XMLOutputFactory.newInstance()

2015-10-21 Thread Hubert Felber
Hi, XMLOutputFactory.newInstance() Generates following ClassCastException com.sun.xml.internal.stream.XMLOutputFactoryImpl cannot be cast to javax.xml.stream.XMLOutputFactory I tried to modify the FRAMEWORK_BOOTDELEGATION and FRAMEWORK_SYSTEMPACKAGES_EXTRA to solve this, but could not find a