Maven Tomcat plugin not deploying and connection refused
===

I'm working on <a href="http://krams915.blogspot.co.uk/2010/12/spring-security-mvc-integration.html">this</a> Spring MVC/Security tutorial. The problem is that I want to use the maven tomcat plugin to deploy and run it but for some reason its not running on my machine.


**Problem part one:**
I kick off mvn tomcat:run the console says it's started but hitting one of the suggested targets <br>e.g. `http://localhost:8080/spring-security-integration/krams/main/common` <br>only shows a white screen (so does localhost:8080).

The war is generated but nothing in the webapps directory.

**Problem part two:**
I kick off mvn tomcat:deploy and get <br>
`[ERROR] Failed to execute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:deploy (default-cli) on project spring-mvc: Cannot invoke Tomcat manager: Error writing to server`

I've got the following in my maven (maven 2) settings.xml: 

   

    <server>
        <id>tomcat</id>
        <username>admin</username>
        <password></password>
    </server>

I'm using tomcat 6 and catalina_home as a system variable. I have
`<user username="admin" password="" roles="manager"/>` in my tomcat-users.xml file.

Can you give me some ideas about what's going wrong?