None of the available containers recognized the components

[] [] [] [] [] [] [] []

Symptom
Upgrade or deployment of a NetWeaver 6.40 or 7.0 system fails with the following error message:
Caught exception during application deployment from SAP J2EE Engine’s deploy service:
java.rmi.RemoteException: Error occurred while deploying ear file. .
Reason: None of the available containers recognized the components of application ; it is not possible to make deploy.
Other terms
deploy, upgrade, online, [...]