You can deploy your web application to "root" context. That way it's available at ip:port/
To do that you will have to include a jboss-web.xml and specify the context as "/", if you are deploying the application as a .war file. However, if you are deploying it as a .ear, you can just use the (portable) application.xml and for the "web-app" module specify the context there as "/". I don't have ready examples, right now, to show how it's done, but it should be relatively easy to find such examples online.
You can create an exploded ROOT artifact containing an index.html file, which contains meta tag redirecting to whatever URL you like.
Steps to follow (assuming you're deploying to standalone):
- Create a folder named ROOT.war in standalone/deployments.
- Create empty index.html and ROOT.war.dodeploy files in that folder.
- Create a basic HTML structure in index.html like this:
<meta http-equiv="refresh" content="0;url=http://localhost:8080/myApp" />
Whenever you visit http://localhost:8080, index.html will refresh the page and redirect to the URL you pointed. If you'd like to add some delay, for example 3 seconds, change value 0 to 3.