Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-600

Deploying a servlet to EAP fails if websockets isn't activated

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.1.3
    • Labels:
      None

      Description

      Even if the app doesn't use websockets: https://gist.github.com/Scriptor/ebe6199c5730dfdaaaf9

      The issue is we assume the ServerContainer is attached to the context (https://github.com/immutant/immutant/blob/master/web/src/immutant/web/internal/servlet.clj#L128), and it won't be if websockets haven't been activated.

      We should just punt on setting up an endpoint if we can't find a ServerContainer (and possibly log?).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tcrawley Toby Crawley
                Reporter:
                tcrawley Toby Crawley
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: