Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ajp port override not working #174

Open
honnuanand opened this issue Nov 19, 2018 · 0 comments
Open

ajp port override not working #174

honnuanand opened this issue Nov 19, 2018 · 0 comments

Comments

@honnuanand
Copy link

honnuanand commented Nov 19, 2018

I am setting the ajp port as below .. but still get the error :

> Task :uaa-server:cargoRunLocal FAILED
org.codehaus.cargo.container.ContainerException: Port number 8009 (defined with the property cargo.tomcat.ajp.port) is in use. Please free it on the system or set it to a different port in the container configuration.

build file :

cargo {
    containerId = 'tomcat8x'
    port = 8090

    deployable {
        file = file("$buildDir/cloudfoundry-identity-uaa-${uaaVersion}.war")
        context = 'uaa'
    }

    local {
        containerProperties {
            property 'cargo.tomcat.ajp.port', 9099
        }

        outputFile = file("$buildDir/uaa-server.log")
        installer {
            installUrl = 'https://www-us.apache.org/dist/tomcat/tomcat-8/v8.5.34/bin/apache-tomcat-8.5.34.zip'
            downloadDir = file("$buildDir/download")
            extractDir = file("$buildDir/extract")
        }
        systemProperties {
            property "UAA_CONFIG_PATH", "$projectDir"
        }
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant