If you are trying to deploy an application that contains multiple persistence units and multiple persistence units are using property "hibernate.session_factory_name". If you are deploying on a machine with only one CPU core (processor), deployment might not complete. In which case you can try one of the workarounds mentioned in the bug report here.