fix for GRAILS-10956 “Forked functional testing with war throwing exceptions”