I am trying to deploy remotely a WAR file to JBoss 5.0.1 GA using Cargo maven plugin but it seems that I can\'t. I have found similar threads but none of them finally helped me
Finally I found the solution :)
I used wrong rmi port. The default one is 1099. So, I put in my pom file this <cargo.rmi.port>1099</cargo.rmi.port> and problem fixed!
<cargo.rmi.port>1099</cargo.rmi.port>