workaround for problems with Weld-EE and WARs