I want to deploy SharePoint solution using stsadm in SharePoint 2010. I used following command: stsadm -o deploysolution -name solutionname.wsp -immediate -url siteurl -force -allowgacdeployment.
using this command solution not deploying. it stuck at "Deploying" Status. When I deploy solution manually from central admin it works fine and deployed successfully.