I could copy my bundle into the apache-karaf project, but that solution is messy and I'd like to do this better. Loading a WebSocketServlet through jetty.xml has exactly the same problem (as expected).
Since the bundle my handler is in is also an osgi bundle, I tried loading it using the bundles service.xml hoping (faintly) karaf would be smart enough to load a web socket servlet into the web socket handler automatically, but either I did that wrong or its not going to do that for me.
Any suggestions? Is there a "path" sort of thing I can add my package to so karaf can find it when loading jetty.xml?