I've been looking all over the web and the forums, and can't seem to find an answer to my question, so, here it goes.
Right now I need to implement a JBoss AS, with two network interfaces. The issue here is that I need to use one web application (lets call it app1) through the first interface (let's call it eth1), and another (app2) through the second interface (let's call it eth2).
I need to separate things so that app1 is only visible through eth1 and not accesible through eth2, and viceversa.
I know it can be done just by running one JBoss AS server in one interface with app1, and another JBoss AS server in the other interface with app2.
The thing is I want to have only one JBoss AS server in the machine, and want to know if it is doable.
Thanks in advance.
I'm not sure if this can be done at the AS level, but I believe that you can accomplish this using Apache httpd.
You would normally have an Apache instance handling requests for you in front of the JBoss AS instance anyway.