Added RemoteIpValve in jboss-web.xml in application. It works for AS 7.1. #1