In JBoss 4, I was able to specify a element in the server's server.xml:
<Host name="loopback" ... />
and a <virtual-host> element in my application's jboss-web.xml:
<virtual-host>loopback</virtual-host>
This would limit access to the application to just the physical machine. This doesn't seem to work in JBoss AS 5 CR1. I even tried putting useIPVHosts="true" on the connector, but no luck. Any clues what I might be missing? Is this broken? Is this no longer supported?
Any ideas on this issue?