I'm trying to get SessionListener work with my JAX-RS JSON channel. A bit probing in the dark, I was trying to instantiate Pax-Whiteboard environment which ought to be able to process the listener, so I've added the bundles to my OSGi environment. Now I have the following error:
[Blueprint Extender: 3] ERROR org.ops4j.pax.web.extender.whiteboard.internal.WebApplication - Registration skipped for [ListenerWebElement{mapping=DefaultListenerMapping{httpContextId=null,listener=org.example.MySessionListener@5c235feb}}] due to error during registration java.lang.UnsupportedOperationException: Internal error: In use HttpService is not an WebContainer (from Pax Web)
What does this error mean? Does it mean, that Pax-processed SessionListener can't be used because Pax creates own HttpService, and I already have those that supports JAX-WS?
And more specifically, is there a way I can deal with it?