Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1326

Allow BOSH context to be re-used.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.5
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              guus Guus der Kinderen
              Reporter:
              guus Guus der Kinderen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: