Fixed
Details
Assignee
Guus der KinderenGuus der KinderenReporter
Guus der KinderenGuus der KinderenFix versions
Priority
Major
Details
Details
Assignee
Guus der Kinderen
Guus der KinderenReporter
Guus der Kinderen
Guus der KinderenFix versions
Priority
Created May 8, 2017 at 6:22 PM
Updated June 9, 2017 at 2:49 PM
Resolved June 1, 2017 at 11:01 AM
BOSH (HTTP-binding) is exposed to the outside world by an embedded Jetty server. It sometimes is desirable to expose more functionality on the same server (making use of the same TCP port). An example of this is the websockets plugin. Also, webclient implementations would benefit from being hosted on the exact same context.
Currently, Openfire somewhat allows for this, by exposing a shared parent context. This solution proves to be unreliable with regard to the dynamic loading and unloading of plugins. Also, the order in which components are loaded (HttpBindManager before or after plugins) is a source of problems.
The existing solution should be made more reliable.
As far as I can tell, a parent/child hierarchy of contexts is not needed - no data or configuration is shared. The parent context can likely be replaced by having a collection of Jetty handlers.