...
Starting Tomcat 3.x with some System properties set in the container JVM:
| Code Block |
|---|
LocalContainerInstalledLocalContainer container = new Tomcat3xLocalContainerTomcat3xInstalledLocalContainer( new TomcatStandaloneLocalConfiguration(new File("target/tomcat3x"))); container.setHome(new File("c:/apps/jakarta-tomcat-3.3.2")); Map props = new HashMap(); props.put("mypropery", "myvalue"); container.setSystemProperties(props); container.start(); |
...