[WFLY-1523] Validate only one cache is defined.