title: Spring Boot and Jboss wildfly setting the context root
body: <p>I am trying to set the context root of my spring boot application.  I'm deploying my application as a war file to Jboss.
  i've tried to set the contextPath of what I'd like my root URL to be when deploying it to JBoss/Wildfly but it seems to get ignored.  Unless I add a jboss-web.xml file setting a contex-root variable, my deployment url is always based on the war file name:</p>
  <p>e.g. :  myapp.war always deploys as :  localhost:8080/myapp unless I use jboss-web.  I've tried setting the contextPath in the server.properties file and it doesn't seem to work.</p>
  <p>My question is should I be able to?   I'm using the latest Spring Boot.</p>