solved ticket 2907

https://issues.jboss.org/browse/RAILO-2907