15.4. Replace the Default Welcome Web Application
Procedure 15.4. Replace the Default Welcome Web Application With Your Own Web Application
Disable the Welcome application.Use the Management CLI script
EAP_HOME/bin/jboss-cli.shto run the following command. You may need to change the profile to modify a different managed domain profile, or remove the
/profile=defaultportion of the command for a standalone server.
Configure your Web application to use the root context.To configure your web application to use the root context (/) as its URL address, modify its
jboss-web.xml, which is located in the
WEB-INF/directory. Replace its
<context-root>directive with one that looks like the following.
<jboss-web> <context-root>/</context-root> </jboss-web>
Deploy your application.Deploy your application to the server group or server you modified in the first step. The application is now available on