WFLY-2482 Enable/disable statistics for JCA deployments
fixing test regression for WFLY-2482
fixing test regression for WFLY-2482