Hi Pete,
On 07/02/07, Pete <[EMAIL PROTECTED]> wrote:
1) I'm trying to use the tomcat-maven-plugin all is fine using
mvn tomcat:deploy
however if I try the new
mvn tomcat:run
which I understand is supposed to be like the jetty:run, I get an
error, see end of email.
Looks like your webapp is using a different version of servlet-api,
hence a class cast exception when tomcat tries to cast your filter.
Ensure you're using servlet-api 2.4 which tomcat 5.5 uses.
2) I assume this puts a tomcat instance in target/tomcat
however I notice the tomcat manager isn't enable in the
target\tomcat\conf\tomcat-users.xml
Nope, tomcat manager isn't deployed using tomcat:run. Feel free to
raise an issue if you need this functionality. I didn't think this
was too useful since the container is rather transient.
3) Is there any documentation on this tomcat:run goal ? none at
http://mojo.codehaus.org/tomcat-maven-plugin/
See:
http://mojo.codehaus.org/tomcat-maven-plugin/deployment.html#Running%20a%20WAR%20project
http://mojo.codehaus.org/tomcat-maven-plugin/run-mojo.html
Cheers,
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]