Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-2194

Tomcat 9 embedded adapter starts with no connectors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Final
    • 1.0.1.Final
    • Tomcat Containers
    • None

      I was trying to run Weld servlet tests on Tomcat 9 embedded utilizing arquillian-container-tomcat.

      Turns out this doesn't work because starting with Tomcat 9 there are no default connectors registered (e.g. Tomcat starts up and listens on no port) hence subsequent test execution fails.

      As a fix a one-liner can be added to version 8 codebase - it causes no harm for Tomcat 8 and fixes Tomcat 9. I'll send a PR momentarily.

      Just FYI, link to Tomcat BZ which issued this change.

              manovotn Matěj Novotný
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: