I have an application that is running in JBoss 4.2.2 on port 8080 (http://myserver:8080/my/url). When I access it on that URL it works fine. If I put following rule to iptables to translate port 80 to 8080:
it doesn't allow me to access that page on port 80 as I would expect - instead I get an error page with message "The server has not found anything matching the request URI." Interestingly enough, when I translate port e.g. 8888 to 8080, accessing http://myserver:8888/my/url works. Could somebody point me what could be the reason for it? If you need any part of my jboss configuration, just say what.