solved https://issues.jboss.org/browse/RAILO-3020