LPS-40695 Calling wrong StringUtil method
LPS-41935 Recheckin
LPS-41935 Readd, can not do synchronous redeploy on undeploy. For certain appservers (like geronimo), redeploy will automatically trigger a undeploy first, synchronously redeploy for this kind of undeploy will cause a looping race with the actually deploy.