Jira 2302

fix ticket 2302
https://issues.jboss.org/browse/RAILO-2302