* @param warLocation the war location
* @return a container ready to start
*/
protected InstalledLocalContainer getContainer(final String warLocation) {
Deployable war = new WAR(warLocation);
LocalConfiguration configuration = new Tomcat6xStandaloneLocalConfiguration(
"target/tomcat6x");
configuration.addDeployable(war);
InstalledLocalContainer webapp = new Tomcat6xInstalledLocalContainer(
configuration);
webapp.setHome(System.getenv("CATALINA_HOME"));
webapp.setOutput("target/cargo.log");
return webapp;