solved addional issue reported in comments of ticket https://issues.jboss.org/browse/RAILO-2605