Hi there,
Is it possible to start an instance of (embedded)tomcat without connector, and to invoke pages through the context.invoke(request, response) method? I have written a small application which starts embedded tomcat with a server, engine, host and context, but without connector. And the application invokes the invoke method of the context. But I don’t get a response back. public void startTomcat() throws LifecycleException { embedded = new Embedded(); engine = embedded.createEngine(); engine.setName("Catalina"); host = embedded.createHost("localhost", getPath() + "/webapps"); engine.addChild(host); context = embedded.createContext("", "C:/stage_auke/workspace/trunk/web"); context.setPrivileged(false); host.addChild(context); String config = host.getConfigClass(); ((StandardContext)context).setDefaultWebXml(getPath()+"/conf/web.xml"); context.setAvailable(true); embedded.addEngine(engine); embedded.start(); } The other method calls context.invoke with a filled request and response. Anyone an idea? Regards, Auke No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.5/1084 - Release Date: 21-10-2007 15:09