[ https://issues.apache.org/jira/browse/SLIDER-809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075233#comment-15075233 ]
Josh Elser commented on SLIDER-809: ----------------------------------- Shoot. It looks like choosing the port for the containers is done per application and not per container. When I flexed a cluster from 1 tomcat server to 2 (on my single node yarn "cluster"), the second container came up but tried to bind the same port which failed. > Apache Tomcat App-Package > ------------------------- > > Key: SLIDER-809 > URL: https://issues.apache.org/jira/browse/SLIDER-809 > Project: Slider > Issue Type: New Feature > Components: app-package > Reporter: Josh Elser > Assignee: Josh Elser > Fix For: Slider 2.0.0 > > > I started working on an app-package for Tomcat. > https://github.com/apache/incubator-slider/tree/feature/SLIDER-809-tomcat-app-package/app-packages/tomcat > Some things that need to happen for a generally usable app-package: > * -Maven module in slider for the code- > * -Template for server.xml -- notably the port to listen on and other options- > * Reference external WAR file > * Fix exports so allocated port for tomcat is advertised (e.g. can view on > appmaster status page) -- This message was sent by Atlassian JIRA (v6.3.4#6332)