I have the following plugin that starts and stops for my integration tests, but I want to manually start Tomcat, then deploy my war
* <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>0.3.1</version> <configuration> <wait>${cargo.wait}</wait> <container> <containerId>${cargo.container }</containerId> <!--home>${cargo.container.home}</home--> <zipUrlInstaller> <url>${cargo.container.url}</url> <installDir>${installDir}</installDir> </zipUrlInstaller> </container> <configuration> <home>${project.build.directory}/${ cargo.container}/container</home> <properties> <cargo.hostname>${cargo.host }</cargo.hostname> <cargo.servlet.port>${cargo.port }</cargo.servlet.port> </properties> </configuration> </configuration> <executions> <execution> <id>start-container</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> </execution> <execution> <id>stop-container</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin> * Do I just run: 1. mvn cargo:start 2. mvn cargo:deploy ?? When I do this, I get the following: *[INFO] [talledLocalContainer] [myproject] TRACE [main] CachedIntrospectionResults.<init>(267) | Found bean property 'filterInvocationDefinitionSo urce' of type [ org.acegisecurity.intercept.web.FilterInvocationDefinitionSource] [INFO] [talledLocalContainer] [myproject] TRACE [main] TypeConverterDelegate.doConvertValue(315) | Converting String to [interface org.acegisecur ity.intercept.web.FilterInvocationDefinitionSource] using property editor [ org.acegisecurity.intercept.web.FilterInvocationDefinitionSourceEditor @9fe84e] [INFO] [talledLocalContainer] [myproject] DEBUG [main] DefaultListableBeanFactory.invokeInitMethods(1331) | Invoking afterPropertiesSet() on bean with name 'filterChainProxy' [INFO] [talledLocalContainer] [myproject] DEBUG [main] DefaultListableBeanFactory.doGetBean(213) | Returning cached instance of singleton bean 'o rg.springframework.transaction.config.internalTransactionAdvisor' [INFO] [talledLocalContainer] [myproject] DEBUG [main] DefaultListableBeanFactory.run(406) | Finished creating instance of bean 'filterChainProxy ' [INFO] [talledLocalContainer] [myproject] DEBUG [main] DefaultListableBeanFactory.doGetBean(213) | Returning cached instance of singleton bean 'f ilterChainProxy' [INFO] [talledLocalContainer] [myproject] INFO [main] UrlRewriteFilter.info(227) | loaded (conf ok) [INFO] [talledLocalContainer] 28-Jan-2008 08:39:15 org.apache.catalina.startup.HostConfig deployWAR [INFO] [talledLocalContainer] INFO: Deploying web application archive cargocpc.war [INFO] [talledLocalContainer] 28-Jan-2008 08:39:15 org.apache.coyote.http11.Http11BaseProtocol start [INFO] [talledLocalContainer] INFO: Starting Coyote HTTP/1.1 on http-8080 [INFO] [talledLocalContainer] 28-Jan-2008 08:39:15 org.apache.catalina.startup.Catalina start [INFO] [talledLocalContainer] INFO: Server startup in 11640 ms [INFO] [talledLocalContainer] Tomcat 5.5.26 started on port [8080] [INFO] ------------------------------------------------------------------------ * But I get a 404 error for *http://localhost:8080/index.html* -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.linkedin.com/in/mickknutson http://www.djmick.com http://www.myspace.com/mickknutson http://www.myspace.com/BLiNCMagazine http://tahoe.baselogic.com ---