I want to setup a single JBoss instance which serves a webapp in a given port and a backend webapp in another port.
I know how to config two ports for a single instance but I don't find any clue about how to match a port to an app in JBoss.
If it is not possible, I am going to do it with two instances but I would like to know this.