Without any pom.xml modifications, you should be able to run "mvn package"
and copy target/yourapp-version.war to $CATALINA_HOME/webapps and run it. If
it fails to start, look at the log files in $CATALINA_HOME/logs.
Hope this helps,

Matt

On Sun, Feb 8, 2009 at 8:35 AM, Waldo Rochow <appf...@capra.net> wrote:

> Hi all,
>
> I am trying to get an appfuse project deployed into Tomcat5.5. When I
> go to the http://localhost:8080/myappname I get a generic Tomcat 404
> error, yet the Tomcat sample war
> (http://tomcat.apache.org/tomcat-5.5-doc/appdev/sample/) works fine.
> What's also odd is that the description of the 404 error is "The
> requested resource () is not available." where I would have expected
> it to be "The requested resource (/myappname/) is not available."
>
> I am really stumped. I need to run it in tomcat since that's where I
> will be deploying the production app.
>
> Can anyone suggest either a debugging step that I may have missed, or
> a solution if you've come across this before?
>
> Thanks in advance,
> Waldo
>
> General specs:
> - Built with the "Spring MVC Basic" archtype v. 2.0.2
> - Sun jdk 1.5.0_16
> - OS: Ubuntu 8.10
> - Tomcat 5.5
> - MySQL database
> - Maven 2.0.9
> - pom modified as instructed in FAQs:
> http://appfuse.org/display/APF/FAQ#FAQ-useexistingtomcat
>
> Things I've tried:
> - Build with other archtypes (Struts 2 Basic, Spring MVC Modular,
> Spring MVC Basic v.2.0.1)
> - Sun jdk version 6
> - Export war file from eclipse
> - not using the pom modifications described above
> - applying the cargo modifications to the pom as described in
> http://cargo.codehaus.org/Deploying+to+a+running+container
> - deploy the jar to my ISPs server to rule out a Tomecat install error.
> - searched the forums and Google, no dice.
> - Installed Tomcat6
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net
>
>

Reply via email to