I have a Maven project that starts a tomcat container for pre-integration-tests (jUnit Tests). Most of my tests require that the web-application under tests is restarted. So
bootstrap.jar and commons-logging-api-1.1.1 from tomcat\bin to your classpath and the following snippet may help,
Bootstrap bootstrap=new Bootstrap(); bootstrap.setCatalinaHome("D:/apache-tomcat-5.5.28"); bootstrap.start(); Thread.sleep(60000); bootstrap.stop();