Hello,
Do you have any logs in your tomcat ?
Can you try with adding username and password in the mojo
configuration ? (with removing server id).

<username> and <password>

2011/9/14 Steve Cohen <sco...@javactivity.org>:
> I am trying to use the Tomcat Maven Plugin
>
> (http://mojo.codehaus.org/tomcat-maven-plugin/) which seems to be partially
> migrated to apache, though most of the information is still at this site.
>
> I am trying to do this because the following "simple" tutorial instructed me
> to do so:
>
> http://www.insaneprogramming.be/?p=140
>
> However, I find that my tomcat installation will not let me access the
> manager functions the plugin requires, even though I set up my
> tomcat-users.xml and server.xml files as the tomcat (6.0.20 by the way)
> documentation indicates is correct:
>
> tomcat-users.xml:
>
> <tomcat-users>
>  <user username="maven" password="tomcat" roles="manager-script,standard"/>
> </tomcat-users>
>
> server.xml:
>
> <Realm className="org.apache.catalina.realm.MemoryRealm">
>
> my pom:
>
> <plugin>
>        <groupId>org.codehaus.mojo</groupId>
>        <artifactId>tomcat-maven-plugin</artifactId>
>        <version>1.0-beta-1</version>
>        <configuration>
>                <port>8080</port>
>                <path>/cxf</path>
>                <warFile>${project.basedir}/target
> /${project.build.finalName}.war</warFile>
>                <server>tomcat</server>
>        </configuration>
> </plugin>
>
> my maven settings.xml
> <servers>
>        <server>
>                <id>tomcat</id>
>                <username>maven</username>
>                <password>tomcat</password>
>        </server>
> </servers>
>
> No matter what I do, none of the commands for the plugin, even the simple
> ones such as tomcat:info fail with 403 errors.
>
> What am I doing wrong?
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>



-- 
Olivier Lamy
Talend : http://talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to