0 Replies Latest reply on Sep 19, 2014 1:59 AM by mcasperson

    How do I get the Tomcat 7 Embedded container to use another port?

    mcasperson

      I have Arquillian setup in Gradle to spin up a REST server and run some tests against a REST client. Everything works fine, except for the fact that the server hosting the CI already uses port 8080.

       

      I have added the following settings to my build.gradle file

       

      arquillian {

        containers {

          tomcat {

            version = '7'

            config = ['bindHttpPort': 18080]

            type = 'embedded'

          }

        }

      }

       

      But it has no effect. How can I change the port used by the embedded tomcat 7 container?