eclipse - Deploy Java EE application as root context on WildFly -


i'm using eclipse mars ide + jboss (wildfly 9.0.1). launch server , ok. know how set applicatioin root context?. run application have do: http://localhost:8080/demoapp, wanna do: http://localhost:8080/

below have fragment of code of file: standalone.xml. modified can see below get: 403 - forbidden when going to: http://localhost:8080/. remember wildfly server launched eclipse debugger because i'm on development mode.

... <subsystem xmlns="urn:jboss:domain:undertow:2.0">     <buffer-cache name="default" />     <server name="default-server">         <http-listener name="default" socket-binding="http"             redirect-socket="https" />         <host name="default-host" alias="localhost">             <location name="/" handler="demoapp" />             <filter-ref name="server-header" />             <filter-ref name="x-powered-by-header" />         </host>     </server>     <servlet-container name="default">         <jsp-config />         <websockets />     </servlet-container>     <handlers>         <file name="welcome-content" path="${jboss.home.dir}/welcome-content" />         <file name="demoapp" path="${jboss.home.dir}/standalone/deployments/demoapp.war" />     </handlers>     ... 

just deploy root.war , disable default root web app in standalone.xml, logger tells name of config attribute change


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -