Apparently this is caused by using localWar instead of war in the build target. By replacing localWar with war it correctly deploys to the remote server. It appears that localWar would be used if ant is being run from the same machine as the tomcat server.
spowers
2010-05-19 18:08:06