I'm currently trying to get a Spring Boot application up and running with some small configuration changes, but I can't seem to get the port to listen correctly. It seems that the server.xml that the tomcat instance loads overwrites anything my application.properties file specifies.
application.properties:
logging.level.app = TRACE
logging.file = /tmp/my-server.log
server.port = 8081
When I deploy this to my /usr/local/tomcat/webapps, I can access the server, but only on port 8080. It seems to ignore the server.port property. I believe that the server is picking up the properties file correctly since the logging correctly goes to /tmp/my-server.log
The end goal is to have the server listen on the port of my choice when running in Amazon Elastic Beanstalk. I can update the ports on the load balancer, but if the server will only listen on it's pre-configured port, that won't matter.
Thanks ahead of time for any help!
OSX Yosemite, Tomcat 8.0.24, Spring Boot v1.2.4